summaryrefslogtreecommitdiff
path: root/addons/hr_work_entry/models/__init__.py
diff options
context:
space:
mode:
authorRobot Odoo <xmo+roboto@odoo.com>2019-07-04 18:42:51 +0200
committerGitHub <noreply@github.com>2019-07-04 18:42:51 +0200
commit3fc2a27808ca4e4ce74884580543e70537d5ce3b (patch)
treedcc607ed9bf97adfa0bc12ce1695cc332da7254c /addons/hr_work_entry/models/__init__.py
parentcaf900e89ea292c56ed773232792a2aab19de8d5 (diff)
parent2511841da1c42622b2d83f2235417bb83d14a76a (diff)
[MERGE] project, sale_timesheet: multi company fixes
Impacted modules: project, sale, sale_timesheet and project_timesheet_holidays. Since a5b6f31cf28e5381e1c85f66730bcdb55998e643, the multi company environment is contextualized, allowing people to see several company documents at the same time. This reveals some problem in such env. To solve this, we need to force the "company_id" field as required on some business model, and to correctly propagate the company when a document generate another one. The guidelines is to stop using company of current user, but the one of the document itself. See subcommits for more details. Task-1999686 closes odoo/odoo#33739 Signed-off-by: Jérome Maes (jem) <jem@openerp.com>
Diffstat (limited to 'addons/hr_work_entry/models/__init__.py')
0 files changed, 0 insertions, 0 deletions