[FIX] sale: remove quick_add from sales calendar view

before this commit, on clicking the sales calendar view, it allows the quick adding from the calendar view and entered value is going to the name field of sale.order model.

after this commit, quick adding will be disable and on clicking form will be opened with selected date.

closes odoo/odoo#112587

X-original-commit: b82c59bdaffb731172eeb36954e5e46907ac9fcc
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
niyasraphy
2023-02-14 10:02:28 +01:00
committed by Victor Feyens
parent f60e8faaca
commit c7360ebcab
+1 -1
View File
@@ -24,7 +24,7 @@
<field name="name">sale.order.calendar</field>
<field name="model">sale.order</field>
<field name="arch" type="xml">
<calendar string="Sales Orders" date_start="date_order" color="state" hide_time="true" event_limit="5">
<calendar string="Sales Orders" date_start="date_order" color="state" hide_time="true" event_limit="5" quick_add="False">
<field name="currency_id" invisible="1"/>
<field name="partner_id" avatar_field="avatar_128"/>
<field name="amount_total" widget="monetary"/>