flectra/addons/website_partner/views/res_partner_views.xml
2018-01-17 12:10:36 +05:30

23 lines
958 B
XML

<?xml version="1.0" encoding="utf-8"?>
<flectra>
<record id="view_partners_form_website" model="ir.ui.view">
<field name="name">view.res.partner.form.website</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field eval="18" name="priority"/>
<field name="arch" type="xml">
<data>
<button name="toggle_active" position="before">
<button class="oe_stat_button" name="website_publish_button"
type="object" icon="fa-globe">
<field name="website_published" widget="website_button"/>
</button>
</button>
<xpath expr="//field[@name='lang']" position="after">
<field name="website_ids" widget="many2many_tags"/>
</xpath>
</data>
</field>
</record>
</flectra>