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

When I create an Invoice (account.invoice) by code which doesn't showing outstanding payment . On the other hand while creating  thorough erp which shows the outstanding payment of  customer. How to solve it ? odoo version 11

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

This is happening because I didn't give  'type': 'out_invoice', in invoice create function

inv = inv_obj.create({'partner_id': self.customer.id,
'invoice_line_ids': line_ids,
'name': self.name,
'type': 'out_invoice',
})
아바타
취소
관련 게시물 답글 화면 활동
0
1월 17
3719
0
3월 15
4650
1
6월 19
2910
0
3월 15
4137
1
3월 15
6872