April 4, 2024, 9:50 p.m. | Fabian Anguiano

DEV Community dev.to




How to Programmatically Cancel MRP Records in Odoo

Sometimes, it's necessary to cancel specific manufacturing orders (MRPs) due to various reasons such as production issues, changes in demand, or material shortages. This article demonstrates how to programmatically cancel MRP records in Odoo using Python.





Pre-requisites


Before proceeding, ensure you have the following:



  • Odoo instance accessible via network

  • Administrative rights or API access credentials

  • Python environment with xmlrpc.client and requests libraries installed





Step 1: Disable SSL Verification


In a development or …

article demand manufacturing material odoo orders production python records

Seeking Developers and Engineers for AI T-Shirt Generator Project

@ Chevon Hicks | Remote

Software Engineer for AI Training Data (School Specific)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Python)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Tier 2)

@ G2i Inc | Remote

Data Engineer

@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania

Senior Associate, Data and Analytics

@ Publicis Groupe | New York City, United States