Skip to Content
Menú
This question has been flagged
3 Respostes
11493 Vistes

There are two fields crated, one in sale.order.line and one in stock.move. When the sale.order get's confirmed it creates stock.picking with product info in stock.move. I want to send my custom field value from sale.order.line to stock.move. How to do that?

Avatar
Descartar
Best Answer

I have answered your question here - https://stackoverflow.com/questions/55528616/how-to-send-custom-value-from-sale-order-line-to-stock-move-in-odoo/55533744#55533744

Avatar
Descartar
Best Answer

Hi,

You can define an onchange function on the field in sale.order.line and in the method definition you can modify the value of stock.move.

Check this out, might be of help - https://stackoverflow.com/questions/46812726/change-fields-value-from-other-model

Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
de febr. 22
2839
2
d’abr. 22
3285
5
de des. 19
5210
1
de març 15
4505
2
de març 23
6039