When I test a payment term to simulate it, it generates this error.
File "/trytond/wsgi.py", line 109, in dispatch_request
return endpoint(request, **request.view_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/trytond/protocols/dispatcher.py", line 43, in rpc
return methods.get(request.rpc_method, _dispatch)(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/trytond/wsgi.py", line 75, in wrapper
return func(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/trytond/protocols/wrappers.py", line 197, in wrapper
return func(request, pool, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/trytond/protocols/dispatcher.py", line 201, in _dispatch
result = rpc.result(meth(inst, *c_args, **c_kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/trytond/model/fields/field.py", line 203, in wrapper
setattr(self, fieldname, value)
File "/trytond/model/fields/one2many.py", line 303, in __set__
records = instanciate_values(Target, value, **extra)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/trytond/model/fields/field.py", line 176, in instanciate_values
return tuple(instance(x) for x in (value or []))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/trytond/model/fields/field.py", line 176, in <genexpr>
return tuple(instance(x) for x in (value or []))
^^^^^^^^^^^
File "/trytond/model/fields/field.py", line 175, in instance
return Target(data, **extra, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/trytond/model/model.py", line 278, in __init__
id = int(id)
^^^^^^^
ValueError: invalid literal for int() with base 10: 'add'``
No modifications were made to the module. Thank you very much.
tryton 7.0