Apply default taxes on loading of document

This commit is contained in:
Nabin Hait
2015-05-12 15:07:02 +05:30
parent 23d6eb7e5c
commit ffc7f3fef6
6 changed files with 43 additions and 22 deletions

View File

@@ -42,8 +42,6 @@ class SellingController(StockController):
# set contact and address details for customer, if they are not mentioned
self.set_missing_lead_customer_details()
self.set_price_list_and_item_details()
if self.get("__islocal"):
self.set_taxes("taxes", "taxes_and_charges")
def set_missing_lead_customer_details(self):
if getattr(self, "customer", None):