2015-04-09 0:35 GMT+02:00 Juan Hernandez <[email protected]>: > Al hacer la validación del extracto diario me sale este error > > Traceback (most recent call last): > File "/local/lib/python2.7/site-packages/trytond/protocols/jsonrpc.py", > line 150, in _marshaled_dispatch > response['result'] = dispatch_method(method, params) > File "/local/lib/python2.7/site-packages/trytond/protocols/jsonrpc.py", > line 179, in _dispatch > res = dispatch(*args) > File "/local/lib/python2.7/site-packages/trytond/protocols/dispatcher.py", > line 161, in dispatch > result = rpc.result(meth(*c_args, **c_kwargs)) > File "/local/lib/python2.7/site-packages/trytond/model/modelview.py", line > 497, in wrapper > return func(cls, *args, **kwargs) > File "/local/lib/python2.7/site-packages/trytond/model/workflow.py", line > 33, in wrapper > result = func(cls, filtered, *args, **kwargs) > File > "/lib/python2.7/site-packages/trytond_account_statement-3.4.0-py2.7.egg/trytond/modules/account_statement/statement.py", > line 409, in validate_statement > line.create_move() > File > "/lib/python2.7/site-packages/trytonzz_sale_payment-3.4.0-py2.7.egg/trytond/modules/sale_payment/statement.py", > line 93, in create_move > 'move': move.id, > File "/local/lib/python2.7/site-packages/trytond/model/modelsql.py", line > 827, in write > cls._validate(sub_records, field_names=all_field_names) > File "/local/lib/python2.7/site-packages/trytond/model/modelstorage.py", > line 954, in _validate > validate_domain(field) > File "/local/lib/python2.7/site-packages/trytond/model/modelstorage.py", > line 916, in validate_domain > validate_relation_domain(field, sub_records, Relation, domain) > File "/local/lib/python2.7/site-packages/trytond/model/modelstorage.py", > line 932, in validate_relation_domain > domain, > File "/local/lib/python2.7/site-packages/trytond/model/modelsql.py", line > 973, in search > tables, expression = cls.search_domain(domain) > File "/local/lib/python2.7/site-packages/trytond/model/modelsql.py", line > 1158, in search_domain > expression = convert(domain) > File "/local/lib/python2.7/site-packages/trytond/model/modelsql.py", line > 1156, in convert > domain[1:] if domain[0] == 'AND' else domain))) > File "/local/lib/python2.7/site-packages/trytond/model/modelsql.py", line > 1155, in <genexpr> > return And((convert(d) for d in ( > File "/local/lib/python2.7/site-packages/trytond/model/modelsql.py", line > 1156, in convert > domain[1:] if domain[0] == 'AND' else domain))) > File "/local/lib/python2.7/site-packages/trytond/model/modelsql.py", line > 1155, in <genexpr> > return And((convert(d) for d in ( > File "/local/lib/python2.7/site-packages/trytond/model/modelsql.py", line > 1145, in convert > field = cls._fields[fname] > KeyError: u'company'
no es sale_pos, Es sale_payment revisa que tengas la empresa creada como el context usuario para que pueda crear un apunte contable -- Si us plau, NO adjunti arxius a les seves respostes. Li preguem que integri el text al cos del missatge. Pot respondre usant NetEtiquete que li ajudarà a seguir la conversa. http://es.wikipedia.org/wiki/Netiquette Por favor, NO adjunte archivos a sus respuestas. Le rogamos que integre el texto en el cuerpo del mensaje. Puede responder usando NetEtiquete que le ayudará a seguir la conversación.http://es.wikipedia.org/wiki/Netiquette Please, DO NOT send attachment files with your answers, just copy and paste only the text you need to send into the body of your mails. Repply using NetEtiquete. http://en.wikipedia.org/wiki/Netiquette
