https://github.com/cgsmith/odoo_many2one_link
Allows for a widget in Odoo to create an external link
https://github.com/cgsmith/odoo_many2one_link
Last synced: over 1 year ago
JSON representation
Allows for a widget in Odoo to create an external link
- Host: GitHub
- URL: https://github.com/cgsmith/odoo_many2one_link
- Owner: cgsmith
- License: mit
- Created: 2023-10-30T12:36:31.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-30T12:44:43.000Z (over 2 years ago)
- Last Synced: 2025-03-19T21:55:54.890Z (over 1 year ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
README
# Many2One External Link
Odoo renders everything inside of
the [WebClient](https://www.odoo.com/documentation/16.0/developer/reference/frontend/framework_overview.html#webclient-architecture).
This can sometimes become less desirable for the related models. `Many2OneExternalLink` widget replaces the `button`
with an `a` tag with the target set for `_blank`.
### Usage
In your view file simply add `widget="many2one_external_link.Many2OneExternalLink` as an attribute. As an example:
**Before**
```xml
```
**After**
```xml
```