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

[16.0][MIG] agreement_rebate: Migration to version 16.0 #22

Closed
wants to merge 11 commits into from

Conversation

stefan-tecnativa
Copy link

cc @Tecnativa TT44312

@sergio-teruel @CarlosRoca13 please review!

agreement_rebate/__manifest__.py Show resolved Hide resolved
invoice_line._onchange_product_id()
invoice_line.name = invoice_line._compute_name()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this necessary?

Copy link
Author

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.

@pedrobaeza
Copy link
Member

There's already #21

@stefan-tecnativa
Copy link
Author

There's already #21

Ups, it wasn't the first time I look for this migration. I am revising it.

@gdgellatly gdgellatly closed this Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants