def disable(self): if self.invInterest: self.removeInterest(self.invInterest) DistributedObject.disable(self) TradableInventory.delete(self)
def __init__(self, cr): DistributedObject.__init__(self, cr) TradableInventory.__init__(self, cr)