diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2019-05-23 10:57:23 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2019-05-23 11:11:17 +0000 |
| commit | 9f7c476a6f6ec1ef5eed2cd44f165f5201747ab5 (patch) | |
| tree | fb4443aea12032693cc1bfa6d1bcd056675bdea1 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 886967766965f7781d8b7c5d87d8505bb6881747 (diff) | |
[FIX] stock: missing picking type
- Activate 'Lots & Serial Numbers'
- Create a stockable product A, enable tracking 'By Lots'
- From the menu Inventory > Operations > Transfers, create a picking:
Set a picking type
One line of A
It is not possible to set the lot number to validate the transfer.
When creating a picking from the menu, the context key
`default_picking_type_id` is not set. Therefore, the field
`picking_type_id` is empty on the `stock.move`.
We can fall back on the `picking_type_id` of the picking.
opw-1981958
closes odoo/odoo#33611
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
