summaryrefslogtreecommitdiff
path: root/addons/project/web_planner_data.xml
diff options
context:
space:
mode:
authorYannick Tivisse <yti@odoo.com>2015-10-16 10:42:32 +0200
committerYannick Tivisse <yti@odoo.com>2015-11-06 14:51:17 +0100
commitfac4127470a670a7d2ca9364514f85fd9e70711e (patch)
tree6069e02d1dcc4e5e7cb9ddc6d3fb9577af5c6af9 /addons/project/web_planner_data.xml
parent7c9d93f0ef9de4eb9800522496b2d419003fd41a (diff)
[IMP] product: Change 'default_code' to a compute field
Goal : Don't display the internal reference from one of the product template as it was currently the case, because it was a related field to a one2many. Here, we use the same behavior as for weight,volume or standard price fields. If only 1 variant, i.e. no variant used, take the default_code from the template If more than 1 variant, do not display anything.
Diffstat (limited to 'addons/project/web_planner_data.xml')
0 files changed, 0 insertions, 0 deletions