콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3433 화면

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!

아바타
취소
관련 게시물 답글 화면 활동
2
2월 22
5876
2
9월 15
5007
2
11월 23
19063
2
1월 19
4511
1
12월 17
3959