[IMP] mrp_operation: prevent resize on Gantt view
Resizing a workcenter line is confusing to the user since a resize only changes the `date_planned_end` and recalculates the `date_planned`. However, a user would expect that a resize changes the duration, which is not the case. To avoid the confusion, it is not allowed to resize the tasks anymore. opw-676762
This commit is contained in:
@@ -156,7 +156,7 @@
|
||||
<field name="name">mrp.production.workcenter.line.gantt</field>
|
||||
<field name="model">mrp.production.workcenter.line</field>
|
||||
<field name="arch" type="xml">
|
||||
<gantt date_delay="hour" date_start="date_planned" date_stop="date_planned_end" string="Operations" default_group_by="production_id">
|
||||
<gantt date_delay="hour" drag_resize="0" date_start="date_planned" date_stop="date_planned_end" string="Operations" default_group_by="production_id">
|
||||
</gantt>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user