Application Error on Payment Groups view
ERROR:trytond.protocols.dispatcher:.read(*([4, 5], ....
Traceback (most recent call last):
File "/home/hermes/devel/tryton/trytond/trytond/protocols/dispatcher.py", line 181, in _dispatch
result = rpc.result(meth(*c_args, **c_kwargs))
File "/home/hermes/devel/tryton/trytond/trytond/model/modelsql.py", line 861, in read
row[fname] = getter_result[row['id']]
KeyError: 4
The payments are not filtered in Payment.process(payments, group). A new group is created on each invocation of Payment.process(payments, group).
Trunk is affected.
Caused by: #9525 (closed)
Steps to reproduce:
1) Create a payment (at least the manual process method affected)
2) Call Process Payments Wizard on the payment *multiple* times
3) Reload the Payment Group view created by Wizard at the end
4) An Application Error appears