[FIX] sale_order_date: requested_date editable in `sent` state

This commit is contained in:
Simon Lejeune 2014-09-30 16:41:26 +02:00
parent cefc9ad8e3
commit 3ae8aada05
1 changed files with 2 additions and 1 deletions

View File

@ -88,7 +88,8 @@ class sale_order_dates(osv.osv):
"a date that you can promise to the customer, based on the "
"Product Lead Times."),
'requested_date': fields.datetime('Requested Date',
readonly=True, states={'draft': [('readonly', False)]}, copy=False,
readonly=True, states={'draft': [('readonly', False)],
'sent': [('readonly', False)]}, copy=False,
help="Date by which the customer has requested the items to be "
"delivered.\n"
"When this Order gets confirmed, the Delivery Order's "