forked from osbzr/gooderp_addons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest_tax_config.py
21 lines (19 loc) · 906 Bytes
/
test_tax_config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# -*- coding: utf-8 -*-
from odoo.tests.common import TransactionCase
class TaxConfigWizard(TransactionCase):
def test_set_default(self):
''' Test: set_default '''
tax_config_obj = self.env['tax.config.settings']
tax_config_obj.set_default_goods_supplier()
tax_config_obj.set_default_service_supplier()
tax_config_obj.set_default_customer()
tax_config_obj.set_default_buy_goods_account()
tax_config_obj.set_default_sell_goods_account()
tax_config_obj.set_default_tax_num()
tax_config_obj.set_default_country_name()
tax_config_obj.set_default_country_tel_number()
tax_config_obj.set_default_company_name()
tax_config_obj.set_default_province_password()
tax_config_obj.set_default_country_password()
tax_config_obj.set_default_dmpt_name()
tax_config_obj.set_default_dmpt_password()