Skip to Content
Menu
This question has been flagged
2 Replies
7936 Views

how i can pass value
when user press confirm button in sale order

picking is generated (stock.move)
i want to pass value from sale.order.line to stock.move while press confirm button ....


i hav custom field in sale.order.line and want to pass in stock.move custome field


how i can pass value while press confirm button in sale order form view




function use is
def action_confirm


but i can't find any dict to pass value in that function ...


i'm using Odoo 13

Avatar
Discard
Best Answer

Hi Usman

The stock.move has field sale_line_id which is linked with the related sale order line.

You can use it.

Regards


Global Creative Concepts Tech Co Ltd.

Avatar
Discard

This should be the simplest solution - you can add related fields to stock.move

Author

yes i use this solution

Best Answer

We have _get_stock_move_values() method in procurement rule object you can use this for passing values


Avatar
Discard
Related Posts Replies Views Activity
0
May 20
2444
1
Dec 24
46
2
Jun 23
2666
2
Dec 22
4618
0
Oct 19
2150