Ir al contenido
Menú
Se marcó esta pregunta
2791 Vistas

I have created a new module and I inherited like this

class Course(models.Model):

    _name = 'openacademy.course'

    name = fields.Char(string="Name", required=True)

    description = fields.Text()

    responsible_id = fields.Many2one('res.users',ondelete='set null', string="Responsible", index=True)

    purchase_id = fields.Many2one('purchase.order', string="Price")


------------------After upgration when I click the dropdown list in the Price its shows error like this

ProgrammingError: relation "_unknown" does not exist
LINE 1: SELECT "_unknown".id FROM "_unknown" ORDER BY "_unknown"."id...
                                  ^

Avatar
Descartar

Is this helpful???: https://goo.gl/lD58I7

Publicaciones relacionadas Respuestas Vistas Actividad
4
feb 25
2326
1
ago 24
1969
2
nov 24
3146
3
oct 23
14685
2
feb 23
2372