Commit f345c95e authored by Julien Muchembled's avatar Julien Muchembled

InventoryInteractor: Products.ERP5Type.Document -> Products.ERP5.Document

This fixes testInventory and testInventoryModule

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39723 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ca2cf0de
...@@ -34,9 +34,9 @@ class InventoryInteractor(Interactor): ...@@ -34,9 +34,9 @@ class InventoryInteractor(Interactor):
subdocuments are modified. subdocuments are modified.
""" """
def install(self): def install(self):
from Products.ERP5Type.Document.InventoryLine import InventoryLine from Products.ERP5.Document.InventoryLine import InventoryLine
self.on(InventoryLine.reindexObject).doAfter(self.reindexInventory) self.on(InventoryLine.reindexObject).doAfter(self.reindexInventory)
from Products.ERP5Type.Document.InventoryCell import InventoryCell from Products.ERP5.Document.InventoryCell import InventoryCell
self.on(InventoryCell.reindexObject).doAfter(self.reindexInventory) self.on(InventoryCell.reindexObject).doAfter(self.reindexInventory)
def reindexInventory(self, method_call_object, *args, **kw): def reindexInventory(self, method_call_object, *args, **kw):
......
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