Missing dependencies when run trytond-admin and --activate-dependencies
In main branch, I try to create a new database and install new module with --activate-dependencies
$ createdb demo
$ ./trytond/bin/trytond-admin -v -c etc/server-demo.cfg --all -d demo
$ ./trytond/bin/trytond-admin -v -c etc/server-demo.cfg -u product --activate-dependencies -d demo
Traceback:
Traceback (most recent call last):
File "/home/raimon/projectes/nandev2/163291/./trytond/bin/trytond-admin", line 33, in <module>
admin.run(options)
File "/home/raimon/projectes/nandev2/163291/trytond/trytond/admin.py", line 57, in run
pool.init(update=options.update, lang=list(lang),
File "/home/raimon/projectes/nandev2/163291/trytond/trytond/pool.py", line 168, in init
restart = not load_modules(
^^^^^^^^^^^^^
File "/home/raimon/projectes/nandev2/163291/trytond/trytond/modules/__init__.py", line 384, in load_modules
_load_modules(update)
File "/home/raimon/projectes/nandev2/163291/trytond/trytond/modules/__init__.py", line 346, in _load_modules
graph = create_graph(modules)
^^^^^^^^^^^^^^^^^^^^^
File "/home/raimon/projectes/nandev2/163291/trytond/trytond/modules/__init__.py", line 105, in create_graph
raise MissingDependenciesException(list(missing))
trytond.exceptions.MissingDependenciesException: Missing dependencies: company