changeset 5ba0bf621a48 in modules/party:5.0
details: https://hg.tryton.org/modules/party?cmd=changeset;node=5ba0bf621a48
description:
Add missing **pattern arguments on default_party_sequence
The default method of a MultiValue field must accepted it.
issue8241
(grafted from 6d1a3a4700c10c7e78ce296ce3236fd74e95619b)
diffstat:
configuration.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r de7becf24ee0 -r 5ba0bf621a48 configuration.py
--- a/configuration.py Thu Apr 04 19:11:44 2019 +0200
+++ b/configuration.py Thu Apr 04 19:55:29 2019 +0200
@@ -25,7 +25,7 @@
party_lang = fields.MultiValue(party_lang)
@classmethod
- def default_party_sequence(cls):
+ def default_party_sequence(cls, **pattern):
pool = Pool()
ModelData = pool.get('ir.model.data')
try: