Odoo Help

1

0
1 Answer
0
arpit
05/12/17, 06:25

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

3 Comments
wizardz
05/12/17, 07:02

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

wizardz
06/12/17, 02:46

I have made it with overriding 5 methods from the original stock modul. I don't see an other way to manage that

Bista solutions, arpit
06/12/17, 08:40

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

Ask a Question
Writer
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now