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

In Odoo 12, we can add "section" and "note" in invoices (and sale) in the lines,

But I want to create a "note line" with self.env['...'].create(), 

What is the model for these "note lines" please ?

아바타
취소
베스트 답변

Hi,

If you want to create it via Python, the model to use is account.invoice.line and assigning the value of the field "display_type" to "line_section" or "line_note".

Best regards!

아바타
취소
작성자

Thank you it perfectly works !

관련 게시물 답글 화면 활동
1
3월 15
6835
3
4월 25
1007
3
4월 25
1738
Delete PDF Invoice 해결 완료
1
3월 25
1064
2
1월 25
1044