Hello,
I have a class student
and my idea is that each time the class gets called I need to insert some data into another table, lets call it logs
The problem is that when I call
logs.create(cr, uid, i, context)
Inside the class student
, OpenERP will give me back the error:
unbound method create() must be called with logs instance as first argument (got Cursor instance instead)
I tried changing the cr
with logs
but it will keep giving me a similar error.
Is is possible to insert records in a table created by another class from within a given class?
Any tip or module with this functionalities will be much appreciated