summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields
diff options
context:
space:
mode:
authorAdrien Dieudonne <adr@odoo.com>2017-11-24 10:33:47 +0100
committerAdrien Dieudonne <adr@odoo.com>2017-11-27 08:18:49 +0100
commitbb1602b3ace25a426521b416b0330f2b39591b0c (patch)
tree8b0ddf9919b6c0882ead205f71330bbc1c68db3e /addons/web/static/src/js/fields
parent85a3e1e38593609086889654749589f633d924bf (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 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions