| Availability | 
                         
                            
                             Odoo Online
                             
                             Odoo.sh 
                             On Premise 
                         | 
                
| Lines of code | 9 | 
| Technical Name | 
                    base_field_m2m_view | 
                
| License | LGPL-3 | 
| Website | https://crnd.pro | 
| Versions | 12.0 13.0 14.0 15.0 16.0 18.0 | 
Base Field Many2manyView
 
 
Base Field Many2manyView is technical addon developed by the Center of Research & Development company.
This addon adds a new field Many2manyView.
This field have only one difference from the standard Many2many field: it does not create m2m relation table, but expects this table to be created somewhere outside. Thus it allows to use another models as m2m-relation tables, or PostgreSQL Views.
At this time this addon is in alpha stage, thus use it on your own risk.
Usage
- Add 
base_field_m2m_viewto dependency to your addon - Import field class 
from odoo.addons.base_field_m2m_view.fields import Many2manyView - Declare field 
my_field = Many2manyView('my.model', 'my_relation_table', 'column1', 'column2') 
		It is also possible to use this field as: my_field = odoo.fields.Many2manyView(...)
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported.
Launch your own ITSM system in 60 seconds:
Create your own Bureaucrat ITSM database
				
			
Maintainer
			Our web site: https://crnd.pro
This module is maintained by the Center of Research & Development company.
We can provide you further Odoo Support, Odoo implementation, Odoo customization, Odoo 3rd Party development and integration software, consulting services. Our main goal is to provide the best quality product for you.
For any questions contact us.
Please log in to comment on this module