[FIX] event: correctly align event form view checkboxes
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 X-original-commit: 0b8ead6ade89371b31c0213dd7a3909ff3b56be7 Part-of: odoo/odoo#104770
This commit is contained in:
committed by
Thibault Delavallée
parent
eef004e254
commit
e914fe8532
@@ -57,8 +57,8 @@
|
||||
<field name="address_id"
|
||||
context="{'show_address': 1}"
|
||||
options='{"always_reload": True}'/>
|
||||
<div colspan="2" class="o_checkbox_optional_field">
|
||||
<label for="seats_limited" string="Limit Registrations"/>
|
||||
<label for="seats_limited" string="Limit Registrations"/>
|
||||
<div>
|
||||
<field name="seats_limited"/>
|
||||
<span attrs="{'invisible': [('seats_limited', '=', False)], 'required': [('seats_limited', '=', False)]}">to <field name="seats_max" class="oe_inline"/> Confirmed Attendees</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user