跳至内容
菜单
此问题已终结
2812 查看

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...
                                  ^

形象
丢弃

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

相关帖文 回复 查看 活动
4
2月 25
2382
1
8月 24
1997
2
11月 24
3189
3
10月 23
14711
2
2月 23
2393