Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
6380 Vues

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

Thanks

Avatar
Ignorer
Meilleure réponse

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
Ignorer
Auteur

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

Auteur

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

Publications associées Réponses Vues Activité
1
juil. 17
3748
2
mai 25
4918
2
mai 23
2472
0
janv. 23
1527
1
août 21
4209