Commit bcc9272b authored by Titouan Soulard's avatar Titouan Soulard

erp5_core: add `getVariationCategoryItemList` to `InventoryListBrain`

parent 69817b19
Pipeline #35368 failed with stage
in 0 seconds
...@@ -136,6 +136,9 @@ class InventoryListBrain(ComputedAttributeGetItemCompatibleMixin): ...@@ -136,6 +136,9 @@ class InventoryListBrain(ComputedAttributeGetItemCompatibleMixin):
return node.title return node.title
node_title = ComputedAttribute(getNodeTitle, 1) node_title = ComputedAttribute(getNodeTitle, 1)
def getVariationCategoryItemList(self):
return self.getObject().getVariationCategoryItemList()
def getNodeTranslatedTitle(self): def getNodeTranslatedTitle(self):
node = self.getNodeValue() node = self.getNodeValue()
if node is not None: if node is not None:
......
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