mirror of https://github.com/OCA/web.git
[FIX] web_m2x_options: Fix README
parent
bb5c8d5968
commit
905b9cc47d
|
@ -45,7 +45,7 @@ Usage
|
||||||
=====
|
=====
|
||||||
|
|
||||||
in the field's options dict
|
in the field's options dict
|
||||||
---------------------------
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
``create`` *boolean* (Default: depends if user have create rights)
|
``create`` *boolean* (Default: depends if user have create rights)
|
||||||
|
|
||||||
|
@ -90,7 +90,7 @@ in the field's options dict
|
||||||
Deactivates the color picker on many2many_tags buttons to do nothing (ignored if open is set)
|
Deactivates the color picker on many2many_tags buttons to do nothing (ignored if open is set)
|
||||||
|
|
||||||
ir.config_parameter options
|
ir.config_parameter options
|
||||||
---------------------------
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
Now you can disable "Create..." and "Create and Edit..." entry for all widgets in the odoo instance.
|
Now you can disable "Create..." and "Create and Edit..." entry for all widgets in the odoo instance.
|
||||||
If you disable one option, you can enable it for particular field by setting "create: True" option directly on the field definition.
|
If you disable one option, you can enable it for particular field by setting "create: True" option directly on the field definition.
|
||||||
|
@ -125,7 +125,7 @@ To add these parameters go to Configuration -> Technical -> Parameters -> System
|
||||||
|
|
||||||
|
|
||||||
Example
|
Example
|
||||||
-------
|
~~~~~~~
|
||||||
|
|
||||||
Your XML form view definition could contain::
|
Your XML form view definition could contain::
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
in the field's options dict
|
in the field's options dict
|
||||||
---------------------------
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
``create`` *boolean* (Default: depends if user have create rights)
|
``create`` *boolean* (Default: depends if user have create rights)
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ in the field's options dict
|
||||||
Deactivates the color picker on many2many_tags buttons to do nothing (ignored if open is set)
|
Deactivates the color picker on many2many_tags buttons to do nothing (ignored if open is set)
|
||||||
|
|
||||||
ir.config_parameter options
|
ir.config_parameter options
|
||||||
---------------------------
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
Now you can disable "Create..." and "Create and Edit..." entry for all widgets in the odoo instance.
|
Now you can disable "Create..." and "Create and Edit..." entry for all widgets in the odoo instance.
|
||||||
If you disable one option, you can enable it for particular field by setting "create: True" option directly on the field definition.
|
If you disable one option, you can enable it for particular field by setting "create: True" option directly on the field definition.
|
||||||
|
@ -79,7 +79,7 @@ To add these parameters go to Configuration -> Technical -> Parameters -> System
|
||||||
|
|
||||||
|
|
||||||
Example
|
Example
|
||||||
-------
|
~~~~~~~
|
||||||
|
|
||||||
Your XML form view definition could contain::
|
Your XML form view definition could contain::
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue