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

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
7304
1
лип. 25
837
2
лип. 25
989
1
лип. 25
2030
3
квіт. 25
2031