Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2783 Lượt xem

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

Ảnh đại diện
Huỷ bỏ

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 2 25
2325
1
thg 8 24
1969
2
thg 11 24
3146
3
thg 10 23
14680
2
thg 2 23
2371