mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +00:00
Merge pull request #11356 from tundebabzy/issue-11355
fix object has not attribute 'is_item_from_hub'
This commit is contained in:
@@ -57,7 +57,7 @@ class Item(WebsiteGenerator):
|
|||||||
if not self.description:
|
if not self.description:
|
||||||
self.description = self.item_name
|
self.description = self.item_name
|
||||||
|
|
||||||
if self.is_sales_item and not self.is_item_from_hub:
|
if self.is_sales_item and not self.get('is_item_from_hub'):
|
||||||
self.publish_in_hub = 1
|
self.publish_in_hub = 1
|
||||||
|
|
||||||
def after_insert(self):
|
def after_insert(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user