[enhancement] Int, Currency, Float, Percent as not null and default to 0

This commit is contained in:
Anand Doshi
2015-11-16 19:05:46 +05:30
parent 06df19b56a
commit 602e8253be
251 changed files with 8406 additions and 4858 deletions

View File

@@ -78,7 +78,7 @@ class HubSettings(Document):
if item.image:
item.image = expand_relative_urls(item.image)
item_list = frappe.db.sql_list("select name from tabItem where ifnull(publish_in_hub,0)=1")
item_list = frappe.db.sql_list("select name from tabItem where publish_in_hub=1")
if items:
response = requests.post(self.hub_url + "/api/method/hub.hub.api.sync", data={