| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 67 |
| Technical Name |
product_template_redirect |
| License | LGPL-3 |
| Versions | 17.0 18.0 19.0 |
Product Template Redirect
Effortless Navigation from Variants to Templates
Why this module?
In standard Odoo, clicking on a many2one link for a Product Variant leads you to the Product Variant form. However, most of the time, users need to access the Product Template to manage global settings like attributes, sales, and e-commerce configurations.
This module simplifies your workflow by automatically redirecting you to the product.template whenever you click on a product.product link in the backend.
Instant Redirection
No extra clicks. Click the variant, see the template.
Seamless Integration
Works across all many2one fields referencing product.product.
IMPORTANT
If you uninstall this module, we recommend restarting the Odoo server.
Support & Configuration
Developed by Burak Şipşak
Product Template Redirect
This module enhances the user experience by automatically redirecting Product Variant links to their respective Product Templates.
Key Features
- Automatic Redirection: When a user clicks on a many2one link pointing to a product.product, the module intercepts the action and opens the corresponding product.template form.
- Streamlined Workflow: Reduces the number of clicks required to reach the main product configuration page.
- Compatibility: Patches the standard Many2one field component in the web client, ensuring broad coverage across the backend.
Usage
- Install the module.
- Navigate to any record containing a many2one link to a Product (e.g., Sale Order Lines, Stock Moves).
- Click on the internal link button (or product name).
- You will be redirected to the product.template form instead of the product.product form.
Technical Details
The module uses the OWL patch utility to modify the Many2One component's openRecord or openAction methods. It queries the product_tmpl_id from the selected variant and triggers a doAction to open the template form.
Please log in to comment on this module