-
-
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
[18.0][MIG] sale_discount_display_amount: Migration to 18.0 #3471
base: 18.0
Are you sure you want to change the base?
[18.0][MIG] sale_discount_display_amount: Migration to 18.0 #3471
Conversation
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
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-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/ca/
Currently translated at 100.0% (4 of 4 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/de/
Prevent failure if new columns are already in DB.
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/it/
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/
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/
Currently translated at 100.0% (5 of 5 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/
Currently translated at 100.0% (11 of 11 strings) Translation: sale-workflow-17.0/sale-workflow-17.0-sale_discount_display_amount Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-17-0/sale-workflow-17-0-sale_discount_display_amount/it/
fix issues with config settings views after forward porting
Currently translated at 100.0% (17 of 17 strings) Translation: sale-workflow-17.0/sale-workflow-17.0-sale_discount_display_amount Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-17-0/sale-workflow-17-0-sale_discount_display_amount/it/
/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.
LGTM
This PR has the |
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.
would be good to have runboat to test this...
@@ -9,7 +9,6 @@ class SaleOrderLine(models.Model): | |||
|
|||
discount_total = fields.Monetary( | |||
compute="_compute_amount", | |||
string="Discount Subtotal", |
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.
This changes the field description in the UI, I would remove this modification.
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/OCA/sale-workflow/pull/3563
forwarded this PR in v17 we define more field discount_subtotal
so it suitable to change ui of label field discount_total
453619b
to
9166201
Compare
9166201
to
37c09cb
Compare
No description provided.