Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4471 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
giu 24
2008
1
mag 19
3886
1
mag 19
10772
0
ago 16
9130
2
gen 16
5166