3
0
Fork 0

[FIX] web_m2x_options: fix usage errors

17.0
Vincent Hatakeyama 2024-05-15 16:57:26 +02:00 committed by manu
parent d8512e5880
commit c618c0be41
3 changed files with 14 additions and 10 deletions

View File

@ -7,7 +7,7 @@ web_m2x_options
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:aa5a8282ea6887deca6eea92531e25779110c8fd20fbdfef82b68e6254704418
!! source digest: sha256:3a852d89e5cd927339a18898b21556fc15d261782fca8783b728cdc6a8ffa574
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@ -62,7 +62,7 @@ in the field's options dict
Whether to display the many2one dialog in case of validation error.
``limit`` *int* (Default: openerp default value is ``7``)
``limit`` *int* (Default: odoo default value is ``8``)
Number of displayed record in drop-down panel
@ -110,7 +110,7 @@ If you disable one option, you can enable it for particular field by setting "cr
Whether to display the many2one dialog in case of validation error for all fields in the odoo instance.
``web_m2x_options.limit`` *int* (Default: openerp default value is ``7``)
``web_m2x_options.limit`` *int* (Default: odoo default value is ``8``)
Number of displayed record in drop-down panel for all fields in the odoo instance
@ -135,10 +135,12 @@ To add these parameters go to Configuration -> Technical -> Parameters -> System
Example
~~~~~~~
Your XML form view definition could contain::
Your XML form view definition could contain:
.. code-block:: xml
...
<field name="partner_id" options="{'limit': 10, 'create': false, 'create_edit': false, 'search_more':true 'field_color':'state', 'colors':{'active':'green'}}"/>
<field name="partner_id" options="{'limit': 10, 'create': false, 'create_edit': false, 'search_more': true, 'field_color':'state', 'colors':{'active':'green'}}"/>
...
Known issues / Roadmap

View File

@ -6,7 +6,7 @@
{
"name": "web_m2x_options",
"version": "16.0.1.1.2",
"version": "16.0.1.1.3",
"category": "Web",
"author": "initOS GmbH,"
"ACSONE SA/NV, "

View File

@ -13,7 +13,7 @@ in the field's options dict
Whether to display the many2one dialog in case of validation error.
``limit`` *int* (Default: openerp default value is ``7``)
``limit`` *int* (Default: odoo default value is ``8``)
Number of displayed record in drop-down panel
@ -61,7 +61,7 @@ If you disable one option, you can enable it for particular field by setting "cr
Whether to display the many2one dialog in case of validation error for all fields in the odoo instance.
``web_m2x_options.limit`` *int* (Default: openerp default value is ``7``)
``web_m2x_options.limit`` *int* (Default: odoo default value is ``8``)
Number of displayed record in drop-down panel for all fields in the odoo instance
@ -86,8 +86,10 @@ To add these parameters go to Configuration -> Technical -> Parameters -> System
Example
~~~~~~~
Your XML form view definition could contain::
Your XML form view definition could contain:
.. code-block:: xml
...
<field name="partner_id" options="{'limit': 10, 'create': false, 'create_edit': false, 'search_more':true 'field_color':'state', 'colors':{'active':'green'}}"/>
<field name="partner_id" options="{'limit': 10, 'create': false, 'create_edit': false, 'search_more': true, 'field_color':'state', 'colors':{'active':'green'}}"/>
...