2014-03-21 0:09 GMT+01:00 Fabyc <[email protected]>:
> Estoy realizando pruebas tratando de instalar el módulo account_voucher_co y
> sale el siguiente error:
>
> INFO:modules:account_voucher_co
> [Thu Mar 20 17:23:06 2014] INFO:modules:account_voucher_co:loading
> voucher.xml
> /opt/tryton/server30/trytond/model/modelstorage.py:1309: DeprecationWarning:
> With-statements now directly support multiple context managers
>   Transaction().set_context(self._context)):
> /opt/tryton/server30/trytond/model/fields/reference.py:72:
> DeprecationWarning: With-statements now directly support multiple context
> managers
>   Transaction().set_user(0)):
> [Thu Mar 20 17:23:06 2014] ERROR:convert:Error while parsing xml file:
> In tag record: model ir.action.keyword with id
> report_account_voucher_keyword.
> Traceback (most recent call last):
>   File "server30/bin/trytond", line 111, in <module>
>     trytond.server.TrytonServer(options).run()
>   File "/opt/tryton/server30/trytond/server.py", line 124, in run
>     Pool(db_name).init(update=update, lang=lang)
>   File "/opt/tryton/server30/trytond/pool.py", line 151, in init
>     lang=lang)
>   File "/opt/tryton/server30/trytond/modules/__init__.py", line 399, in
> load_modules
>     load_module_graph(graph, pool, lang)
>   File "/opt/tryton/server30/trytond/modules/__init__.py", line 249, in
> load_module_graph
>     tryton_parser.parse_xmlstream(fp)
>   File "/opt/tryton/server30/trytond/convert.py", line 432, in
> parse_xmlstream
>     self.sax_parser.parse(source)
>   File "/usr/lib/python2.7/xml/sax/expatreader.py", line 107, in parse
>     xmlreader.IncrementalParser.parse(self, source)
>   File "/usr/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
>     self.feed(buffer)
>   File "/usr/lib/python2.7/xml/sax/expatreader.py", line 207, in feed
>     self._parser.Parse(data, isFinal)
>   File "/usr/lib/python2.7/xml/sax/expatreader.py", line 304, in end_element
>     self._cont_handler.endElement(name)
>   File "/opt/tryton/server30/trytond/convert.py", line 482, in endElement
>     self.taghandler = self.taghandler.endElement(name)
>   File "/opt/tryton/server30/trytond/convert.py", line 277, in endElement
>     self.model.__name__, self.values, self.xml_id)
>   File "/opt/tryton/server30/trytond/convert.py", line 707, in import_record
>     self.create_records(model, [values], [fs_id])
>   File "/opt/tryton/server30/trytond/convert.py", line 713, in
> create_records
>     records = Model.create(vlist)
>   File "/opt/tryton/server30/trytond/ir/action.py", line 194, in create
>     return super(ActionKeyword, cls).create(new_vlist)
>   File "/opt/tryton/server30/trytond/model/modelsql.py", line 398, in create
>     cls._validate(records)
>   File "/opt/tryton/server30/trytond/model/modelstorage.py", line 1102, in
> _validate
>     error_args=cls._get_error_args(field_name))
>   File "/opt/tryton/server30/trytond/error.py", line 74, in raise_user_error
>     raise UserError(error)
> trytond.exceptions.UserError: ('UserError', (u'The field "Model" on "Action
> keyword" is not in the selection.', ''))
>
>
> Es algún problema del módulo o estoy realizando algo mal?

revisa si la versión módulo concuerda con la de trytond

Y mira esto:

[Thu Mar 20 17:23:06 2014] ERROR:convert:Error while parsing xml file:
In tag record: model ir.action.keyword with id report_account_voucher_keyword.

Responder a