diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2018-08-03 17:07:26 +0200 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2018-08-06 13:18:26 +0200 |
| commit | 84abc9d06c580c941400528c9399e159765541c2 (patch) | |
| tree | 74c498b0e010faf3bda366ca4c886a56c3c690e9 /addons/web_editor/static/src/js/editor/transcoder.js | |
| parent | b29e053436b69223e25c49955006c910cd59316d (diff) | |
[FIX] purchase: Receive Products ok context F5
The `active_id` when clicking on "Receive Products" on a purchase order
is the one of the purchase order.
But the action used has a context with:
```
{
'search_default_picking_type_id': [active_id],
'default_picking_type_id': active_id,
'contact_display': 'partner_address',
}
```
So the active_id should be a stock.picking.type and not a purchase
order, thus:
- we could get an error at some instance (eg. a refresh) when loading
the facet of the stock.picking.type with the ID of a purchase order
- we could erroneously show a facet for a stock.picking.type with the ID
being the same as the purchase order
So this commit uses the same action without the offending `active_id` in
context.
opw-1870687
closes #26160
Diffstat (limited to 'addons/web_editor/static/src/js/editor/transcoder.js')
0 files changed, 0 insertions, 0 deletions
