Merge branch 'develop'
This commit is contained in:
commit
eda4265dbc
@ -1 +1 @@
|
||||
__version__ = '4.21.3'
|
||||
__version__ = '4.21.4'
|
||||
|
@ -4,7 +4,7 @@ app_publisher = "Web Notes Technologies Pvt. Ltd. and Contributors"
|
||||
app_description = "Open Source Enterprise Resource Planning for Small and Midsized Organizations"
|
||||
app_icon = "icon-th"
|
||||
app_color = "#e74c3c"
|
||||
app_version = "4.21.3"
|
||||
app_version = "4.21.4"
|
||||
|
||||
error_report_email = "support@erpnext.com"
|
||||
|
||||
|
@ -94,6 +94,9 @@ class AuthorizationControl(TransactionBase):
|
||||
self.validate_auth_rule(doctype_name, auth_value, based_on, add_cond, company)
|
||||
|
||||
def validate_approving_authority(self, doctype_name,company, total, doc_obj = ''):
|
||||
if not frappe.db.count("Authorization Rule"):
|
||||
return
|
||||
|
||||
av_dis = 0
|
||||
if doc_obj:
|
||||
price_list_rate, base_rate = 0, 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user