Create Equipments when the purchase is validated.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Automatically creates maintenance equipment records when a purchase order is approved, based on the quantity of products ordered. Users can link products to an equipment category and track the equipment created from each purchase order.
This module connects purchases with maintenance equipment. On a product, you can set a 'Purchase Equipment Category'. When you order that product on a purchase order, the same category is automatically filled in on the order line, but you can change it if needed.
When the purchase order is approved, the system creates one maintenance equipment record for each unit ordered, as long as the line has an equipment category and the quantity ordered is greater than the number of equipment already created. Each equipment record is linked to the purchase order line and gets details like the product name, category, order date, planned date, vendor, and company.
On the purchase order form, a smart button shows how many equipments are linked. Clicking it opens the list of those equipments, or directly the form if there is only one. The equipment form also shows the related purchase order for users with purchase rights.
If a purchase order is deleted, the link between the equipment and the purchase order is removed, but the equipment records themselves are kept.
Depends on
Models and fields (4)
- purchase.order · extends an existing modelequipment_count
- product.template · extends an existing modelpurchase_equipment_category_id (Purchase Equipment Category)
- purchase.order.line · extends an existing modelequipment_ids (Equipments), equipment_count, equipment_category_id (Equipment Category)
- maintenance.equipment · extends an existing modelpurchase_id (Purchase), purchase_line_id
Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 3 confirmed, 6 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/maintenance.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.