[FIX] crm: form field alignment
In the Lead form view, properly align "Planned Revenue" and "Probability" fields side-by-side and adjust their styling in mobile. Related to task 1891955 closes odoo/odoo#28763
This commit is contained in:
@@ -487,20 +487,20 @@
|
||||
<div class="oe_title">
|
||||
<label for="name" class="oe_edit_only"/>
|
||||
<h1><field name="name" placeholder="e.g. Product Pricing"/></h1>
|
||||
<h2 class="o_row">
|
||||
<div>
|
||||
<h2 class="o_row row no-gutters d-flex">
|
||||
<div class="col">
|
||||
<label for="planned_revenue" class="oe_edit_only" />
|
||||
<div class="o_row">
|
||||
<field name="company_currency" invisible="1"/>
|
||||
<field name="planned_revenue" widget='monetary' options="{'currency_field': 'company_currency'}"/>
|
||||
<field name="planned_revenue" class="oe_inline" widget='monetary' options="{'currency_field': 'company_currency'}"/>
|
||||
<span class="oe_grey"> at </span>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="col">
|
||||
<label for="probability" class="oe_edit_only"/>
|
||||
<div class="o_row">
|
||||
<field name="probability" widget="integer"/>
|
||||
<span>%%</span>
|
||||
<div class="o_row d-flex">
|
||||
<field name="probability" widget="integer" class="oe_inline"/>
|
||||
<span class="oe_grey"> %%</span>
|
||||
</div>
|
||||
</div>
|
||||
</h2>
|
||||
|
||||
Reference in New Issue
Block a user