Reduce ordered qty in Purchase Receipt based on PO warehouse

This commit is contained in:
Nabin Hait
2013-09-25 19:58:32 +05:30
parent 7496b528a1
commit 1ec5109a1a
5 changed files with 90 additions and 34 deletions

View File

@@ -117,7 +117,7 @@ def check_negative_balance(account, adv_adj=False):
flt(balance[0][0]) or -1*flt(balance[0][0])
if flt(balance) < 0:
webnotes.throw(_("Negative balance is not allowed for account ") + self.doc.account)
webnotes.throw(_("Negative balance is not allowed for account ") + account)
def check_freezing_date(posting_date, adv_adj=False):
"""