Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4290 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
čvn 24
1735
1
kvě 19
3785
1
kvě 19
10595
0
srp 16
8943
2
led 16
5001