diff options
| author | Denis Ledoux <dle@odoo.com> | 2015-05-18 17:13:40 +0200 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2015-05-18 17:20:31 +0200 |
| commit | 235cd2d015980265dbf8de5cff7caa50d1ce543b (patch) | |
| tree | 61f8bfd681ee8db060775eb9f0da0d63784da92e /addons/website/static/src/js/website.translator.js | |
| parent | f722254018a622a5bf932593a43c9c967b4ff1e0 (diff) | |
[FIX] mrp: find company bom when MO created from procurement through cron
Manufacturing Orders can be created from procurements,
as SUPERUSER_ID, since the procurements can be processed
through the WH scheduler, which is always ran as SUPERUSER_ID
In such a case, the record rules are ignored, and a BOM
normally not accessible to a user thanks to the multi-company
record rule could be chosen as the BOM of the MO.
This revision forces to find a BOM from a specific company
in such a case.
opw-640120
Diffstat (limited to 'addons/website/static/src/js/website.translator.js')
0 files changed, 0 insertions, 0 deletions
