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

Hi, I want to create/register invoice payment by coding on clicking by custom module button not from the "Register Payment" button on Invoice form view or from list view.How can it done by coding?

아바타
취소
베스트 답변

Hello,

    You can achieve this by calling the function for validate in register payment and passing the required arguments in action for your created button.

example for calling function of another model self.env['sale.order'].function_name()

아바타
취소
관련 게시물 답글 화면 활동
6
2월 24
11889
1
7월 25
388
2
7월 25
572
1
7월 25
1639
3
4월 25
1699