Commit c5ff97a3 authored by Ayush Tiwari's avatar Ayush Tiwari

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

parent ed2395be
......@@ -956,7 +956,7 @@ class BusinessPropertyItem(XMLObject):
if property_name.endswith('_list'):
property_name = property_name[:-5]
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):
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