diff options
| author | Pierre Masereel <pim@odoo.com> | 2016-11-04 16:53:25 +0100 |
|---|---|---|
| committer | Pierre Masereel <pim@odoo.com> | 2016-11-09 15:15:30 +0100 |
| commit | 0d33621ad36c85bcfa1c20e28ad5760d19365493 (patch) | |
| tree | 54e8dc0d42e14d08440fd13e2cb21dcea31d1b07 /addons/website/static/src/xml/website.contentMenu.xml | |
| parent | df34168177919d27c573c478ae4e998aa1ddc389 (diff) | |
[FIX] stock: tests on stockable product
The tests are running on consumable product, it means that there is no
resevation of quants and verification of reserved quants when you create
and assign moves. So the tests are not really usefull with consumable
products.
To make the tests efficients, we set the products as stockable. And we
use 'reserved_availability' instead of 'availability' in tests
'test_10_pickings_transfer_with_different_uom' and in
'test_00_picking_create_and_transfer_quantity' be cause the assert is
done after the move reservation.
In test 'test_00_picking_create_and_transfer_quantity' when we check the
move_lines state after the action assign, the first and last should be
only 'confirmed, because they are partially available. When product
were not stockable, all lines were assign, because there was no check of
the reserved quants.
In 'test_10_pickings_transfer_with_different_uom' we removed the call
'picking_out.action_confirm()' and 'picking_out.action_assign()',
because they already have been called before.
Diffstat (limited to 'addons/website/static/src/xml/website.contentMenu.xml')
0 files changed, 0 insertions, 0 deletions
