Commit cfdef4ec authored by Ayush Tiwari's avatar Ayush Tiwari

bt5_config: Use _setProperty instead as it is also available for non-ERP5ied objects

parent 75f0c63a
...@@ -956,7 +956,7 @@ class BusinessPropertyItem(XMLObject): ...@@ -956,7 +956,7 @@ class BusinessPropertyItem(XMLObject):
if property_name.endswith('_list'): if property_name.endswith('_list'):
property_name = property_name[:-5] property_name = property_name[:-5]
if int(self.getProperty('item_sign')) == 1: if int(self.getProperty('item_sign')) == 1:
obj.setProperty(property_name, property_value, property_type) obj._setProperty(property_name, property_value, property_type)
def getBusinessPath(self): def getBusinessPath(self):
return self.getProperty('item_path') return self.getProperty('item_path')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment