[FIX] delivery: free over display change
Before the fix, the display of the boolean was bad. Now the text is align with the checkbox and the amount related to this if true is on the next line. closes odoo/odoo#36408 Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
This commit is contained in:
@@ -110,11 +110,8 @@
|
||||
<div>
|
||||
<field name="margin" class="oe_inline"/>%
|
||||
</div>
|
||||
<div class="o_row o_td_label">
|
||||
<field name="free_over"/>
|
||||
<label for="free_over"/>
|
||||
</div>
|
||||
<field nolabel="1" name="amount" attrs="{'required':[('free_over','!=', False)], 'invisible':[('free_over','=', False)]}"/>
|
||||
<field name="free_over"/>
|
||||
<field name="amount" attrs="{'required':[('free_over','!=', False)], 'invisible':[('free_over','=', False)]}"/>
|
||||
<field name="product_id" context="{'default_type': 'service', 'default_sale_ok': False, 'default_purchase_ok': False}" />
|
||||
<field name="company_id" groups="base.group_multi_company"/>
|
||||
<field name="can_generate_return" invisible="1"/>
|
||||
|
||||
Reference in New Issue
Block a user