Skip to content

Commit

Permalink
[REF] l10n_br_account: remove NBM
Browse files Browse the repository at this point in the history
  • Loading branch information
rvalyi committed Jan 7, 2025
1 parent af56407 commit 3c0cd91
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
2 changes: 0 additions & 2 deletions l10n_br_account/models/account_move_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
3 changes: 0 additions & 3 deletions l10n_br_account/models/account_tax.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def compute_all(
operation_line=False,
ncm=None,
nbs=None,
nbm=None,
cest=None,
cfop=None,
discount_value=None,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
6 changes: 0 additions & 6 deletions l10n_br_account/views/account_move_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@
<field name="cnae_id" optional="hide" />
<field name="ncm_id" optional="hide" />
<field name="nbs_id" optional="hide" />
<field name="nbm_id" optional="hide" />
<field name="cest_id" optional="hide" />
<field name="product_uom_id" optional="hide" />
<field name="fiscal_genre_id" optional="hide" />
Expand Down Expand Up @@ -232,7 +231,6 @@
<field name="cnae_id" optional="hide" />
<field name="ncm_id" optional="hide" />
<field name="nbs_id" optional="hide" />
<field name="nbm_id" optional="hide" />
<field name="cest_id" optional="hide" />
<field name="uom_id" optional="hide" />
<field name="fiscal_genre_id" optional="hide" />
Expand Down Expand Up @@ -385,10 +383,6 @@
name="fiscal_genre_id"
attrs="{'invisible': ['|', ('document_type_id', '=', False), ('tax_icms_or_issqn', '=', 'issqn')]}"
/>
<field
name="nbm_id"
attrs="{'invisible': ['|', ('document_type_id', '=', False), ('tax_icms_or_issqn', '=', 'issqn')]}"
/>
<field
name="cest_id"
attrs="{'invisible': ['|', ('document_type_id', '=', False), ('tax_icms_or_issqn', '=', 'issqn')]}"
Expand Down

0 comments on commit 3c0cd91

Please sign in to comment.