diff options
| author | Laurent Mignon (ACSONE) <laurent.mignon@acsone.eu> | 2017-09-14 12:16:32 +0200 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2017-09-19 17:25:27 +0200 |
| commit | e34f6aaa26f022762c27ee62666e81e42eb1b8c5 (patch) | |
| tree | 7d667dd77e2ceccec86494a97f49f7791a6d7832 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | f234376034566fb6579306cfe9bb9cd812fd507c (diff) | |
[FIX] stock: procurements must be confirmed with the right company
The method _procure_orderpoint_confirm in stock/procurement is calld in sudo() by run_scheduler.
Even if this method receives the company as parameter, the company is not enforced for all
the processes trigerred into the method. i.e. If a PO is generated by the run of the procurements
the sequence used is the one of the admin's company and not the one for the given company.
To enforce the company to use, we force the company into the context if it's not the same as
the user's company.
opw:771851
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
