Odoo Help


How do I let a production lot appear on sales order?

on 5/24/13, 1:24 PM 1,792 views

Hi All,

Working on V6.1

How can i make the production lot of a product appear on the sales order and picking list for delivery when the product is selected? We have a system that requires the batch number/production lot of every product appears on the sales order items. If a product is sold but the product is sold from two different batches the batch number/production lot must illustrate that even though one product is sold, the product is from a previous batch and a new one. This process arises when a product has 2 left from a previous batch in stock and a customer buys more than 2 on a sales order (show on sale order line). We want to be able to print all labels with the appropriate lot numbers. In this instance, two labels from the first batch and 1 from the new batch. Will this require creating a new module of there is a way to do this without creating a new module (same lot should apply to delivery order line too)?

Have you tried to create an onchange on the field product_id ? The onchange will fill the field prodlot, wich you have previously created in python file.

on 8/1/13, 10:44 AM

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.


Odoo Training Center

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

Test it now

Question tools

0 follower(s)


Asked: 5/24/13, 1:24 PM
Seen: 1792 times
Last updated: 3/16/15, 8:10 AM