From bf8b06b076b892b21edc599bca12cffbe1104a68 Mon Sep 17 00:00:00 2001 From: David Coninckx Date: Tue, 31 Mar 2015 15:47:01 +0200 Subject: [PATCH] Improved description in module manifest and in README --- web_m2x_options/README.rst | 6 +++++- web_m2x_options/__openerp__.py | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-) diff --git a/web_m2x_options/README.rst b/web_m2x_options/README.rst index e55f3d85..01b2aa5e 100644 --- a/web_m2x_options/README.rst +++ b/web_m2x_options/README.rst @@ -46,6 +46,10 @@ New options ``limit`` *int* (Default: openerp default value is ``7``) Number of displayed record in drop-down panel + +``search_more`` *boolean* + + Used to force disable/enable search more button. ``field_color`` *string* @@ -90,7 +94,7 @@ Example Your XML form view definition could contain:: ... - + ... Note diff --git a/web_m2x_options/__openerp__.py b/web_m2x_options/__openerp__.py index 66732118..65cad97e 100644 --- a/web_m2x_options/__openerp__.py +++ b/web_m2x_options/__openerp__.py @@ -3,6 +3,39 @@ { "name": 'web_m2x_options', "version": "0.1", + "description": """ +===================================================== +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: +-------- + +```` + +Note: +----- + +If one of those options are not set, many2one field uses default many2one +field options. + +Thanks to: +---------- + +- Nicolas JEUDY +- Valentin LAB + +""", "depends": [ 'base', 'web',