On 02 Jul 17:30, Albert Cervera i Areny wrote:
> 2014-07-02 16:07 GMT+02:00 Cédric Krier <cedric.kr...@b2ck.com>:
> 
> > On 02 Jul 15:47, Albert Cervera i Areny wrote:
> > > We have a requirement for sharing the same chart of accounts among all
> > the
> > > companies in a Tryton database. In the first place we didn't want to
> > change
> > > anything in the account module because it seemed too invasive but the
> > > alternative keeping accounts in sync among all companies seems to be
> > worse
> > > and quite complex.
> > >
> > > The need for sharing the same chart of accounts comes from the need of
> > the
> > > same team of accountants working on 7 companies having predictable
> > accounts
> > > when working. The alternative for them is first realizing that an account
> > > is missing and creating it manually on each company but also with the
> > risk
> > > of not remembering a given account should exist and use the wrong one
> > > instead. An extra advantage for them is that having the same chart of
> > > accounts eases creating reports outside Tryton.
> > >
> > > So I've been looking at how hard it would be to make the company not
> > > required in account.account and related models. What I've seen so far is
> > > that:
> > >
> > > - Company field in account.account could be removed. It is mainly used
> > for
> > > two things:
> > >
> > >   - Determining the currency, which could be replaced by picking the
> > > currency (and digits) of the company the user is using currently. The
> > > account itself does not need to be linked to a company or currency
> > because
> > > it is only used for a Function field.
> > >   - Determining the company in account moves and account move lines. For
> > > this, we should add the company field in account.move or
> > account.move.line.
> > > Don't see much of a problem. It would mean changing some python code and
> > > some queries, but doesn't seem extremely complex.
> >
> > This one will be needed if we really want to have one day a real
> > multi-company support.
> >
> 
> I don't understand why you say it's required for true multi-company if
> chart of accounts must be a company thing. Because in this case, the
> company will always be linked to the account.

A move doesn't necessary have lines to get an account.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Attachment: pgpVTRDzS0_lr.pgp
Description: PGP signature

Reply via email to