Al 16/02/13 18:23, En/na Albert Cervera i Areny ha escrit:

A Divendres, 15 de febrer de 2013 16:23:42, Cédric Krier va escriure:

> On 11/01/13 11:16 +0000, [email protected] wrote:

> > Reviewers: ,

> >

> >

> >

> > Please review this at http://codereview.tryton.org/637002/

>

> I'm wondering as both account_es and account_es_pyme are quite large.

> Is not it possible have them sharing the same template?

> If I remember well, I think one is just a subset of the other?

No, one template is not a subset of the other. account_es_pyme has less accounts and entries in balance and profit and loss reports than account_es. But also some of these accounts or entries are different between the two templates (for example some accounts have the same code but different name). So it is impossible to share the same template. They must be different templates because the account charts are different.

Notice that the two templates only have the same taxes, tax codes and tax rules, but taxes have relations to accounts, so each template have their taxes related to its accounts.


It should be possible for accounts, currently those XMLs are generated using some scripts. Jesus, do you think we could change the scripts so only groups 8 and 9 are put in a new XML?

As I said before, this proposal does not solve the problem. There are many differences between the two account charts, normal and pyme (small companies), not only in accounts of groups 8 and 9.

See in [1] the accounts for normal companies, and in [2] for pyme (small companies). Normal has accounts for 8 and 9 groups that pyme hasn't. But you can check that for groups 1-7, normal has 1548 accounts and pyme 1427 accounts. And there are some accounts with same code but different name, e.g. 2935, 5590, 5595, 663, 763.

See in [3] the entries in balance and profit and loss reports (account types) for normal companies, and in [4] for pyme (small companies). There are lot of differences, the same concepts have different number, it is impossible to configure one as a subset of the other.


Then we should make account_es depend on account_es_pyme and that's it.

Jordi, do you know if there are any differences between both? Any side effects/differences in balance and profit and loss reports?


Yes, as I said, there are many differences in accounts and entries in balance and profit and loss reports that is impossible to share the same template.

Jordi


[1] https://bitbucket.org/trytonspain/tryton-account_es_csv2xml/src/7ae9963c4a60d21603829f2f0004378faa2f3b45/account.csv

[2} https://bitbucket.org/trytonspain/tryton-account_es_csv2xml/src/7ae9963c4a60d21603829f2f0004378faa2f3b45/account_pymes.csv

[3] https://bitbucket.org/trytonspain/tryton-account_es_csv2xml/src/7ae9963c4a60d21603829f2f0004378faa2f3b45/account_type.csv

[4] https://bitbucket.org/trytonspain/tryton-account_es_csv2xml/src/7ae9963c4a60d21603829f2f0004378faa2f3b45/account_type_pymes.csv

--
Jordi Esteve
Consultor Zikzakmedia SL
[email protected]
Mòbil 679 170 693

Zikzakmedia SL
Dr. Fleming, 28, baixos
08720 Vilafranca del Penedès
Tel 93 890 2108

--
--
[email protected] mailing list

--- You received this message because you are subscribed to the Google Groups "tryton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to