Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
11631 Widoki

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?

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lut 22
2914
2
kwi 22
3419
5
gru 19
5373
1
mar 15
4577
2
mar 23
6178