İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
6421 Görünümler

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 ?

Avatar
Vazgeç
En İyi Yanıt

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!

Avatar
Vazgeç
Üretici

Thank you it perfectly works !

İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Mar 15
7270
1
Tem 25
704
2
Tem 25
801
1
Tem 25
1886
3
Nis 25
1889