19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:32:12 +01:00
parent 79f83631d5
commit 73afc09215
6267 changed files with 1534193 additions and 1130106 deletions

View file

@ -6,31 +6,25 @@
<field name="model">registration.editor</field>
<field name="arch" type="xml">
<form string="Registration">
<field name="seats_available_insufficient" invisible="1"/>
<div class="alert alert-warning m-0" role="alert" attrs="{'invisible': [('seats_available_insufficient', '=', False)]}">
<p class="my-0">
<span>Not enough seats available. All registrations were created as "Unconfirmed" and can be updated later on.</span>
</p>
</div>
<sheet>
<p>Before updating the linked registrations of <field name="sale_order_id" readonly="1" class="oe_inline"/>
please give attendee details.</p>
please provide attendee details.</p>
<field name="event_registration_ids">
<tree string="Registration" editable="top" create="false" delete="false">
<list string="Registration" editable="top" create="false" delete="false">
<field name="event_id" readonly='1' force_save="1"/>
<field name="registration_id" readonly='1' force_save="1"/>
<field name="event_slot_id" domain="[('event_id', '=', event_id)]" readonly='1' force_save="1"/>
<field name="event_ticket_id" domain="[('event_id', '=', event_id)]" readonly='1' force_save="1"/>
<field name="name"/>
<field name="email"/>
<field name="mobile" class="o_force_ltr"/>
<field name="phone" class="o_force_ltr"/>
<field name="sale_order_line_id" invisible="1"/>
</tree>
<field name="company_id" groups="base.group_multi_company" optional="hide"/>
<field name="sale_order_line_id" column_invisible="True"/>
</list>
</field>
</sheet>
<footer>
<button string="Create/Update registrations" name="action_make_registration" type="object" class="btn-primary" data-hotkey="q"/>
<button string="Skip" class="btn-secondary" special="cancel" data-hotkey="z"/>
</footer>
</form>
</field>
@ -38,7 +32,6 @@
<record id="action_sale_order_event_registration" model="ir.actions.act_window">
<field name="name">Event Registrations</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">registration.editor</field>
<field name="view_mode">form</field>
<field name="view_id" ref="view_event_registration_editor_form"/>