I perform inheritance as follows,
class trademark_file_details(osv.osv):
_description = 'Trademark File'
_name = 'trademark.file.details'
_inherit = 'file.details'
_columns = {
'trademark' : fields.char('This file is', required=True),
}
_defaults = {
'name': 'Trademark',
}
trademark_file_details()
But error occured,,
'You may need to add a dependency on the parent class\' module.' % (name, parent))
TypeError: The model "trademark.file.details" specifies an unexisting parent class "file.details"
You may need to add a dependency on the parent class' module.
ANY1 can solve it???
from where u call this parent class file.details or ,R u using any existing module .Error is from file.details .So u must mentioned this dependancy class in openerp.py file
dependency module
Both are in same class LIBU
Both are in same class LIBU