[FIX] sale_order_dates: allow the context to be passed to _order_line_move_date().
bzr revid: ls@numerigraphe.fr-20120104165840-f97w6mbdwcku6zpd
This commit is contained in:
parent
520e715ed1
commit
6b267821a5
|
@ -39,7 +39,7 @@ class sale_order_dates(osv.osv):
|
|||
return super(sale_order_dates, self).copy(cr, uid, id, default=default,
|
||||
context=context)
|
||||
|
||||
def _order_line_move_date(self, cr, uid, line):
|
||||
def _order_line_move_date(self, cr, uid, line, context=None):
|
||||
"""Compute the expected date from the requested date, not the order date"""
|
||||
order=line.order_id
|
||||
if order and order.requested_date:
|
||||
|
|
Loading…
Reference in New Issue