[FIX] event: fix event type display
With new views, better use a standard label / content two-items display instead of using a div + colspan + CSS class. Issue introduced by the new from grid layout. Task-2996467 closes odoo/odoo#104770 X-original-commit: ac14a6b5aa05d412d3b68bd731738cc7e94e3cf8 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
committed by
Thibault Delavallée
parent
678d7d6339
commit
34522d9ea5
@@ -14,28 +14,20 @@
|
||||
</div>
|
||||
<group>
|
||||
<group>
|
||||
<div colspan="2" class="o_checkbox_optional_field">
|
||||
<label for="default_timezone"/>
|
||||
<field name="default_timezone" class="w-100"/>
|
||||
</div>
|
||||
<div colspan="2" class="o_checkbox_optional_field">
|
||||
<label for="tag_ids"/>
|
||||
<field name="tag_ids" widget="many2many_tags" options="{'color_field': 'color', 'no_quick_create': True}"/>
|
||||
</div>
|
||||
<field name="default_timezone" class="w-100"/>
|
||||
<field name="tag_ids" widget="many2many_tags" options="{'color_field': 'color', 'no_quick_create': True}"/>
|
||||
</group>
|
||||
<group>
|
||||
<div colspan="2" class="o_checkbox_optional_field">
|
||||
<label for="has_seats_limitation" string="Limit Registrations"/>
|
||||
<label for="has_seats_limitation" string="Limit Registrations"/>
|
||||
<div>
|
||||
<field name="has_seats_limitation"/>
|
||||
<span attrs="{'invisible': [('has_seats_limitation', '=', False)], 'required': [('has_seats_limitation', '=', False)]}">
|
||||
to <field name="seats_max" class="oe_inline"/>
|
||||
Confirmed Attendees
|
||||
</span>
|
||||
</div>
|
||||
<div colspan="2" class="o_checkbox_optional_field">
|
||||
<label for="auto_confirm" string="Autoconfirmation"/>
|
||||
<field name="auto_confirm"/>
|
||||
</div>
|
||||
<label for="auto_confirm" string="Autoconfirmation"/>
|
||||
<field name="auto_confirm" nolabel="1"/>
|
||||
</group>
|
||||
</group>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user