跳至内容
菜单
此问题已终结
1 回复
6402 查看

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
7244
1
7月 25
630
2
7月 25
754
1
7月 25
1822
3
4月 25
1861