Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
4647 Tampilan

Hello,

In task i have two priority : Without or High

and in incident i have tree priority : Low (Without) / Normal / High

I want more priority but it is not provided in Odoo we can edit priority

How can I do this?

Avatar
Buang
Jawaban Terbai

you can expand the 'priority' fields value in the task object.

currently the field look like :

priority = fields.Selection([('0','Normal'), ('1','High') ], default='0', index=True)

now, if you want to add more option for selection, do something like in the task object:

priority = fields.Selection([('0','Low'), ('1','Normal'), ('2','High') ], default='0', index=True)

note: if you doing something like, you need to change the code related to this on everywhere.

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
3
Mei 24
1662
0
Apr 24
1343
0
Jan 23
1741
0
Mar 15
3948
2
Mar 15
7251