summaryrefslogtreecommitdiff
path: root/addons/website/data/website_data.xml
diff options
context:
space:
mode:
authorOdoo's Mergebot <xmo+roboto@odoo.com>2019-09-03 18:18:29 +0200
committerGitHub <noreply@github.com>2019-09-03 18:18:29 +0200
commit9aefd9e8c6364e74fd33f0b04ffde81a5bed04b0 (patch)
tree625cdca929697be7f3b1f38281d0a333b0361e92 /addons/website/data/website_data.xml
parentf6ab2198d7aee40f3b32c64379c9e973bcf85598 (diff)
parente4d64afc1d802669ac5fd589cb0166ab39cd2629 (diff)
[MERGE] stock, mrp and related addons: multi company
Add a `check_company` attribute on relational fields to apply a default domain restricting the records to the one of the record's company or without company. Add a `check_company` method on Model to ensure these domains are respected. Add a `check_company_auto` attribute on model to call `check_company` at create and write. Use this in stock, mrp and related addons. Joint work with William Henrotin <whe@odoo.com> Arnold Moyaux <arm@odoo.com> task-1985992 closes odoo/odoo#36222 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Diffstat (limited to 'addons/website/data/website_data.xml')
0 files changed, 0 insertions, 0 deletions