mirror of
https://github.com/bringout/oca-ocb-sale.git
synced 2026-04-27 01:32:00 +02:00
19.0 vanilla
This commit is contained in:
parent
79f83631d5
commit
73afc09215
6267 changed files with 1534193 additions and 1130106 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue