Adapt strftime() call to its instance implementation.
This commit is contained in:
parent
9b1b916d9d
commit
0120e5cf86
|
@ -87,8 +87,7 @@ class ProductByParty(Wizard):
|
|||
if langs:
|
||||
break
|
||||
lang, = langs
|
||||
date = Lang.strftime(context['stock_date_end'],
|
||||
lang.code, lang.date)
|
||||
date = lang.strftime(context['stock_date_end'])
|
||||
|
||||
action['name'] += ' - %s (%s) @ %s' % (product.rec_name,
|
||||
product.default_uom.rec_name, date)
|
||||
|
|
Loading…
Reference in New Issue