コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
6014 ビュー

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
6721
3
4月 25
824
3
4月 25
1492
1
3月 25
891
2
1月 25
815