reconcile sale pos

53 views
Skip to first unread message

Eduardo J de la Garza G

unread,
Oct 24, 2015, 1:20:03 PM10/24/15
to tryton
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

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)



Cédric Krier

unread,
Oct 24, 2015, 1:40:04 PM10/24/15
to tryton
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 zik...@zikzakmedia.com 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: cedric...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Eduardo J de la Garza G

unread,
Oct 26, 2015, 8:40:04 PM10/26/15
to tryton
Thanks!

It was fixed.

Francisco Maria Moyano Casco

unread,
Oct 27, 2015, 8:05:03 AM10/27/15
to tryton
Hello.
       I'm sorry, but I'm having the same problem. How do you solve it?
       Thanks

Eduardo J de la Garza G

unread,
Jan 25, 2016, 4:55:33 PM1/25/16
to tryton
Sorry for the delay to answer, try downloading again the most recent version of the module
Regards,
Reply all
Reply to author
Forward
0 new messages