On 2015-10-24 10:07, Eduardo J de la Garza G wrote: > Hello, > > I get the following error message when trying to use the reconcile sale pos > wizard in the action menu of sale and sale pos. I'm using tryton 3.4 and > the modules sale, sale_payment, sale_pos
I recommend you to contact [email protected] as it is clearly a bug in their modules. https://bitbucket.org/trytonspain/trytond-sale_payment#rst-header-support > What could be the problem? > > Thanks in advanced, > > Traceback (most recent call last): > File "/trytond/protocols/jsonrpc.py", line 150, in _marshaled_dispatch > response['result'] = dispatch_method(method, params) > File "/trytond/protocols/jsonrpc.py", line 179, in _dispatch > res = dispatch(*args) > File "/trytond/protocols/dispatcher.py", line 161, in dispatch > result = rpc.result(meth(*c_args, **c_kwargs)) > File "/trytond/wizard/wizard.py", line 249, in execute > return wizard._execute(state_name) > File "/trytond/wizard/wizard.py", line 280, in _execute > result = self._execute(transition()) > File "/trytond/modules/sale_payment/sale.py", line 247, in > transition_start > for line in Line.browse(invoice.get_lines_to_pay(None)): > TypeError: get_lines_to_pay() takes exactly 3 arguments (2 given) get_lines_to_pay should never be called directly as it is a getter of a Function field. -- Cédric Krier - B2CK SPRL Email/Jabber: [email protected] Tel: +32 472 54 46 59 Website: http://www.b2ck.com/
