19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:32:12 +01:00
parent 79f83631d5
commit 73afc09215
6267 changed files with 1534193 additions and 1130106 deletions

View file

@ -11,12 +11,17 @@ class TestEventBoothSaleCommon(TestEventBoothCommon):
def setUpClass(cls):
super(TestEventBoothSaleCommon, cls).setUpClass()
cls.env['account.tax.group'].create(
{'name': 'Test Account Tax Group', 'company_id': cls.env.company.id}
)
cls.event_booth_product = cls.env['product.product'].create({
'name': 'Test Booth Product',
'description_sale': 'Mighty Booth Description',
'list_price': 20,
'standard_price': 60.0,
'detailed_type': 'event_booth',
'type': 'service',
'service_tracking': 'event_booth',
})
(cls.event_booth_category_1 + cls.event_booth_category_2).write({
'product_id': cls.event_booth_product.id,
@ -32,7 +37,6 @@ class TestEventBoothSaleCommon(TestEventBoothCommon):
})
cls.test_pricelist_with_discount_included = cls.env['product.pricelist'].sudo().create({
'name': 'Test Pricelist',
'discount_policy': 'with_discount',
'item_ids': [
Command.create({
'compute_price': 'percentage',