Skip to content
Snippets Groups Projects
Commit 1fa1f4ae authored by William Henrotin's avatar William Henrotin
Browse files

[FIX] stock: enforce test to be deterministic


test_putaway_6 creates 2 putaway rules on the same product category but to different location.
As the order on putaway rule is [sequence, product_id] and the two have the same sequence,
it can happens that the choosen rule is not always the same,

Furthermore, the test tried to show the hierarchy between two category matters in term
of putaway rule.

This commit create a child category of 'all' and set it on one of the rule.

closes odoo/odoo#35264

Signed-off-by: default avatarSimon Lejeune (sle) <sle@openerp.com>
parent 81f024b5
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment