[hub] rename is_hub_item to is_item_from_hub (#11069)

* [hub] rename is_hub_item to is_item_from_hub

* [rename] is_hub_item to is_item_from_hub
This commit is contained in:
Prateeksha Singh
2017-10-05 17:17:41 +05:30
committed by Nabin Hait
parent 9c0d30a087
commit 925e9776e8
3 changed files with 3278 additions and 3387 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -52,7 +52,7 @@ class Item(WebsiteGenerator):
if not self.description:
self.description = self.item_name
if self.is_sales_item and not self.is_hub_item:
if self.is_sales_item and not self.is_item_from_hub:
self.publish_in_hub = 1
def after_insert(self):