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

Hello,

when I create invoice a default journal is set.
How can I remove this value to force user to set the right value ?


I tried to add a default value, with no value (In Settings > Technical > Actions > User-defined Defaults), but with no success. I make a similar test on another filed (Communication type) and it works.

아바타
취소
작성자 베스트 답변

Thank you for your response, but I think my problem comes from the onchange on company or from the fields view get.

아바타
취소
베스트 답변

You must inherit class account_invoice and replace method _default_journal(). Field journal_id set default=_default_journal. Or you redefine this field in your module without default value.

아바타
취소
관련 게시물 답글 화면 활동
1
8월 19
3831
1
7월 24
12097
8
11월 20
18041
1
3월 15
5001
0
4월 15
4342