Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
9313 Переглядів

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

Аватар
Відмінити
Найкраща відповідь

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


Аватар
Відмінити
Найкраща відповідь

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.

Аватар
Відмінити

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

Автор

yes i use this solution

Related Posts Відповіді Переглядів Дія
0
трав. 20
3278
2
квіт. 25
1450
2
черв. 23
5065
2
груд. 22
5744
0
жовт. 19
2842