[FIX] sale_project: fix quantity_percentage field editable in list view
Before this commit quantity_percentage field was not editable in list view Issue: - when trying to edit quantity field in milestone , it's not editable in list view Fix - when trying to edit quantity field in milestone it becomes editable by making field readonly false task-3444728 closes odoo/odoo#132958 X-original-commit: 562a454731326a054f8f4c54e8350a2faf1c1c7f Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com>
This commit is contained in:
@@ -305,8 +305,8 @@
|
||||
<field name="allow_billable" column_invisible="True"/>
|
||||
<field name="sale_line_id" optional="hide" options="{'no_open': True}" placeholder="Non-billable" readonly="1" groups="!sales_team.group_sale_salesman"/>
|
||||
<field name="sale_line_id" optional="hide" options="{'no_create': True}" placeholder="Non-billable" groups="sales_team.group_sale_salesman"/>
|
||||
<field name="quantity_percentage" string="Quantity (%)" optional="hide" widget="percentage" readonly="1" groups="!sales_team.group_sale_salesman"/>
|
||||
<field name="quantity_percentage" string="Quantity (%)" optional="hide" widget="percentage" groups="sales_team.group_sale_salesman"/>
|
||||
<field name="quantity_percentage" string="Quantity (%)" optional="hide" widget="percentage" groups="!sales_team.group_sale_salesman"/>
|
||||
<field name="quantity_percentage" string="Quantity (%)" optional="hide" widget="percentage" readonly="0" groups="sales_team.group_sale_salesman"/>
|
||||
<field name="product_uom_qty" optional="hide" groups="!sales_team.group_sale_salesman" readonly="1"/>
|
||||
<field name="product_uom_qty" optional="hide" groups="sales_team.group_sale_salesman"/>
|
||||
</xpath>
|
||||
|
||||
Reference in New Issue
Block a user