summaryrefslogtreecommitdiff
path: root/addons/website/data/website_data.xml
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2018-12-26 11:15:24 +0000
committerRomain Derie <rde@odoo.com>2019-01-09 15:21:35 +0000
commit37b518f1749aff3d6ffb2246c32f2aa1e67d9067 (patch)
tree1c76fba9d4ede89c9969f22636d4ab39e251d2b6 /addons/website/data/website_data.xml
parent30ed4c08ccf3586134757bf006fc76f814d964a7 (diff)
[IMP] website, website_partner: use fields from mixin on res.partner
Currently, res.partner has: 1. `website_id` field hardcoded in website module 2. `website_published` field from website `website.published.mixin` in website_partner module. At the end, the res.partner model has all the field of the mixin `website.published.multi.mixin` without having the mixin. As a result, we have all the multi-website fields but we don't have access to the mixins methods & computes. Now, we use the `website.published.multi.mixin` on res.partner in website module even if `website_published` is not needed if website_partner is not installed. + add tooltip to `website` field to prevent warning since 2 fields would have the same label closes odoo/odoo#29711
Diffstat (limited to 'addons/website/data/website_data.xml')
0 files changed, 0 insertions, 0 deletions