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

With function field, how can I save the value of the field unless the object is not in draft mode ?

아바타
취소

Please do not post duplicate questions. See http://help.openerp.com/question/5522/function-field/

베스트 답변

Hi,

I never tested with argument store, but should work, try :

in file view add this attribute in field :

attrs="{'store': [('state', '=', 'draft')]}"

update module and view.

naturally field state must be present as a field or in context.

Bye

아바타
취소