[fix] authorization rule fix for sales order
diff --git a/erpnext/selling/doctype/sales_order/sales_order.py b/erpnext/selling/doctype/sales_order/sales_order.py
index 060ed62..2e0a272 100644
--- a/erpnext/selling/doctype/sales_order/sales_order.py
+++ b/erpnext/selling/doctype/sales_order/sales_order.py
@@ -153,7 +153,7 @@
self.check_credit_limit()
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')