Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2820 Zobrazení

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
Zrušit

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

Related Posts Odpovědi Zobrazení Aktivita
4
úno 25
2400
1
srp 24
2012
2
lis 24
3198
3
říj 23
14721
2
úno 23
2401