İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
6424 Görünümler

I want to know how I can move a value from a new field from stock.picking to the stock.move ?

Thanks

Avatar
Vazgeç
En İyi Yanıt

I would suggest to create a related field using picking_id (reference to stock_picking) inside stock_move by inheriting it.

example:

suppose need to pull origin field from stock_picking to stock_move.

write here


picking_origin = fields.Integer(related='picking_id.origin', string="Origin');

Avatar
Vazgeç
Üretici

so in stock_move I made a field like this ? I will try that later.

Üretici

I have made it with overriding 5 methods from the original stock modul. I don't see an other way to manage that

will you please share some more information , i did not get this ,

I have made it with overriding 5 methods from the original stock modul. ?

İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Tem 17
3789
2
May 25
5030
2
May 23
2502
0
Oca 23
1554
1
Ağu 21
4258