From 67cacb397b20c5825c66fb61a321af6e1ee781c8 Mon Sep 17 00:00:00 2001 From: Tom Date: Mon, 11 Nov 2024 23:04:35 +0100 Subject: [PATCH] fixup! fixup! [ADD] delivery_package_sscc --- delivery_package_sscc/tests/test_ir_sequence.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/delivery_package_sscc/tests/test_ir_sequence.py b/delivery_package_sscc/tests/test_ir_sequence.py index 9e654d83fa..7c0db75aca 100644 --- a/delivery_package_sscc/tests/test_ir_sequence.py +++ b/delivery_package_sscc/tests/test_ir_sequence.py @@ -18,19 +18,11 @@ def test_sscc_sequence(self): "+ str(get_barcode_check_digit('123456789012' + number_padded + 'x'))" ) - package1 = self.env["stock.quant.package"].create( - { - "name": "Package 1", - } - ) + package1 = self.env["stock.quant.package"].create({}) sscc1 = package1.name _logger.info(sscc1) self.assertTrue(package1.valid_sscc) - package2 = self.env["stock.quant.package"].create( - { - "name": "Package 2", - } - ) + package2 = self.env["stock.quant.package"].create({} sscc2 = package2.name _logger.info(sscc2) self.assertTrue(package2.valid_sscc)