Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I want to print customer reference in picking slip. When i observe stock,picking table, it does not contain relation with sale.order.line or sale.order. How can i get customer reference in to picking slip. Can any one help me please?
After confirming the sale in Sale order, you can see the "View Deliver Order" button. While clicking that you can go to the stock_picking table.In that, there is a tab called "Additional Info". Inside that tab there is a field called "Procurement Group". you can see the Procurement and picking details in that.
please check below code through this you will get all the delivery for the particular products which state is in waiting for availability state so now you do changes based on your requirement :
for operation_product_ids in self.pack_operation_product_ids:
product_id = operation_product_ids.product_id.id
stock_move_obj = self.env['stock.move']
stock_move_ids = stock_move_obj.search([('product_id','=', product_id),('state','=','confirmed')])
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
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
|Asked: 3/17/15, 4:44 PM|
|Seen: 1207 times|
|Last updated: 2/29/16, 6:53 AM|