-
-
Notifications
You must be signed in to change notification settings - Fork 706
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[16.0][OU-ADD] loyalty #4187
[16.0][OU-ADD] loyalty #4187
Conversation
/ocabot migration loyalty |
fcfcc65
to
e171bdd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Starting to look quite good :)
- Check CIs
- Comment code as much as you can
openupgrade_scripts/scripts/loyalty/16.0.1.0/noupdate_changes.xml
Outdated
Show resolved
Hide resolved
b7584b1
to
824798f
Compare
824798f
to
735c874
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, check api call
735c874
to
5912a50
Compare
040d8e9
to
57af6c1
Compare
loyalty module sets the following values in portal_point_name depending on the | ||
program_type field. This is done in post so that the language context can be used.""" | ||
portal_point_names = { | ||
"coupons": _("Coupon point(s)"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AFAIK, these translation are never going to apply, as they are not included in the standard PO/POT files (the reference is by file name).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/odoo/odoo/blob/16.0/addons/loyalty/i18n/es.po#L746
But they are in the standard translation files and that is how the loyalty programs are named:
https://github.com/odoo/odoo/blob/16.0/addons/loyalty/models/loyalty_program.py#L197
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Error trying the scripts:
|
0d5ab47
to
244e48c
Compare
@pedrobaeza All changes done |
1bc2c92
to
72b5c5b
Compare
TT44332
72b5c5b
to
c092b65
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's merge for now after first real tests. Later fixup/improvements in subsequent PRs.
cc @Tecnativa TT44332
@chienandalu @ernesto-garcia-tecnativa please review
ping @pedrobaeza