Add analytic account name to open move line action name

issue9680
review312461002
This commit is contained in:
Angel A Bran committed 2020-10-08 12:22:06 +02:00
1 parent eb871c2ae5
commit b0b89ffa0f
1 file changed
+2
+2
View File
@@ -309,6 +309,8 @@ class OpenAccount(Wizard):
action['pyson_domain'].append(
('date', '<=', Transaction().context['end_date'])
)
if self.record:
action['name'] += ' (%s)' % self.record.rec_name
action['pyson_domain'] = PYSONEncoder().encode(action['pyson_domain'])
return action, {}