Skip to Content

MRP Routing: Auto-Fill Operation Name by Work Center


This module optimizes data entry within the Bill of Materials (BoM) by automating the configuration of routing steps. It is designed for manufacturing environments where the operation name naturally mirrors the name of the work center (production stage) itself.

What the Module Does

In standard Odoo, when creating a new line in MRP Routings (mrp.routing.workcenter), the Operation field is a mandatory text area, while the Work Center is selected from a dropdown.

This application introduces a real-time mechanism: the moment a user selects a Work Center, its textual name is instantly copied into the required Operation field.

Key Features & Functional Logic:
  • Instant Autocomplete: Automatically populates the mandatory operation text field using the selected work center's title on the fly.
  • Flexible Override: The automated value remains fully editable. If a specific production stage requires a unique description, users can manually adjust the text at any time.
  • Enhanced Form Validation: Smooths out the user experience inside the Bill of Materials routing pop-up, ensuring required fields are pre-filled before saving.
  • Streamlined MRP Workflow: Eliminates repetitive typing and manual copying during complex BoM engineering operations.
User Experience & Smart Logic:
  • Manual Entry Protection: If you have already typed a custom operation name manually, selecting or changing the Work Center will not overwrite your text. This prevents accidental loss of your custom data.
  • How to Reset or Overwrite: If you want the system to update the field automatically with a new work center's name, simply clear (erase) the current text in the Operation field and select the new work center from the list.
Technical Specifications:
  • Model affected: mrp.routing.workcenter
  • Fields involved: workcenter_id (Many2one) and name (Char / Operation)
  • Compatibility: Works seamlessly with both Odoo Community and Enterprise editions without altering core manufacturing logistics.


Demo Request


Gamme MRP : Saisie automatique du nom de l'opération par poste de travail

Ce module optimise la saisie des données dans la Nomenclature (BoM) en automatisant la configuration des étapes de fabrication (gammes). Il est conçu pour les environnements industriels où le nom de l'opération correspond exactement au nom du poste de travail (étape de production).

Fonctionnalités principales :

  • Saisie automatique instantanée : Dès que l'utilisateur sélectionne un Poste de travail, son nom textuel est immédiatement copié dans le champ obligatoire Opération.
  • Saisie manuelle protégée : Si vous avez déjà saisi manuellement un nom d'opération personnalisé, la sélection ou modification du poste de travail n'écrasera pas votre texte. Cela évite toute perte accidentelle de vos données.
  • Réinitialisation simple : Si vous souhaitez que le système mette à jour le champ automatiquement avec le nom d'un nouveau poste de travail, effacez simplement le texte actuel dans le champ Opération et sélectionnez le nouveau poste dans la liste.
  • Validation des formulaires améliorée : Rend l'expérience utilisateur plus fluide dans la fenêtre contextuelle des gammes de la Nomenclature, en garantissant que les champs obligatoires sont pré-remplis avant la sauvegarde.

Spécifications techniques :

  • Modèle concerné : mrp.routing.workcenter
  • Champs impliqués : workcenter_id (Many2one) et name (Char / Opération)
  • Compatibilité : Fonctionne parfaitement avec les éditions Odoo Community et Enterprise.