Error activating account_stock_continental

I have a 7.0.3 install in a virtual environment and added new modules using pip install. After installing I upgraded the database, logged in as admin and activated the newly installed modules. Trying to activate account_stock_continental throws this error:

Traceback (most recent call last):
  File "/trytond/", line 464, in parse_xmlstream
  File "/xml/sax/", line 111, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/xml/sax/", line 125, in parse
  File "/xml/sax/", line 217, in feed
    self._parser.Parse(data, isFinal)
  File "../Modules/pyexpat.c", line 416, in StartElement
  File "/xml/sax/", line 333, in start_element
    self._cont_handler.startElement(name, AttributesImpl(attrs))
  File "/trytond/", line 496, in startElement
    self.taghandler.startElement(name, attributes)
  File "/trytond/", line 258, in startElement
    model, id_ =
  File "/trytond/", line 537, in get_id
    raise ParsingError("%s.%s not found" % (module, xml_id))
trytond.convert.ParsingError: account.account_type_template_asset_current_bg not found

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/trytond/", line 109, in dispatch_request
    return endpoint(request, **request.view_args)
  File "/trytond/protocols/", line 43, in rpc
    return methods.get(request.rpc_method, _dispatch)(
  File "/trytond/", line 75, in wrapper
    return func(request, *args, **kwargs)
  File "/trytond/protocols/", line 197, in wrapper
    return func(request, pool, *args, **kwargs)
  File "/trytond/protocols/", line 196, in _dispatch
    result = rpc.result(meth(*c_args, **c_kwargs))
  File "/trytond/wizard/", line 340, in execute
    result = wizard._execute(state_name)
  File "/trytond/wizard/", line 380, in _execute
    result = self._execute(transition())
  File "/trytond/ir/", line 505, in transition_upgrade
    pool.init(update=update, lang=lang)
  File "/trytond/", line 167, in init
    restart = not load_modules(
  File "/trytond/modules/", line 394, in load_modules
  File "/trytond/modules/", line 357, in _load_modules
    load_module_graph(graph, pool, update, lang)
  File "/trytond/modules/", line 208, in load_module_graph
  File "/trytond/", line 466, in parse_xmlstream
    raise ParsingError("in %s" % self.current_state()) from e
trytond.convert.ParsingError: in record 'account_stock_continental.account_type_template_asset_current_inventories_bg'

The last line points to a ‘bg’ problem. Could the problem be related to the fact that I have activated bulgarian language and that the module is not compatible with that?

See Error in activating module account_stock_continental 6.4 (#11822) · Issues · Tryton / Tryton · GitLab

THX for the hint. I upgraded all account modules which had been activated. After that activation of account_stock_continental worked.

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.