-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
[15.0][MIG] account_invoice_margin_sale_delivered_sync: Migration to version 15.0 #164
[15.0][MIG] account_invoice_margin_sale_delivered_sync: Migration to version 15.0 #164
Conversation
…to non update delivered margin on posted invoices TT37653
/ocabot migration account_invoice_margin_sale_delivered_sync |
@@ -7,7 +7,7 @@ | |||
class SaleOrderLine(models.Model): | |||
_inherit = "sale.order.line" | |||
|
|||
def _prepare_invoice_line(self): | |||
def _prepare_invoice_line(self, **optional_values): | |||
vals = super()._prepare_invoice_line() |
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.
You are breaking the method.. you must pass optional_values
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.
Right!, fixed.
468515d
to
c6b356f
Compare
/ocabot merge nobump |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at 4362833. Thanks a lot for contributing to OCA. ❤️ |
Cc @Tecnativa TT38304