diff --git a/web_m2x_options/README.rst b/web_m2x_options/README.rst index 804684d1..a0e129d4 100644 --- a/web_m2x_options/README.rst +++ b/web_m2x_options/README.rst @@ -45,7 +45,7 @@ Usage ===== in the field's options dict ---------------------------- +~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``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) ir.config_parameter options ---------------------------- +~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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. @@ -125,7 +125,7 @@ To add these parameters go to Configuration -> Technical -> Parameters -> System Example -------- +~~~~~~~ Your XML form view definition could contain:: diff --git a/web_m2x_options/readme/USAGE.rst b/web_m2x_options/readme/USAGE.rst index 49e57cb6..1da37a22 100644 --- a/web_m2x_options/readme/USAGE.rst +++ b/web_m2x_options/readme/USAGE.rst @@ -1,5 +1,5 @@ in the field's options dict ---------------------------- +~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``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) ir.config_parameter options ---------------------------- +~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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. @@ -79,7 +79,7 @@ To add these parameters go to Configuration -> Technical -> Parameters -> System Example -------- +~~~~~~~ Your XML form view definition could contain::