diff options
Diffstat (limited to 'addons/event_sale/tests/common.py')
| -rw-r--r-- | addons/event_sale/tests/common.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/addons/event_sale/tests/common.py b/addons/event_sale/tests/common.py new file mode 100644 index 00000000..bc4be1d8 --- /dev/null +++ b/addons/event_sale/tests/common.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from odoo.addons.event.tests.common import TestEventCommon +from odoo.addons.sales_team.tests.common import TestSalesCommon + + +class TestEventSaleCommon(TestEventCommon, TestSalesCommon): + + @classmethod + def setUpClass(cls): + super(TestEventSaleCommon, cls).setUpClass() + + cls.event_product = cls.env['product.product'].create({ + 'name': 'Test Registration Product', + 'description_sale': 'Mighty Description', + 'list_price': 10, + 'event_ok': True, + 'standard_price': 30.0, + 'type': 'service', + }) |
