I have created two fields, 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?
To send value from sale.order to stock.picking I used the '''action_confirm''' function. I can get the '''picking_ids''' and crate a stock.move in there. But that will not be efficient.
Is there any existing function in odoo like '''_prepare_stock_moves()''' to create the move from sales order?