Open List/Tree View From Many2one

FREE

v 15.0 1

Enter your email to download the file:

Download for v 15.0
Required Apps base
Technical Name many2one_list_knk
License OPL-1
You bought this module and need support? Click here!
Technical Name many2one_list_knk
License OPL-1
Supported Editions
Community
Enterprise
Odoo.sh
odoo-logo

Open List/Tree View From Many2one

In this Open List/Tree View From Many2one module user click of many2one field it will open list view.

  • To open tree view on click of Many2one field follow this steps

1. Inherit Model in your module
Ex:
class ProductProduct(models.Model):
 _inherit = 'product.product'
2. Override "get_formview_action" method in that model
Ex:
class ProductProduct(models.Model):
 _inherit = 'product.product'
  def get_formview_action(self, access_uid=None):
   return {
   'name': self.name,
   'type': 'ir.actions.act_window',
   'res_model': self._name,
   'view_type': 'list',
   'view_mode': 'list',
   'views': [(False, 'list')],
   'context': dict(self._context),
   'domain': [('id', 'in', self.ids)],
   }


Q Is this app compatible with Odoo Enterprise?
Yes, our app works with Odoo Enterprise as well as Community.
Q Does this app require any additional configuration?
No,you just need to install the module.
Q Is this app compatible with Windows or Ubuntu?
Yes, our app works with Windows or Ubuntu operating system.

FREE 3 MONTHS SUPPORT

Kanak Infosystems LLP. provide free 3 months support for bug fixes, any doubts or queries, installation, configuration support or any types of issues related related to this module.

NOTE: This module do not required extra configuration.
Suggested Apps
Our Services
OPL-1

Comment on this module. Please Login