mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-03 13:38:27 +00:00
[enhancement] Int, Currency, Float, Percent as not null and default to 0
This commit is contained in:
@@ -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={
|
||||
|
||||
Reference in New Issue
Block a user