跳至内容
菜单
此问题已终结

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?


形象
丢弃
最佳答案

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


形象
丢弃
相关帖文 回复 查看 活动
1
6月 24
1954
1
5月 19
3877
1
5月 19
10723
0
8月 16
9070
2
1月 16
5136