Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
6751 Переглядів

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 !

Related Posts Відповіді Переглядів Дія
1
бер. 15
7541
1
лип. 25
1293
2
лип. 25
1570
1
лип. 25
2605
3
квіт. 25
2528