[6.1, account] Tax description should not have uniqueness constraint
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
Stephane Wirtel (OpenERP) |
Bug Description
Hi,
since a couple of days, the uniqueness constraint on the field 'name' on the Tax model (account.tax) has been swapped for a uniqueness constraint on the field 'description' (see [1]). I do not believe that this is correct, for the following two reasons:
- The description field is not a required field, and many localisations do not use it. To have a uniqueness constraint on such a field is meaningless.
- Other localisations such as the Dutch, German, Austrian and Canadian naturally use the same description as a shorthand for similar taxes that cannot occur together. In case of l10n_nl for instance, the same description reflects the tax type and percentage for both taxes payable and receivable. In the current state of the repository, it is not possible to configure a chart of accounts anymore according to any of these localisation modules.
Please revert the commit refered to in [1].
Cheers,
Stefan.
[1] http://
Related branches
Changed in openobject-addons: | |
assignee: | nobody → Stephane Wirtel (OpenERP) (stephane-openerp) |
importance: | Undecided → Medium |
status: | New → Fix Released |
milestone: | none → 6.1 |
description is used for Tax Code. The real question is: do we really need both a tax code and a tax name ? Also we have to consider the fact that in the future the many2many taxes will be displayed using an textextjs widget (showing only the name_get).