コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2800 ビュー

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
2345
1
8月 24
1979
2
11月 24
3165
3
10月 23
14696
2
2月 23
2383