Browse Source

[FIX] web_m2x_options: Fix README

pull/951/head
Pedro M. Baeza 7 years ago
parent
commit
905b9cc47d
  1. 6
      web_m2x_options/README.rst
  2. 6
      web_m2x_options/readme/USAGE.rst

6
web_m2x_options/README.rst

@ -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::

6
web_m2x_options/readme/USAGE.rst

@ -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…
Cancel
Save