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

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
7296
1
7月 25
827
2
7月 25
953
1
7月 25
2005
3
4月 25
2020