From 4600deeeead6207dcf0b9c0fd37cd53c791d0f58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 14 May 2024 08:56:28 +0200 Subject: [PATCH] Clear company on the lot sequence in production scenario Since 9191fe4b4da4, the sequence can not be restricted to a company. Closes #13257 (grafted from 04fe7c297ff324c623d73fe852fd3403bdc74199) --HG-- branch : 7.0 --- modules/production/tests/scenario_production_lot_number.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/production/tests/scenario_production_lot_number.rst b/modules/production/tests/scenario_production_lot_number.rst index a6cd950410..04a521442c 100644 --- a/modules/production/tests/scenario_production_lot_number.rst +++ b/modules/production/tests/scenario_production_lot_number.rst @@ -31,7 +31,7 @@ Create lot sequence:: >>> sequence_type, = SequenceType.find( ... [('name', '=', "Stock Lot")], limit=1) - >>> sequence = Sequence(name="Lot", sequence_type=sequence_type) + >>> sequence = Sequence(name="Lot", sequence_type=sequence_type, company=None) >>> sequence.save() Create product::