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

Dear All,

It was found that selection column in ir.model.fields table was not updated with the corresponding Selection option accordingly, For example:

Employee's gender option [

('male', 'Male'),

('female', 'Female'),

('other', 'Other')

]

I would like to update it with self._fields['gender '].selection in \odoo\models.py, but where should I add it? Pls help.

Thanks in advance.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
5
พ.ค. 22
25519
2
ก.ย. 23
12422
3
มิ.ย. 19
6557
How to write status in a char field?? แก้ไขแล้ว
1
ก.ค. 17
4922
2
ก.ค. 25
4604