diff options
| author | Arnaud Baes <arb@odoo.com> | 2019-09-18 15:57:31 +0000 |
|---|---|---|
| committer | Arnaud Baes <arb@odoo.com> | 2019-09-19 09:15:26 +0000 |
| commit | 5ac0c268b245739db6349d572e3251af6a678bc2 (patch) | |
| tree | 9f9096d416569dc02ca3f8262e40f41d4840d82a /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | b6288e54461426d7aac6cfc549cee3e90309a093 (diff) | |
[FIX] purchase: wrong source document browsed.
For some reasons, when the `mail_compose_message` wizard tries to
read the name of its source document, the id and the model are
sometimes mismatched as a `purchase.requisition` or a `purchase.order`.
To avoid this we force the `active_model` and `active_id` in the context of `action_rfq_send` to be always referring to the current `puchase.order`.
closes odoo/odoo#37097
Taskid: BugsLogistics.
Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
