[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:
Numerigraphe - Lionel Sausin 2012-01-04 17:58:40 +01:00
parent 520e715ed1
commit 6b267821a5
1 changed files with 1 additions and 1 deletions

View File

@ -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: