| 1 |
from odoo.addons.account.tests.common import AccountTestInvoicingCommon |
| 2 |
from odoo.addons.point_of_sale.tests.test_generic_localization import TestGenericLocalization |
| 3 |
from odoo.tests import tagged |
| 4 |
|
| 5 |
|
| 6 |
@tagged('post_install', '-at_install', 'post_install_l10n') |
| 7 |
class TestGenericIN(TestGenericLocalization): |
| 8 |
|
| 9 |
@classmethod |
| 10 |
@AccountTestInvoicingCommon.setup_country('in') |
| 11 |
def setUpClass(cls): |
| 12 |
super().setUpClass() |
| 13 |
cls.state_in_gj = cls.env.ref('base.state_in_gj') |
| 14 |
cls.main_pos_config.company_id.write({ |
| 15 |
'name': "Default Company", |
| 16 |
'state_id': cls.state_in_gj.id, |
| 17 |
'vat': "24AAGCC7144L6ZE", |
| 18 |
'street': "Khodiyar Chowk", |
| 19 |
'street2': "Sala Number 3", |
| 20 |
'city': "Amreli", |
| 21 |
'zip': "365220", |
| 22 |
}) |