Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
6355 Vizualizări

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

Thanks

Imagine profil
Abandonează
Cel mai bun răspuns

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');

Imagine profil
Abandonează
Autor

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

Autor

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 Răspunsuri Vizualizări Activitate
1
iul. 17
3730
2
mai 25
4882
2
mai 23
2456
0
ian. 23
1508
1
aug. 21
4181