Files
odoo_source/addons/event_booth/views/event_event_views.xml
T
Patrick Hoste a2fe1cfb33 [IMP] (website_)event_booth(_sale): polish ux design
PURPOSE

This commit is a first polish for event booth modules. It includes:
- wording
- add currency on price fields
- removing booths tab on event view

LINKS

Task-2635461
PR: odoo/odoo#77081
2021-10-04 15:30:26 +00:00

28 lines
1.2 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<odoo><data>
<record id="event_event_view_form" model="ir.ui.view">
<field name="name">event.event.view.form.inherit.event.booth</field>
<field name="model">event.event</field>
<field name="inherit_id" ref="event.view_event_form"/>
<field name="priority" eval="4"/>
<field name="arch" type="xml">
<div name="button_box" position="inside">
<button class="oe_stat_button" name="%(event_booth_action_from_event)d"
type="action" icon="fa-university">
<div class="o_field_widget o_stat_info">
<span class="o_stat_value">
<span attrs="{'invisible': [('event_booth_count', '=', 0)]}">
<field name="event_booth_count_available"/> /
</span>
<field name="event_booth_count"/>
</span>
<span class="o_stat_text">Booths</span>
</div>
</button>
</div>
</field>
</record>
</data></odoo>