mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 10:11:20 +00:00
[Enhance] Added Budget exception approver role in company (#14645)
* [Enhance] Added Budget exception approver role in company * Added test cases for budget
This commit is contained in:
committed by
Nabin Hait
parent
b4ad3c3f77
commit
34c187706d
@@ -518,7 +518,9 @@ class BuyingController(StockController):
|
||||
args = data.as_dict()
|
||||
args.update({
|
||||
'doctype': self.doctype,
|
||||
'company': self.company
|
||||
'company': self.company,
|
||||
'posting_date': (self.schedule_date
|
||||
if self.doctype == 'Material Request' else self.transaction_date)
|
||||
})
|
||||
|
||||
validate_expense_against_budget(args)
|
||||
|
||||
Reference in New Issue
Block a user