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!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Inscribirse| Publicaciones relacionadas | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
|
1
mar 15
|
7797 | |||
|
change between 2 Invoice formats
Resuelto
|
1
jul 25
|
1741 | ||
|
2
jul 25
|
2093 | |||
|
1
jul 25
|
3036 | |||
|
3
abr 25
|
2931 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.