Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
4927 Представления

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
25505
2
сент. 23
12404
3
июн. 19
6547
1
июл. 17
4914
2
июл. 25
4566