Quality Control in Production Lots and Incoming Shipments
Quick summary
The article explains how to apply quality control to production lots and incoming shipments, associating checks and tests with the relevant processes. This integration keeps quality checks within the receiving and production workflows while preserving traceability of the results.
Contents
Quality control
In this article, we continue exploring the quality control process introduced in the previous post, quality control, and its integration into OpenERP processes.
Today we will present our nan_prodlot_quality_control and nan_prodlot_quality_control_input modules.
- The first module, nan_prodlot_quality_control, adds quality control to production lots, modifying the usual workflow, and adds configuration for quality controls at product and company level. It also provides the foundation for triggers.
- The nan_prodlot_quality_control_input module creates and assigns the quality test to the production lot when the material is received.
The modules add a quality section to the company form for configuring quality controls. There, we can define globally which quality controls we want to apply to products; the configured quality controls will then be added automatically when a new product is created.

We can also choose not to subject all of the company’s products to quality control. In that case, we can leave the company’s quality section empty and specify the quality control to apply directly on the product form.

The available triggers depend largely on the modules installed in OpenERP. In the case studied, only the ‘Input’ trigger is available; it creates the quality control associated with each lot created when material is received.

The modules act on the availability of production lots created when material is received and with the configured product. These lots appear inactive and are not shown in any application process unless they are searched for explicitly, preventing them from being used in production or sales before passing the required quality control. The production lot status indicates that it is awaiting completion of the quality control.



Once the defined quality controls have been completed and passed, the status changes to ‘Valid’, and the production lot becomes available for production or sale.
You can download these modules from GitHub:
Frequently asked questions
Which processes can use the quality control described in the article?
It applies to production lots and incoming shipments, linking checks to the production and receiving processes.
Why is it useful to integrate checks into lots and incoming shipments?
Because checks can be managed within the usual production and receiving workflows, with results associated with the relevant process for easier traceability.
What is checked in a production lot?
The quality tests and checks defined for the production process can be applied, with their results associated with the relevant lot.
How is quality control linked to an incoming shipment?
Receiving checks are associated with the incoming shipment, so the quality result is documented within the receiving workflow.
Related articles
Tryton
Quality control in samples and production
The article presents quality-control integration in production and sample management through two modules. Creating a lot generates predefined tests and keeps it inactive until they are passed; the sample module adds sample collection and identification before validation.
Developer
Quality control
The Quality Control module lets users define methods, qualitative and quantitative tests, possible values, templates and formulas for carrying out manual checks on different system models. Tests can be linked to a specific model, populated from a template, validated and, when required, approved by a supervisor.
Tryton
Webinar: Production with Tryton
This webinar demonstrates how Tryton supports companies with production departments. It covers bills of materials, one-off production, traceability, batch quality controls and the customisation options available in the open-source ERP.