'Set `publish_in_hub`=1 for all Sales Items'

def publish_selling_items(self):

    for item in frappe.get_all(u'Item', fields=[u'name'], filters={u'publish_in_hub': u'0'}):
        frappe.db.set_value(u'Item', item.name, u'publish_in_hub', 1)
