website_event_booth_exhibitor/views/event_booth_views.xml

20 lines
813 B
XML

<?xml version="1.0" encoding="UTF-8" ?>
<odoo><data>
<record id="event_booth_view_form_from_event" model="ir.ui.view">
<field name="name">event.booth.view.form.inherit.website.event.booth.exhibitor</field>
<field name="model">event.booth</field>
<field name="inherit_id" ref="event_booth.event_booth_view_form_from_event"/>
<field name="priority">5</field>
<field name="arch" type="xml">
<div name="button_box" position="inside">
<field name="sponsor_id" invisible="1"/>
<button name="action_view_sponsor" type="object" class="oe_stat_button"
icon="fa-black-tie" string="Sponsor" invisible="not sponsor_id">
</button>
</div>
</field>
</record>
</data></odoo>