Skip to content

Commit

Permalink
[MIG] account_invoice_alternate_payer: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Alpha Oumar committed Dec 12, 2024
1 parent a582495 commit 5c8d1c7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions account_invoice_alternate_payer/models/account_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,6 @@ class AccountMoveLine(models.Model):
_inherit = "account.move.line"

def write(self, values):
# CHECK ME: this change to commercial partner when find difference between main partner
# https://github.com/odoo/odoo/blob/16.0/addons/account/models/account_move.py#L3431
if "partner_id" in values and len(values.keys()) == 1:
lines_to_skip = self.filtered(
lambda x: x.move_id.alternate_payer_id
Expand Down

0 comments on commit 5c8d1c7

Please sign in to comment.