From 0120e5cf86752701844fab8acb2793f6d7af2621 Mon Sep 17 00:00:00 2001 From: Albert Cervera i Areny Date: Mon, 22 Mar 2021 09:29:14 +0100 Subject: [PATCH] Adapt strftime() call to its instance implementation. --- product.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/product.py b/product.py index 409fa53..d895d84 100644 --- a/product.py +++ b/product.py @@ -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)