Skip to content

Commit

Permalink
Merge PR #402 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by NL66278
  • Loading branch information
OCA-git-bot committed Nov 16, 2023
2 parents 0010bab + c28860d commit 4b86f0f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions l10n_nl_tax_statement/models/res_config_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ class ResConfigSettings(models.TransientModel):
l10n_nl_tax_invoice_basis = fields.Boolean(
string="NL Tax Invoice Basis",
related="company_id.l10n_nl_tax_invoice_basis",
readonly=False,
)
7 changes: 7 additions & 0 deletions l10n_nl_tax_statement/views/res_config_settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@
</div>
</div>
</div>
<xpath expr="//div[@id='tax_exigibility']" position="attributes">
<attribute name="attrs">
{
'invisible': [('l10n_nl_tax_invoice_basis', '=', True)]
}
</attribute>
</xpath>
</field>
</record>

Expand Down

0 comments on commit 4b86f0f

Please sign in to comment.