Skip to content
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

[14.0][FIX] l10n_br_fiscal: FCP-ST tax domain and view adjustment #3011

Merged
merged 2 commits into from
Apr 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions l10n_br_fiscal/models/icms_regulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1968,6 +1968,9 @@ def _build_map_tax_def_domain(
domain += [
("state_from_id", "=", company.state_id.id),
("state_to_ids", "=", partner.state_id.id),
("ncm_ids", "=", ncm.id),
("nbm_ids", "=", nbm.id),
("cest_ids", "=", cest.id),
]

return domain
Expand Down
5 changes: 0 additions & 5 deletions l10n_br_fiscal/views/document_fiscal_line_mixin_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -335,11 +335,6 @@
force_save="1"
attrs="{'readonly': [('icmsfcp_tax_id', '!=', False)], 'invisible': [('icms_cst_code', '=', '500')]}"
/>
<field
name="icmsfcpst_value"
force_save="1"
attrs="{'readonly': [('icmsfcp_tax_id', '!=', False)], 'invisible': [('icms_cst_code', 'not in', ('10', '30', '70', '90', '201', '202', '203', '900'))]}"
/>
<field
name="icmsfcp_base_wh"
force_save="1"
Expand Down
Loading