diff options
| author | Olivier Dony <odo@openerp.com> | 2011-09-19 16:48:21 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2011-09-19 16:48:21 +0200 |
| commit | 8c5cb638b9685ee359da168655c99a77114c1d2f (patch) | |
| tree | e68bf63485ce3e29a0ad08ed3983bcd1f637df35 /addons/web_graph/static/lib/dhtmlxGraph/codebase | |
| parent | a4cebd9a5532fe53ab3cf21153fa7fc852cea3d7 (diff) | |
| parent | a5a07e49933d0f21958940e3c7339130aaf5e0d7 (diff) | |
[MERGE] enforce unique `key` attribute for res.currency, ir.model, res.company
For res.company the constraint is made of 2 parts:
- one normal unique constraint (name,company_id) to catch
most cases and define the user error message
- one additional unique index to enforce the unique currency
name even for multiple entries with NULL company_id, not
caught by the constraint. The index is named with the
constraint name as prefix, in order to automatically
share the user error message
Also, cleanup up the res.currency views a bit, and improved
field labels in ir.model to make them easier to understand.
lp bug: https://launchpad.net/bugs/789019 fixed
bzr revid: odo@openerp.com-20110919144821-708avl7t9q7g8vpr
Diffstat (limited to 'addons/web_graph/static/lib/dhtmlxGraph/codebase')
0 files changed, 0 insertions, 0 deletions
