On 10/09/13 15:56 -0300, Gmail - Iasmini wrote:
> Em 10/09/2013 09:43, Cédric Krier escreveu:
> >On 09/09/13 14:12 -0700, igomes wrote:
> >>Hi,
> >>
> >>I've seen this topic
> >>
https://groups.google.com/forum/#!searchin/tryton/%22account$20type%22/tryton/eXsl86_Q9l8/eA_13YUypNsJ
> >>
> >>and this page:
> >>
http://doc.tryton.org/2.2/modules/account/doc/index.html#account
> >>
> >>but I can't create my own chart of accounts. I saw there was a minimal
> >>account chart registered on Account Templates. But I want to modify or
> >>create new ones and it's not possible, the new button is disabled.
> >>
> >>Do I have to have especial permissions to do this?
> >
> >You can not create a template of chart from the interface, you must
> >create a module like the account_be, account_fr, account_de_skr03.
>
> Ok, I'm creating the Brazilian chart of accounts, like account_fr.
>
> I looked at the account_fr.xml and I have to fill the tables
> account_template and account_type.
Yes and also tax.template, tax.code.template and tax.rule.template.
I strongly suggest you to base your work on a more recent version of
Tryton (last is 2.8). 2.2 will be deprecated in less than 8 months.
> but it was not very clear what is the account_type (wich defines the
> structure of the reports), but I did not understand exactly what it
> is and what is the connection of each item of account_template with
> account_type.
>
> Could someone give me some examples?
account.type should represent the structure of both report:
- Balance Sheet
- Income statement
And generally Income statement is inside Balance sheet to display P&L
on the fly.
Once you get this structure you must set every non-view account into one
of the account.type like that you define if it is part of the Balance
(assets, liabilities equity etc.) or Income (expense, revenue etc.).