account_tax_view.xml 895 B

12345678910111213141516171819
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <odoo>
  3. <record id="account_tax_form_view" model="ir.ui.view">
  4. <field name="name">account.tax.form</field>
  5. <field name="model">account.tax</field>
  6. <field name="type">form</field>
  7. <field name="inherit_id" ref="account.view_tax_form"/>
  8. <field name="arch" type="xml">
  9. <xpath expr="//field[@name='type_tax_use']" position="after">
  10. <field name="l10n_ec_code_base" attrs="{'invisible': [('country_code', '!=', 'EC')]}"
  11. groups="base.group_no_one"/>
  12. <field name="l10n_ec_code_applied" attrs="{'invisible': [('country_code', '!=', 'EC')]}"
  13. groups="base.group_no_one"/>
  14. <field name="l10n_ec_code_ats" attrs="{'invisible': [('country_code', '!=', 'EC')]}"/>
  15. </xpath>
  16. </field>
  17. </record>
  18. </odoo>