flectra/addons/l10n_ae_extend/views/purchase_order_view.xml
2018-10-25 12:42:48 +00:00

17 lines
716 B
XML

<?xml version="1.0" encoding="utf-8"?>
<flectra>
<record id="uae_purchase_order_form_inherit" model="ir.ui.view">
<field name="name">uae.purchase.order.form.inherit</field>
<field name="model">purchase.order</field>
<field name="inherit_id" ref="purchase.purchase_order_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='partner_id']" position="after">
<field name="vat_config_type" domain="[('journal_id.type', '=', 'purchase')]"/>
</xpath>
<xpath expr="//field[@name='company_id']" position="after">
<field name="reverse_charge"/>
</xpath>
</field>
</record>
</flectra>