Call calculate_taxes_and_totals after mapping

This commit is contained in:
Anand Doshi
2014-04-22 20:35:22 +05:30
parent 4bb87373dc
commit b054eb7a4f
14 changed files with 119 additions and 157 deletions

View File

@@ -11,10 +11,6 @@ from erpnext.accounts.party import get_party_details
from erpnext.controllers.stock_controller import StockController
class BuyingController(StockController):
def onload_post_render(self):
# contact, address, item details
self.set_missing_values()
def validate(self):
super(BuyingController, self).validate()
if getattr(self, "supplier", None) and not self.supplier_name: