| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<odoo> |
| 3 |
<record id="view_tax_form_inherit_l10n_in" model="ir.ui.view"> |
| 4 |
<field name="name">account.tax.form.inherit.l10n.in</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 |
<field name="tax_scope" position="after"> |
| 9 |
<field name="l10n_in_tax_type" invisible="amount_type == 'group' or country_code != 'IN'"/> |
| 10 |
</field> |
| 11 |
<field name="is_base_affected" position="after"> |
| 12 |
<field name="l10n_in_reverse_charge" invisible="amount_type == 'group' or country_code != 'IN' or l10n_in_tax_type != 'gst'"/> |
| 13 |
<field name="l10n_in_is_lut" invisible="amount_type == 'group' or country_code != 'IN' or l10n_in_tax_type != 'gst'"/> |
| 14 |
</field> |
| 15 |
<xpath expr="//field[@name='tax_group_id']" position="after"> |
| 16 |
<field name="l10n_in_section_id" invisible="country_code != 'IN' or not (l10n_in_tds_feature_enabled and l10n_in_tcs_feature_enabled) or l10n_in_tax_type not in ['tcs', 'tds_sale', 'tds_purchase']"/> |
| 17 |
</xpath> |
| 18 |
</field> |
| 19 |
</record> |
| 20 |
</odoo> |