Skip to content
Snippets Groups Projects
user avatar
Odoo's Mergebot authored
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: default avatarSimon Lejeune (sle) <sle@openerp.com>
9aefd9e8
History

Build Status Tech Doc Help Nightly Builds

Odoo

Odoo is a suite of web based open source business apps.

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...

Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

Getting started with Odoo

For a standard installation please follow the Setup instructions from the documentation.

Then follow the developer tutorials