Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
6444 Visninger

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

Thanks

Avatar
Kassér
Bedste svar

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
Kassér
Forfatter

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

Forfatter

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. ?

Related Posts Besvarelser Visninger Aktivitet
1
jul. 17
3795
2
maj 25
5046
2
maj 23
2505
0
jan. 23
1559
1
aug. 21
4269