From 88b5491c2f2cb409e470d5fd4212b8d78739255f Mon Sep 17 00:00:00 2001 From: oco-odoo Date: Mon, 18 Jan 2021 10:26:59 +0000 Subject: [PATCH] [FIX] account: fix typo closes odoo/odoo#64675 X-original-commit: 00d69cdaf755271d954c3102dfd49ddcdaae112b Signed-off-by: Laurent Smet Signed-off-by: oco-odoo --- addons/account/models/account_move.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/models/account_move.py b/addons/account/models/account_move.py index affe588b895..fc92db805a8 100644 --- a/addons/account/models/account_move.py +++ b/addons/account/models/account_move.py @@ -3606,7 +3606,7 @@ class AccountMoveLine(models.Model): for record in self: if not record.tax_repartition_line_id and not record.tax_ids : # Invoices imported from other softwares might only have kept the tags, not the taxes. - record.tax_tag_invert = record.tax_tag_ids and record.moved_id.is_inbound() + record.tax_tag_invert = record.tax_tag_ids and record.move_id.is_inbound() elif record.move_id.move_type == 'entry': # For misc operations, cash basis entries and write-offs from the bank reconciliation widget