Odoo Help

0

0
2 Answers
1
Chandni Gandhi
03/11/16 07.14

Hi,

Firstly when you confirm sale order it will create Draft Delivery Order and its line. Now, line object would be stock.move, after that when you perform any kind of operation on that DO, you will see object changed. It is now stock.pack.operation.


It is coming from this method:

do_prepare_partial() of class stock_picking

you will find this line.: pack_operation_obj.create(cr, uid, vals, context=context) 

It is creating pack operation from move, and where pack_operation_obj = self.pool.get('stock.pack.operation')

Now if you want to stop this You have to customise the code, override method do_prapare_partial or try by commenting line where pack operation is created. 

Thanks,

Chandni




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 eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now