Tryton - Issues

 

Message51369

Author nicoe
Recipients
Date 2019-08-20.10:34:02
Content
Here's the traceback:

    Traceback (most recent call last):
      File "/usr/lib/python3.7/doctest.py", line 1329, in __run
        compileflags, 1), test.globs)
      File "<doctest scenario_party_erase.rst[8]>", line 1, in <module>
        party.save()
      File "/home/nicoe/projets/tryton/tryton-env/SearchOldPartyCode-issue8570/proteus/proteus/__init__.py", line 93, in newfunc
        return self.func(owner, [instance], *args, **kwargs)
      File "/home/nicoe/projets/tryton/tryton-env/SearchOldPartyCode-issue8570/proteus/proteus/__init__.py", line 816, in save
        ids = proxy.create(values, context)
      File "/home/nicoe/projets/tryton/tryton-env/SearchOldPartyCode-issue8570/proteus/proteus/config.py", line 188, in __call__
        result = rpc.result(meth(*args, **kwargs))
      File "/home/nicoe/projets/tryton/tryton-env/SearchOldPartyCode-issue8570/trytond/trytond/modules/party/party.py", line 253, in create
        return super(Party, cls).create(vlist)
      File "/home/nicoe/projets/tryton/tryton-env/SearchOldPartyCode-issue8570/trytond/trytond/model/modelsql.py", line 159, in wrapper
        return func(cls, *args, **kwargs)
      File "/home/nicoe/projets/tryton/tryton-env/SearchOldPartyCode-issue8570/trytond/trytond/model/modelsql.py", line 664, in create
        field.set(cls, fname, *fargs)
      File "/home/nicoe/projets/tryton/tryton-env/SearchOldPartyCode-issue8570/trytond/trytond/model/fields/function.py", line 126, in set
        **Model.__names__(self.name)))
    NotImplementedError: Missing setter function for field "Replaced Parties" in "Party".

While investigating this I noticed that proteus was not patched against issue6988 and this fix would also solve the issue.
History
Date User Action Args
2019-08-20 10:34:03nicoesetmessageid: <1566290043.1.0.565320022216.issue8588@tryton.org>
2019-08-20 10:34:03nicoelinkissue8588 messages
2019-08-20 10:34:02nicoecreate

Showing 10 items. Show all history (warning: this could be VERY long)