When updating tryton database from 6.6 to 7.0 the command returns an error :
(tryton70) exol@accounting-srvr:~$ $HOME/app/tryton70/bin/trytond-admin -c $HOME/app/tryton70/trytond.conf -d ExolErp --all
Traceback (most recent call last):
File "/home/exol/app/tryton70/lib/python3.8/site-packages/trytond/convert.py", line 464, in parse_xmlstream
self.sax_parser.parse(source)
File "/usr/lib/python3.8/xml/sax/expatreader.py", line 111, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python3.8/xml/sax/xmlreader.py", line 125, in parse
self.feed(buffer)
File "/usr/lib/python3.8/xml/sax/expatreader.py", line 217, in feed
self._parser.Parse(data, isFinal)
File "../Modules/pyexpat.c", line 459, in EndElement
File "/usr/lib/python3.8/xml/sax/expatreader.py", line 336, in end_element
self._cont_handler.endElement(name)
File "/home/exol/app/tryton70/lib/python3.8/site-packages/trytond/convert.py", line 519, in endElement
self.taghandler = self.taghandler.endElement(name)
File "/home/exol/app/tryton70/lib/python3.8/site-packages/trytond/convert.py", line 314, in endElement
self.mh.import_record(
File "/home/exol/app/tryton70/lib/python3.8/site-packages/trytond/convert.py", line 689, in import_record
self.write_records(module, model,
File "/home/exol/app/tryton70/lib/python3.8/site-packages/trytond/convert.py", line 746, in write_records
Model.write(*to_update)
File "/home/exol/app/tryton70/lib/python3.8/site-packages/trytond/model/modelsql.py", line 262, in wrapper
return func(cls, *args, **kwargs)
File "/home/exol/app/tryton70/lib/python3.8/site-packages/trytond/model/modelsql.py", line 1391, in write
cls._validate(sub_records, field_names=all_field_names)
File "/home/exol/app/tryton70/lib/python3.8/site-packages/trytond/transaction.py", line 50, in wrapper
return func(*args, **kwargs)
File "/home/exol/app/tryton70/lib/python3.8/site-packages/trytond/model/modelstorage.py", line 1373, in _validate
validate_domain(field)
File "/home/exol/app/tryton70/lib/python3.8/site-packages/trytond/model/modelstorage.py", line 1274, in validate_domain
validate_relation_domain(
File "/home/exol/app/tryton70/lib/python3.8/site-packages/trytond/model/modelstorage.py", line 1355, in validate_relation_domain
raise DomainValidationError(
trytond.model.modelstorage.DomainValidationError: The value "4561 - Associés - Comptes d'apport en société, 4562 - Apporteurs - Capital appelé, non versé, 4563 - Associés - Versements reçus sur augmentation de capital, 4564 - Associés - Versements anticipés, 4566 - Actionnaires défaillants, 4567 - Associés - Capital à rembourser" for field "Children" in "456 - Associés - Opérations sur le capital" of "Account Template" is not valid according to its domain. -
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/exol/app/tryton70/bin/trytond-admin", line 31, in <module>
admin.run(options)
File "/home/exol/app/tryton70/lib/python3.8/site-packages/trytond/admin.py", line 57, in run
pool.init(update=options.update, lang=list(lang),
File "/home/exol/app/tryton70/lib/python3.8/site-packages/trytond/pool.py", line 167, in init
restart = not load_modules(
File "/home/exol/app/tryton70/lib/python3.8/site-packages/trytond/modules/__init__.py", line 389, in load_modules
_load_modules(update)
File "/home/exol/app/tryton70/lib/python3.8/site-packages/trytond/modules/__init__.py", line 357, in _load_modules
load_module_graph(graph, pool, update, lang)
File "/home/exol/app/tryton70/lib/python3.8/site-packages/trytond/modules/__init__.py", line 208, in load_module_graph
tryton_parser.parse_xmlstream(fp)
File "/home/exol/app/tryton70/lib/python3.8/site-packages/trytond/convert.py", line 466, in parse_xmlstream
raise ParsingError("in %s" % self.current_state()) from e
trytond.convert.ParsingError: in record 'account_fr.456'
No custom modules installed
Thanks for your help