Adapt strftime() call to its instance implementation.

This commit is contained in:
Albert Cervera i Areny 2021-03-22 09:29:14 +01:00
parent 9b1b916d9d
commit 0120e5cf86
1 changed files with 1 additions and 2 deletions

View File

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