mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 18:59:08 +00:00
Merge pull request #5544 from saurabh6790/authorization_rule_fix
[fix] authorization rule fix for sales order
This commit is contained in:
@@ -153,7 +153,7 @@ class SalesOrder(SellingController):
|
|||||||
self.check_credit_limit()
|
self.check_credit_limit()
|
||||||
self.update_reserved_qty()
|
self.update_reserved_qty()
|
||||||
|
|
||||||
frappe.get_doc('Authorization Control').validate_approving_authority(self.doctype, self.base_grand_total, self)
|
frappe.get_doc('Authorization Control').validate_approving_authority(self.doctype, self.company, self.base_grand_total, self)
|
||||||
|
|
||||||
self.update_prevdoc_status('submit')
|
self.update_prevdoc_status('submit')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user