The COA is for West africa SYSCOHADA Le vendredi 20 avril 2018 08:49:27 UTC, Sergi Almacellas Abellana a écrit : > El 19/04/18 a les 23:56, Richmond Fiko ha escrit: > > Hello, > > > > I create a COA template. > > Just for curiosity, for which country is the CoA? > > > I install it but when I want to create a new chart of account from this > > template, I got this error. > > > > Traceback (most recent call last): > > File "/trytond/wsgi.py", line 47, in dispatch_request > > return endpoint(request, **request.view_args) > > File "/trytond/protocols/dispatcher.py", line 41, in rpc > > request, database_name, *request.rpc_params) > > File "/trytond/wsgi.py", line 39, in auth_required > > return wrapped(*args, **kwargs) > > File "/trytond/protocols/wrappers.py", line 106, in wrapper > > return func(request, pool, *args, **kwargs) > > File "/trytond/protocols/dispatcher.py", line 163, in _dispatch > > result = rpc.result(meth(*c_args, **c_kwargs)) > > File "/trytond/wizard/wizard.py", line 287, in execute > > return wizard._execute(state_name) > > File "/trytond/wizard/wizard.py", line 318, in _execute > > result = self._execute(transition()) > > File "/trytond/modules/account/account.py", line 1923, in > > transition_create_account > > template2type=template2type) > > File "/trytond/modules/account/account.py", line 117, in create_type > > assert self.parent is None > > AssertionError > > > > > > Can someone help me to understand it? > > The type you used on the root account of your CoA has a parent set. As > it's the type of the root account is should not have any parent set. > > Hope it helps. > > -- > Sergi Almacellas Abellana > www.koolpi.com > Twitter: @pokoli_srk
-- 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/4e3be001-759c-4160-9706-5b3289d054f3%40googlegroups.com.