En/na Cédric Krier ha escrit:
On 15/09/11 03:06 -0700, Jordi Esteve wrote:
In current version of Tryton you can set customer and supplier tax
rules. But I don't know how to set account mapping rules, I think this
is a missing feature in Tryton.

Account mapping rules are implemented in OpenERP inside the fiscal
position object. They allow change some accounts to other accounts in
an account move created from an invoice for a party using this account
mapping rules. This feature is very important for some countries, like
Spain.

Could you explain exactly what is it? With an example/scenario/use case.
Is the same that the taxes rules defined in Tryton but applied to accounts (account.account).

For example, in Spain we have these 3 main "Fiscal positions":

National: For Spain parties.
Intra-community: For European Union parties.
Extra-community: For the other parties (no EU countries).

For sales of National parties we must use 7000, 7010, 7020, 7030, 7040, 7050 accounts. They are defined in product or product category.

For sales of Intra-community parties we must use 7001, 7011, 7021, 7031, 7041, 7051 accounts. So we need this mapping when we add invoice lines:
7000 -> 7001
7010 -> 7011
7020 -> 7021
7030 -> 7031
7040 -> 7041
7050 -> 7051

For sales of Extra-community parties we must use 7002, 7012, 7022, 7032, 7042, 7052 accounts. So we need this mapping when we add invoice lines:
7000 -> 7002
7010 -> 7012
7020 -> 7022
7030 -> 7032
7040 -> 7042
7050 -> 7052


Also the concept of "Fiscal position" make things easier for the
accountants, because it is easier to set a fiscal position to a party
(fiscal position as a customer and fiscal position as a supplier) than
a set of tax mapping rules and a set of account mapping rules for
customer and supplier.

For me, it is the same except the names are different.
Yes, is the same, but fiscal position joins a tax mapping and a account mapping in a single concept. Well, first we must discuss about the account mapping feature. Later we can discuss about how to add it in the party object.

The questions are: Is planned to add this feature in next Tryton
versions?
When? It is better to be added in the core (account module)
or in a new module?

If it is not planned to be included in the core of
Tryton maybe some Spanish people will try to implement in a separated
module, but we think other localizations will need it also.

Why people always think their country is different?
You should almost never create a module for a country.
You must create a module for a feature.
I agree, so I write this post to know if it is a common need. IMHO it is useful for others, so a general module must be done, but the best solution is to include this feature in the account module like openerp does.

Jordi

--
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

Reply via email to