diff options
| author | Adrien Dieudonne <adr@odoo.com> | 2017-11-24 10:33:47 +0100 |
|---|---|---|
| committer | Adrien Dieudonne <adr@odoo.com> | 2017-11-27 08:18:49 +0100 |
| commit | bb1602b3ace25a426521b416b0330f2b39591b0c (patch) | |
| tree | 8b0ddf9919b6c0882ead205f71330bbc1c68db3e /odoo/addons/base/data/base_data.sql | |
| parent | 85a3e1e38593609086889654749589f633d924bf (diff) | |
[IMP] models: avoid empty string as module name
When you import a record in Odoo, you can specify an id without
prefixing it by the name of the module. e.g. 'project_project_x'
The result of this is an empty string as module name.
(This value is valid for a required field...)
Plus, when you check metadata, you see 'false.project_project_x'.
Now, the default module name is '__import__' instead of an empty string.
We already have similar behavior with '__export__' triggered by
'export_data' method.
Diffstat (limited to 'odoo/addons/base/data/base_data.sql')
0 files changed, 0 insertions, 0 deletions
