[FIX] stock: remove quick_add from picking calendar view
before this commit, on clicking the picking calendar view, it allows the quick adding from the calendar view and entered value is going to the name field of stock.picking model. after this commit, quick adding will be disabled and on clicking form will be opened with selected date. closes odoo/odoo#118222 X-original-commit: c06f88c2535f959bc60416b6f32cb51ea1481c2a Signed-off-by: Tiffany Chang <tic@odoo.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<field name="model">stock.picking</field>
|
||||
<field name="priority" eval="2"/>
|
||||
<field name="arch" type="xml">
|
||||
<calendar string="Calendar View" date_start="scheduled_date" color="partner_id" event_limit="5">
|
||||
<calendar string="Calendar View" date_start="scheduled_date" color="partner_id" event_limit="5" quick_add="False">
|
||||
<field name="partner_id" filters="1"/>
|
||||
<field name="origin"/>
|
||||
<field name="picking_type_id"/>
|
||||
|
||||
Reference in New Issue
Block a user