Skip to content
Snippets Groups Projects
Commit ee8476c8 authored by Nicolas Martinelli's avatar Nicolas Martinelli
Browse files

[FIX] sale: edit lead time


Allow the edition of Lead Time only when the SO is not confirmed yet
since the modification of the scheduled date on an existing picking is
not expected.

opw-2083070

closes odoo/odoo#38337

Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
parent e005ef68
Branches
Tags
No related merge requests found
......@@ -525,7 +525,11 @@
options='{"no_open": True}'
optional="show"
/>
<field name="customer_lead" optional="hide"/>
<field
name="customer_lead"
optional="hide"
attrs="{'readonly': [('parent.state', 'not in', ['draft', 'sent'])]}"
/>
<field
name="price_unit"
attrs="{'readonly': [('qty_invoiced', '&gt;', 0)]}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment