[FIX] point_of_sale: fix test with hardcoded pricelist ID
This fix removes the hardcoded pricelist ID and uses the one used in the PoS config instead. closes odoo/odoo#129136 X-original-commit: f5d3e985ad41af29fc6cbcfc2417e475443cd00d Signed-off-by: Robin Heinz (rhe) <rhe@odoo.com> Signed-off-by: Robin Engels (roen) <roen@odoo.com>
This commit is contained in:
@@ -146,6 +146,7 @@ class TestPointOfSaleFlow(TestPointOfSaleCommon):
|
||||
[0, 0, {'lot_name': '1002'}],
|
||||
]
|
||||
})],
|
||||
'pricelist_id': self.pos_config.pricelist_id.id,
|
||||
'amount_paid': 12.0,
|
||||
'amount_total': 12.0,
|
||||
'amount_tax': 0.0,
|
||||
@@ -1456,6 +1457,7 @@ class TestPointOfSaleFlow(TestPointOfSaleCommon):
|
||||
[0, 0, {'lot_name': '1001'}],
|
||||
]
|
||||
})],
|
||||
'pricelist_id': self.pos_config.pricelist_id.id,
|
||||
'amount_paid': 6.0,
|
||||
'amount_total': 6.0,
|
||||
'amount_tax': 0.0,
|
||||
|
||||
Reference in New Issue
Block a user