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

I need a way to create on the sale.order.lines a position column, and on the invoice .line too.

Then when I create from a sale.order a invoice, the position (new field) should give the value to the new invoice field.

How can I do that, or is there any modul that can make this?


Avatar
Vazgeç
En İyi Yanıt

Hello,

You can add your new column by _inherit the model.

After adding your fields, you need to override _prepare_order_line_invoice_line to create the invoice line values.

Hope this will help


Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Haz 24
1995
1
May 19
3884
1
May 19
10757
0
Ağu 16
9095
2
Oca 16
5148