Systems and transformation · Odoo glossary
Software Refactoring
Software refactoring improves the internal structure of existing code while preserving its observable behavior.
Definition
In general ERP practice
Software refactoring improves the internal structure of existing code while preserving its observable behavior.
It differs from adding features or replacing a system. Small structural changes need checks that show the required behavior still works; a cleaner design does not automatically mean a measurable performance gain.
In Odoo
In Odoo customization, refactoring can improve the organization of custom logic without changing the agreed operating process. Changes to required behavior should be specified and tested separately from structural cleanup.
What to check in a modernization project
Behavior baseline
Document the important scenarios before restructuring code.
Small steps
Use changes that can be reviewed and checked independently.
Boundaries
Separate internal cleanup from functional changes and version-migration work.
Official Odoo documentation
The Odoo-specific explanation above is based on the documentation for Odoo 19. Features and workflows can differ in other versions.
Related glossary terms
Continue reading