Skip to content
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

Closed

Conversation

FSchiepers
Copy link

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

Cedric-Pigeon and others added 30 commits March 18, 2024 11:52
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/
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/
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/
@FSchiepers
Copy link
Author

/ocabot migration sale_discount_display_amount

@OCA-git-bot
Copy link
Contributor

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 maintainers key of its manifest.

@rousseldenis
Copy link
Sponsor Contributor

/ocabot migration sale_discount_display_amount

Copy link
Sponsor Contributor

@rousseldenis rousseldenis left a 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.

sale_discount_display_amount/__manifest__.py Outdated Show resolved Hide resolved
sale_discount_display_amount/hooks.py Outdated Show resolved Hide resolved
@rousseldenis
Copy link
Sponsor Contributor

@FSchiepers Could you improve your commit messages :

image

Something like [IMP] sale_discount_display_amount: (...)

Thanks

Copy link
Author

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

FSchiepers

This comment was marked as duplicate.

Copy link
Author

@FSchiepers FSchiepers left a 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.

@FSchiepers
Copy link
Author

I added comments, can you review please?

@FSchiepers FSchiepers closed this May 23, 2024
@FSchiepers FSchiepers deleted the 17.0-mig-sale_discount_display_amount branch May 23, 2024 11:12
@FSchiepers FSchiepers restored the 17.0-mig-sale_discount_display_amount branch May 29, 2024 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet