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!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
1
mar 15
|
7119 | ||
change between 2 Invoice formats
Rozwiązane
|
|
1
lip 25
|
546 | |
|
2
lip 25
|
693 | ||
|
1
lip 25
|
1747 | ||
|
3
kwi 25
|
1769 |