-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[MIG] sale_discount_display_amount: Migration to 17.0 #3026
[MIG] sale_discount_display_amount: Migration to 17.0 #3026
Conversation
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: sale-workflow-12.0/sale-workflow-12.0-sale_discount_display_amount Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_discount_display_amount/
Currently translated at 100.0% (4 of 4 strings) Translation: sale-workflow-12.0/sale-workflow-12.0-sale_discount_display_amount Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_discount_display_amount/de/
Currently translated at 100.0% (4 of 4 strings) Translation: sale-workflow-12.0/sale-workflow-12.0-sale_discount_display_amount Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_discount_display_amount/zh_CN/
…the compute method
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: sale-workflow-13.0/sale-workflow-13.0-sale_discount_display_amount Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-13-0/sale-workflow-13-0-sale_discount_display_amount/
If not, it can collide with other modules defining the same compute name, so let's follow the guidelines and name properly the method.
Currently translated at 100.0% (4 of 4 strings) Translation: sale-workflow-13.0/sale-workflow-13.0-sale_discount_display_amount Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-13-0/sale-workflow-13-0-sale_discount_display_amount/es/
[FIX] README.rst
Currently translated at 100.0% (7 of 7 strings) Translation: sale-workflow-14.0/sale-workflow-14.0-sale_discount_display_amount Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_discount_display_amount/nl/
Currently translated at 100.0% (7 of 7 strings) Translation: sale-workflow-15.0/sale-workflow-15.0-sale_discount_display_amount Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-15-0/sale-workflow-15-0-sale_discount_display_amount/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: sale-workflow-16.0/sale-workflow-16.0-sale_discount_display_amount Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_discount_display_amount/
Currently translated at 100.0% (4 of 4 strings) Translation: sale-workflow-16.0/sale-workflow-16.0-sale_discount_display_amount Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_discount_display_amount/it/
/ocabot migration sale_discount_display_amount |
Sorry @FSchiepers you are not allowed to mark the addon tobe migrated. To do so you must either have push permissions on the repository, or be a declared maintainer of all modified addons. If you wish to adopt an addon and become it's maintainer, open a pull request to add your GitHub login to the |
/ocabot migration sale_discount_display_amount |
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.
Code review.
IMHO changes in the module should be done in a separate commit in order to separate the real migration and the improvements.
@FSchiepers Could you improve your commit messages : Something like Thanks |
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.
[IMP]sale_discount_display_amount: : renamed Logger to _logger
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.
[IMP] sale_discount_display_amount: Removed all the standard parameters.
I added comments, can you review please? |
rebased to #3160 |
This version adds the possibility to choose whether the discount is calculated based on the non-taxed subtotal or the taxed total, see: #2813
Correction from #2987