Error on creation of Chart of account from Template

12 views
Skip to first unread message

Richmond Fiko

unread,
Apr 20, 2018, 4:37:54 AM4/20/18
to tryton-dev
Hello,

I create a COA template.
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?

Sergi Almacellas Abellana

unread,
Apr 20, 2018, 4:49:27 AM4/20/18
to tryto...@googlegroups.com
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?
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

Richmond Fiko

unread,
Apr 20, 2018, 5:55:07 AM4/20/18
to tryton-dev
The COA is for West africa SYSCOHADA
Reply all
Reply to author
Forward
0 new messages