Skip to Content
Menu
This question has been flagged
1933 Views

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
Discard

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

Related Posts Replies Views Activity
1
Aug 24
424
2
Nov 24
760
3
Oct 23
13197
2
Feb 23
1229
1
Dec 22
1371