跳至內容
選單
此問題已被標幟
3 回覆
11689 瀏覽次數

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?

頭像
捨棄
最佳答案

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

頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
2月 22
2942
2
4月 22
3468
5
12月 19
5414
1
3月 15
4601
2
3月 23
6199