I'm getting this error in Odoo:
ProgrammingError: relation "_unknown" does not exist LINE 1: SELECT "_unknown".id FROM "_unknown" ORDER BY "_unknown"."id...
hotel class:
class obj_ghotel(osv.osv):
_name = "obj.ghotel"
_description = "Objet ghotel"
...
'id_ville':fields.many2one('obj.ville','ville',
selection=_get_selection),
ville class:
class obj_ville(osv.osv):
_name = "obj.ville"
_description = "Objet ville"
_rec_name = 'nom_ville'
...
'id_hotel':fields.one2many('obj.ghotel','id_ville'),
I have to restart the Odoo services and PostgreSQL to fix the problem. I think the problem is in the dependencies. I'm stuck... Any ideas?
I fixed this problem, i only added that module name (ville) into openerp.py file in depend section..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With