[FIX] sale_project: fix percentage field width issue in milestone form

This commit make percentage field width 25% so field and percentage
symbol look nearer.

task-3018123

closes odoo/odoo#106956

X-original-commit: https://github.com/odoo/odoo/commit/f8f138f656d093e98f87a51fafb087d00ff7926d
Related: odoo/enterprise#34554
Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com>
This commit is contained in:
Kartik Chavda
2022-12-06 10:52:18 +01:00
parent 6e13a10519
commit 3456a80fce
@@ -118,7 +118,7 @@
<field name="sale_line_id" groups="!sales_team.group_sale_salesman" placeholder="Non-billable" options="{'no_open': True}" readonly="1"/>
<field name="sale_line_id" groups="sales_team.group_sale_salesman" options="{'no_create': True}" placeholder="Non-billable" readonly="0"/>
<field name="quantity_percentage" groups="!sales_team.group_sale_salesman" widget="percentage" readonly="1"/>
<field name="quantity_percentage" groups="sales_team.group_sale_salesman" widget="percentage" readonly="0"/>
<field name="quantity_percentage" class="w-25" groups="sales_team.group_sale_salesman" widget="percentage" readonly="0"/>
</group>
</xpath>
<xpath expr="//button[@name='%(project.action_view_task_from_milestone)d']" position="before">