Am Samstag, 23. Juni 2018 23:55:05 UTC+2 schrieb Cédric Krier: > On 2018-06-23 09:31, 'Hendrik Brandes' via tryton-dev wrote: > > I tried to migrate an existing tryton installation and get the following > > error: > > > > AssertionError: <class 'trytond.pool.sale.line'>.margin not callable > > What is the traceback?
I started the trytond-admin command with parameter --all and finally got the following traceback: Traceback (most recent call last): File "/opt/projekte/git/tryton2018/EBBTryton2018/bin/trytond-admin", line 21, in <module> admin.run(options) File "/opt/projekte/git/tryton2018/EBBTryton2018/trytond/admin.py", line 54, in run activatedeps=options.activatedeps) File "/opt/projekte/git/tryton2018/EBBTryton2018/trytond/pool.py", line 162, in init lang=lang, activatedeps=activatedeps) File "/opt/projekte/git/tryton2018/EBBTryton2018/trytond/modules/__init__.py", line 406, in load_modules _load_modules(update) File "/opt/projekte/git/tryton2018/EBBTryton2018/trytond/modules/__init__.py", line 376, in _load_modules load_module_graph(graph, pool, update, lang) File "/opt/projekte/git/tryton2018/EBBTryton2018/trytond/modules/__init__.py", line 165, in load_module_graph pool.setup(classes) File "/opt/projekte/git/tryton2018/EBBTryton2018/trytond/pool.py", line 236, in setup cls.__setup__() File "/opt/projekte/git/tryton2018/EBBTryton2018/trytond/modules/sale_margin/sale.py", line 109, in __setup__ super(SaleLine, cls).__setup__() File "/opt/projekte/git/tryton2018/EBBTryton2018/trytond/modules/sale_price_list/sale.py", line 49, in __setup__ super(SaleLine, cls).__setup__() File "/opt/projekte/git/tryton2018/EBBTryton2018/trytond/modules/sale_discount/sale.py", line 56, in __setup__ super(SaleLine, cls).__setup__() File "/opt/projekte/git/tryton2018/EBBTryton2018/trytond/modules/sale/sale.py", line 1120, in __setup__ super(SaleLine, cls).__setup__() File "/opt/projekte/git/tryton2018/EBBTryton2018/trytond/model/order.py", line 15, in __setup__ super(SequenceOrderedMixin, cls).__setup__() File "/opt/projekte/git/tryton2018/EBBTryton2018/trytond/model/modelsql.py", line 164, in __setup__ super(ModelSQL, cls).__setup__() File "/opt/projekte/git/tryton2018/EBBTryton2018/trytond/model/modelstorage.py", line 59, in __setup__ super(ModelStorage, cls).__setup__() File "/opt/projekte/git/tryton2018/EBBTryton2018/trytond/model/modelview.py", line 194, in __setup__ setup_field(name, field, attribute) File "/opt/projekte/git/tryton2018/EBBTryton2018/trytond/model/modelview.py", line 175, in setup_field "%s.%s not callable" % (cls, meth_name) AssertionError: <class 'trytond.pool.sale.line'>.margin not callable > > -- > Cédric Krier - B2CK SPRL > Email/Jabber: cedric.kr...@b2ck.com > Tel: +32 472 54 46 59 > Website: http://www.b2ck.com/ -- You received this message because you are subscribed to the Google Groups "tryton-dev" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton-dev/29f80434-c1f0-4bd9-9583-f7bf9630c694%40googlegroups.com.