Merge branch 'develop'

This commit is contained in:
Pratik Vyas 2015-02-11 13:07:59 +05:30
commit eda4265dbc
4 changed files with 6 additions and 3 deletions

View File

@ -1 +1 @@
__version__ = '4.21.3'
__version__ = '4.21.4'

View File

@ -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"

View File

@ -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

View File

@ -1,7 +1,7 @@
from setuptools import setup, find_packages
import os
version = "4.21.3"
version = "4.21.4"
with open("requirements.txt", "r") as f:
install_requires = f.readlines()