I want to know how I can move a value from a new field from stock.picking to the stock.move ?
Thanks
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I want to know how I can move a value from a new field from stock.picking to the stock.move ?
Thanks
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');
so in stock_move I made a field like this ? I will try that later.
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. ?
Create an account today to enjoy exclusive features and engage with our awesome community!
Înscrie-teRelated 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 |