Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
4685 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
3
mei 24
1734
0
apr. 24
1386
0
jan. 23
1775
0
mrt. 15
4013
2
mrt. 15
7295