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.

> - It may also be necessary to change some domains and checks that require
> > the company of the account to be the same of another record
> >
> > - Taxes also have a company but again the most important thing for the
> tax
> > is not the company but the currency. Some taxes can have a fixed amount
> and
> > thus this needs a currency. I think we could replace the m2o of the
> company
> > with a m2o to the currency. Also, we could add some checks to ensure the
> > currency of the tax is the same of the company when using the taxes
> > (similar to what's currently done with the company).
> >
> > What do you think? Anyone else with similar needs? Showstoppers I didn't
> > think of? Any chance of making it into Tryton?
>
> Any. A chart of account is specific to each company. Your case is just a
> shortcut which should not influence the design of Tryton.
> You can use templates to synchronize account charts.
> Idem for taxes.


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



-- 
Albert Cervera i Areny
Tel. 93 553 18 03
@albertnan
www.NaN-tic.com

Reply via email to