Sale Subscription test recurrence crash
Reproducible on current demo.
Create Subscription recurrence rule set, complete name and frequency (any, daily, monthly), save
Open test recurrence rule, then select the rule created, complete count = 1 (or any other integer)
When deselecting the count input field, I get the following crash:
Traceback (most recent call last):
File "usrlocallibpython3.11dist-packagestrytondwsgi.py", line 109, in dispatch_request
return endpoint(request, **request.view_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "usrlocallibpython3.11dist-packagestrytondprotocolsdispatcher.py", line 43, in rpc
return methods.get(request.rpc_method, _dispatch)(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "usrlocallibpython3.11dist-packagestrytondwsgi.py", line 75, in wrapper
return func(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "usrlocallibpython3.11dist-packagestrytondprotocolswrappers.py", line 197, in wrapper
return func(request, pool, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "usrlocallibpython3.11dist-packagestrytondprotocolsdispatcher.py", line 201, in _dispatch
result = rpc.result(meth(inst, *c_args, **c_kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "usrlocallibpython3.11dist-packagestrytondmodelfieldsfield.py", line 203, in wrapper
setattr(self, fieldname, value)
File "usrlocallibpython3.11dist-packagestrytondmodelfieldsone2many.py", line 303, in __set__
records = instanciate_values(Target, value, **extra)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "usrlocallibpython3.11dist-packagestrytondmodelfieldsfield.py", line 176, in instanciate_values
return tuple(instance(x) for x in (value or []))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "usrlocallibpython3.11dist-packagestrytondmodelfieldsfield.py", line 176, in <genexpr>
return tuple(instance(x) for x in (value or []))
^^^^^^^^^^^
File "usrlocallibpython3.11dist-packagestrytondmodelfieldsfield.py", line 175, in instance
return Target(data, **extra, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "usrlocallibpython3.11dist-packagestrytondmodelmodel.py", line 278, in __init__
id = int(id)
^^^^^^^
ValueError: invalid literal for int() with base 10: 'add'
I have also been unable to create any sale subscription invoices, but this is the first crash that I have gotten.