[IMP] mrp: disable quick create in calendar view for mrp.production

This commit disables quick create in calendar view for
`mrp.production`, because it uses name field for storing
`ir.sequence` and calendar quick create also uses `name` field to
create quick create record.

So in this case, even if user enters summary field, it will be replaced by
`ir.sequence`, thus quick create doesn't make sense here.

Task-2052536
This commit is contained in:
Hardik Prajapati
2019-11-25 15:06:22 +00:00
committed by Alexandre Kühn
parent b7752b7794
commit c349e306df
+1 -1
View File
@@ -258,7 +258,7 @@
<field eval="2" name="priority"/>
<field name="arch" type="xml">
<calendar date_start="date_planned_start" date_stop="date_planned_finished"
string="Manufacturing Orders" color="routing_id" event_limit="5">
string="Manufacturing Orders" color="routing_id" event_limit="5" quick_add="False">
<field name="routing_id"/>
<field name="user_id" avatar_field="image_128"/>
<field name="product_id"/>