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 ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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 !
You're welcome!
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Olİlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
---|---|---|---|---|
|
1
Mar 15
|
7054 | ||
change between 2 Invoice formats
Çözüldü
|
|
1
Tem 25
|
183 | |
|
2
Tem 25
|
426 | ||
|
1
Tem 25
|
1471 | ||
|
3
Nis 25
|
1572 |