mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 18:59:08 +00:00
Companywise default tax template (#12290)
* Companywise default tax template * Fix test cases
This commit is contained in:
committed by
Nabin Hait
parent
3f784a7a49
commit
bc2c83ee3c
@@ -128,7 +128,7 @@ class TestShoppingCart(unittest.TestCase):
|
||||
"contact_email": frappe.session.user,
|
||||
"selling_price_list": "_Test Price List Rest of the World",
|
||||
"currency": "USD",
|
||||
"taxes_and_charges" : "_Test Tax 1",
|
||||
"taxes_and_charges" : "_Test Tax 1 - _TC",
|
||||
"conversion_rate":1,
|
||||
"transaction_date" : nowdate(),
|
||||
"valid_till" : add_months(nowdate(), 1),
|
||||
@@ -136,7 +136,7 @@ class TestShoppingCart(unittest.TestCase):
|
||||
"item_code": "_Test Item",
|
||||
"qty": 1
|
||||
}],
|
||||
"taxes": frappe.get_doc("Sales Taxes and Charges Template", "_Test Tax 1").taxes,
|
||||
"taxes": frappe.get_doc("Sales Taxes and Charges Template", "_Test Tax 1 - _TC").taxes,
|
||||
"company": "_Test Company"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user