Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4103 มุมมอง

Hi guys,

I would like to add to my new module a relation which let me add list of installed modules

...

date = fields.Datetime(required=True, default=now)

mod2update = fields.Reference('ir.module.module', string='Module updated', required='False')  <- here (tried also many2one type with same result)

employee_id = fields.Many2one('hr.employee',

string='Reviewed by',

required=False)

...

I can get list of employees but when i'm trying make relation with ir.modules it giving me "Programming error"


ProgrammingError: column "mod2update" of relation "iupdate_log" does not exist

LINE 1: ...loyee_id", "name", "update_description", "state", "mod2updat...

^

SOLVED

Just added dependencies into __openerp__.py

['base']

อวตาร
ละทิ้ง

Great, I faced the same problem and after many trials I got the same solution

ผู้เขียน

Great :)

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 25
1420
0
ม.ค. 25
3502
1
ส.ค. 23
14869
change password แก้ไขแล้ว
1
ส.ค. 23
13517
1
ก.ค. 23
10498