Hi,

I am trying to do a multi company setup from scratch. When I assign
the chart of accounts to the second company I run into difficulties
when the wizard assigns the receivable and payable account for the
second company.

I have tried with tryton 1.8 and neso 1.8/2.0. I tried different ways
and always ran into more or less the same error situation.

I will describe the way I do it, the setup is simple:

- Start with a fresh database, add a user through the wizard but
continue the work with the admin user.
- Add the account module (which will also install other modules like
company, country, party, etc)
- Following the wizard after the module install, create a main company
c1 with euro, country, language. Still following the wizard, create
the chart of accounts for c1, selecting the "minimal account"
template. At the end the standard receivable and payable account "main
receivable" and "main payable" are accepted like suggested from the
wizard.

So far everything works and I thought this is the simple way to do a
single company setup.

But now I add a second company c2 as a sub-company of c1, using "Party
- Configuration - Companies - New Company". I do exactly the same as
with c1, but this time I cannot complete the wizard.

The error message I see at the last step, when i want to select the 2
standard accounts for c2:

You try to bypass an accesss rule (document type "account")

followed by

Traceback (most recent call last):
  File "tryton\tryton\gui\window\view_form\view\form_gtk
\many2one.pyc", line 218, in sig_edit
  File "tryton\tryton\gui\window\view_form\model\field.pyc", line 387,
in set_client
KeyError: 'account_receivable'

Ohter messages I have seen:

1) No access rights for document type "accounts"

2) The value of the field "company" on "property" is not valid
according to its domain

Thank you for any help.

Kurt Miebach

-- 
[email protected] mailing list

Reply via email to