Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
4468 Переглядів

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


Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
черв. 24
2007
1
трав. 19
3886
1
трав. 19
10769
0
серп. 16
9127
2
січ. 16
5164