diff options
| author | Denis Ledoux <dle@odoo.com> | 2017-02-06 13:05:06 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2017-02-06 13:08:45 +0100 |
| commit | 0a4db3c0d78abe39c9ac283d159040ea4af003a9 (patch) | |
| tree | 883c81f6598fa1caaaa28784e589b606d26326a2 /addons/project/data/web_planner_data.xml | |
| parent | 9dc96091f3b43a0c8e91fad1c15a9665d3c1467b (diff) | |
[FIX] purchase: refresh on shipments action button
When opening a purchase order shipments using
the given smart button, and attempting a refresh,
it leaded to a "record has been deleted" error,
because the current `active_id` is a purchase.order
id, while the `active_id` in the window action
`action_picking_tree` context expects a picking type
id.
The purpose of using `action_picking_tree` was to use
it as a template instead of having to create a full action
dict, not to actually use it.
By removing the id from the action dict, we prevent
to re-use the action window `action_picking_tree`
on refresh.
opw-706933
Diffstat (limited to 'addons/project/data/web_planner_data.xml')
0 files changed, 0 insertions, 0 deletions
