web_m2x_options

Technical Name:
web_m2x_options
License:
Author:
initOS GmbH, Tuxservices
Website:
https://odoo-community.org/web/image/product.template/2661/image_1920?unique=255db81
  • Odoo Version

Terms and Conditions 

Add new options for many2one and many2manytags field:

  • create: true/false -> disable "create" entry in dropdown panel
  • create_edit: true/false -> disable "create and edit" entry in dropdown panel
  • limit: 10 (int) -> change number of selected record return in dropdown panel
  • m2o_dialog: true/false -> disable quick create M20Dialog triggered on error.
  • search_more: true/false -> force disable/enable search more button.
  • field_color -> define the field used to define color.
  • colors -> link field values to a HTML color.

Example:

<field name="partner_id" options="{'limit': 10, 'create': false, 'create_edit': false, 'field_color':'state', 'colors':{'active':'green'}}"/>

Note:

If one of those options are not set, many2one field uses default many2one field options.

Thanks to:

This is a preview of the recently viewed products by the user.
Once the user has seen at least one product this snippet will be visible.

Recently viewed Products