summaryrefslogtreecommitdiff
path: root/addons/crm/web_planner_data.xml
diff options
context:
space:
mode:
authorOlivier Laurent <olt@odoo.com>2015-09-09 13:21:43 +0200
committerOlivier Laurent <olt@odoo.com>2015-09-09 13:36:33 +0200
commitd0faf2815428293c16e47ddd3a4ca2e512c730c4 (patch)
treebb8458cd5af94eb120457ca440785225899e5b1e /addons/crm/web_planner_data.xml
parent4f09d136d08dddd924f2cac173cf12a114c58ccf (diff)
[FIX] analytic: methods used in default attribute should return a RecordSet
If a method used as a default returns an id instead of a RecordSet, it could fail in 'convert_to_write' (Many2One field) because it will try to return "value.id". If "value" is an integer, it fails. Also changed the method to a lambda expression and removed the '_default_user' method because it's not used anywhere.
Diffstat (limited to 'addons/crm/web_planner_data.xml')
0 files changed, 0 insertions, 0 deletions