changeset 35a2b063e6d2 in modules/party:4.8
details: https://hg.tryton.org/modules/party?cmd=changeset;node=35a2b063e6d2
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 f86e69599dc1 -r 35a2b063e6d2 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:

Reply via email to