| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <odoo> |
| 3 | <record id="view_account_tax_form_view_l10n_tr_nilvera_extended" model="ir.ui.view"> |
| 4 | <field name="name">account.tax.form.view.inherit.l10n_tr_nilvera_extended</field> |
| 5 | <field name="model">account.tax</field> |
| 6 | <field name="inherit_id" ref="account.view_tax_form"/> |
| 7 | <field name="arch" type="xml"> |
| 8 | <xpath expr="//field[@name='tax_scope']" position="after"> |
| 9 | <field name="l10n_tr_tax_withholding_code_id" invisible="country_code != 'TR' or amount_type != 'percent' or amount >= 0"/> |
| 10 | </xpath> |
| 11 | </field> |
| 12 | </record> |
| 13 | </odoo> |