You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.1 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="view_partner_create_by_vat" model="ir.ui.view">
  4. <field name="name">res.partner.create.by.vat</field>
  5. <field name="model">res.partner</field>
  6. <field name="inherit_id" ref="base_vat.view_partner_form"/>
  7. <field name="arch" type="xml">
  8. <field name="vat" position="after">
  9. <label for="vat_subjected"/>
  10. <div name="vat_subjected_info" class="o_row">
  11. <field name="vat_subjected"
  12. attrs="{'invisible': [
  13. ('vat', '=', False),
  14. ('is_company', '=', False )]}"/>
  15. <button name="get_vies_data_from_vat"
  16. attrs="{'invisible': [
  17. ('vat', '=', False),
  18. ('is_company', '=', False )]}"
  19. colspan="2" string="Get Vies Data"
  20. type="object" icon="fa-cogs"/>
  21. </div>
  22. </field>
  23. </field>
  24. </record>
  25. </odoo>