call a python function in another class from a class?
- by user3527697
hi i'am begginer in pYthon and openerp , i want to call a function exists in another class
for example:
i have 2 class :
class a:
def notif_personne_event(self, cr, uid,ids,context=None):
and
import a
class b:
notifier(self, cr, uid,ids,context=None):
self.notifiernotif_personne_event()
but when i do this an error is displayed telling me that class b have not an attribute notifiernotif_personne_event()
someone help me please