From 3c0cd9190195a8505a4d9385bcaf82daebce5d7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Valyi?= Date: Tue, 7 Jan 2025 22:43:29 +0000 Subject: [PATCH] [REF] l10n_br_account: remove NBM --- l10n_br_account/models/account_move_line.py | 2 -- l10n_br_account/models/account_tax.py | 3 --- l10n_br_account/views/account_move_view.xml | 6 ------ 3 files changed, 11 deletions(-) diff --git a/l10n_br_account/models/account_move_line.py b/l10n_br_account/models/account_move_line.py index ee6186e2c6d5..912c537eccb6 100644 --- a/l10n_br_account/models/account_move_line.py +++ b/l10n_br_account/models/account_move_line.py @@ -387,7 +387,6 @@ def _compute_totals(self): cfop=line.cfop_id or None, ncm=line.ncm_id, nbs=line.nbs_id, - nbm=line.nbm_id, cest=line.cest_id, discount_value=line.discount_value, insurance_value=line.insurance_value, @@ -464,7 +463,6 @@ def _compute_all_tax(self): cfop=line.cfop_id or None, ncm=line.ncm_id, nbs=line.nbs_id, - nbm=line.nbm_id, cest=line.cest_id, discount_value=line.discount_value, insurance_value=line.insurance_value, diff --git a/l10n_br_account/models/account_tax.py b/l10n_br_account/models/account_tax.py index cabbddc63d11..7693566014f0 100644 --- a/l10n_br_account/models/account_tax.py +++ b/l10n_br_account/models/account_tax.py @@ -32,7 +32,6 @@ def compute_all( operation_line=False, ncm=None, nbs=None, - nbm=None, cest=None, cfop=None, discount_value=None, @@ -109,7 +108,6 @@ def compute_all( uot_id=uot_id or product.uot_id, ncm=ncm or product.ncm_id, nbs=nbs or product.nbs_id, - nbm=nbm or product.nbm_id, cest=cest or product.cest_id, cfop=cfop, discount_value=discount_value, @@ -237,7 +235,6 @@ def _compute_taxes_for_single_line( cfop=line.cfop_id or None, ncm=line.ncm_id, nbs=line.nbs_id, - nbm=line.nbm_id, cest=line.cest_id, discount_value=line.discount_value, insurance_value=line.insurance_value, diff --git a/l10n_br_account/views/account_move_view.xml b/l10n_br_account/views/account_move_view.xml index 614bb0b94ef7..5cc88f14e30b 100644 --- a/l10n_br_account/views/account_move_view.xml +++ b/l10n_br_account/views/account_move_view.xml @@ -165,7 +165,6 @@ - @@ -232,7 +231,6 @@ - @@ -385,10 +383,6 @@ name="fiscal_genre_id" attrs="{'invisible': ['|', ('document_type_id', '=', False), ('tax_icms_or_issqn', '=', 'issqn')]}" /> -