OK, thank you very much.

El lunes, 27 de enero de 2014 11:15:46 UTC+1, Sergi Almacellas Abellana 
escribió:
>
>  El 27/01/14 11:02, Manuel Bailen ha escrit:
>  
>  Hi,
>
>  I'm trying this module when I installed the Pach 19 and I tried to 
> process de payment I had this error:
>
>   Traceback (most recent call last):
>  
>    File "/trytond/protocols/jsonrpc.py", line 123, in _marshaled_dispatch
>  
>   response['result'] = dispatch_method(method, params)
>  
>    File "/trytond/protocols/jsonrpc.py", line 156, in _dispatch
>  
>   res = dispatch(*args)
>  
>    File "/trytond/protocols/dispatcher.py", line 168, in dispatch
>  
>   result = rpc.result(meth(*args, **kwargs))
>  
>    File "/trytond/wizard/wizard.py", line 218, in execute
>  
>   return wizard._execute(state_name)
>  
>    File "/trytond/wizard/wizard.py", line 244, in _execute
>  
>   do_result = do(action)
>  
>    File "/trytond/modules/account_payment/payment.py", line 334, in 
> do_process
>  
>   Payment.process(list(grouped_payments), group)
>  
>    File "/trytond/model/workflow.py", line 33, in wrapper
>  
>   result = func(cls, filtered, *args, **kwargs)
>  
>    File "/trytond/modules/account_payment/payment.py", line 267, in 
> process
>  
>   process_method(group)
>  
>    File "/trytond/modules/account_payment_sepa/payment.py", line 113, in 
> process_sepa
>  
>   datetime=datetime).filter(remove_comment).render()
>  
>    File "/genshi/core.py", line 184, in render
>  
>   return encode(generator, method=method, encoding=encoding, out=out)
>  
>    File "/genshi/output.py", line 57, in encode
>  
>   return _encode(''.join(list(iterator)))
>  
>    File "/genshi/output.py", line 241, in __call__
>  
>   for kind, data, pos in stream:
>  
>    File "/genshi/output.py", line 669, in __call__
>  
>   for kind, data, pos in stream:
>  
>    File "/genshi/output.py", line 774, in __call__
>  
>   for kind, data, pos in chain(stream, [(None, None, None)]):
>  
>    File "/genshi/output.py", line 594, in __call__
>  
>   for ev in stream:
>  
>    File "/genshi/core.py", line 289, in _ensure
>  
>   for event in stream:
>  
>    File "/genshi/core.py", line 289, in _ensure
>  
>   for event in stream:
>  
>    File "/trytond/modules/account_payment_sepa/payment.py", line 67, in 
> remove_comment
>  
>   for kind, data, pos in stream:
>  
>    File "/genshi/template/base.py", line 618, in _include
>  
>   for event in stream:
>  
>    File "/genshi/template/markup.py", line 326, in _match
>  
>   for event in stream:
>  
>    File "/genshi/template/base.py", line 578, in _flatten
>  
>   result = _eval_expr(data, ctxt, vars)
>  
>    File "/genshi/template/base.py", line 289, in _eval_expr
>  
>   retval = expr.evaluate(ctxt)
>  
>    File "/genshi/template/eval.py", line 177, in evaluate
>  
>   return eval(self.code, _globals, {'__data__': data})
>  
>    File "/trytond/modules/account_payment_sepa/template/base.xml", line 
> 37, in <Expression u'account_number.compact_iban'>
>  
>   <IBAN>${account_number.compact_iban}</IBAN>
>  
>    File "/genshi/template/eval.py", line 323, in lookup_attr
>  
>   val = obj[key]
>  
>    File "/trytond/model/model.py", line 395, in __getitem__
>  
>   return getattr(self, name)
>  
>    File "/trytond/model/modelstorage.py", line 1208, in __getattr__
>  
>   raise AttributeError('"%s" has no attribute "%s"' % (self, name))
>  
>  AttributeError: "bank.account.number,41" has no attribute "compact_iban"
>  
>  
>    You need to the latest trunk from bank module, as compact iban method 
> has been introduced in [1] 
>
>   account.bank.number,41 is company bank account that I used for the 
> payment journal. 
> The IBAN codes are compacts and there aren't any spaces.
>   
> [1] http://hg.tryton.org/modules/bank/rev/519e82ef970e
>
> -- 
> Sergi Almacellas Abellanawww.koolpi.com
> Twitter: @pokoli_srk
>
> 

Reply via email to