Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
3 Vastaukset
12015 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
helmik. 22
3093
2
huhtik. 22
3676
5
jouluk. 19
5630
1
maalisk. 15
4767
2
maalisk. 23
6443