Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3120 Widoki

Hi! i have a module

class staff_custom(models.Model):

_name = "staff.custom"

_description = "Staff"

def _select(self,uid,ids,vals,context=None):

return []

_columns = {

'code': fields.selection(_select,'Code')

}

I want build new module, when install new module, field 'code' in staff.custom have new value selection!

Please help me!

Thanks!

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
lut 22
5598
2
wrz 15
4641
2
lis 23
18673
2
sty 19
4167
1
gru 17
3656