Skip to Content
Menu
This question has been flagged
1 Atsakyti
6447 Rodiniai

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

Thanks

Portretas
Atmesti
Best Answer

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

Portretas
Atmesti
Autorius

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

Autorius

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 Replies Rodiniai Veikla
1
liep. 17
3797
2
geg. 25
5061
2
geg. 23
2507
0
saus. 23
1564
1
rugp. 21
4277