-
-
Notifications
You must be signed in to change notification settings - Fork 39
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][MIG] agreement_rebate: Migration to version 16.0 #22
Conversation
87c9ffd
to
7ba36c8
Compare
invoice_line._onchange_product_id() | ||
invoice_line.name = invoice_line._compute_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.
is this necessary?
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.
The thing is that when trying to create the invoice, I was getting an error regarding to invoice_line_vals["name"] does not exist
, and what i deducted is that apparently some of the computes weren't acting. By manually invoking the compute this name
value is updated and other fields also appear after the executing of the next line. This is a solution that I found, but not sure if it is the best or if there is a better aproach to this.
There's already #21 |
Ups, it wasn't the first time I look for this migration. I am revising it. |
cc @Tecnativa TT44312
@sergio-teruel @CarlosRoca13 please review!