Skip to content

Commit ae24c82

Browse files
committed
a
1 parent f066231 commit ae24c82

File tree

4 files changed

+15
-24
lines changed

4 files changed

+15
-24
lines changed

web_m2x_options_manager/README.rst

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
.. image:: https://odoo-community.org/readme-banner-image
2-
:target: https://odoo-community.org/get-involved?utm_source=readme
3-
:alt: Odoo Community Association
4-
51
=======================
62
Web M2X Options Manager
73
=======================
@@ -17,7 +13,7 @@ Web M2X Options Manager
1713
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
1814
:target: https://odoo-community.org/page/development-status
1915
:alt: Beta
20-
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
2117
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
2218
:alt: License: AGPL-3
2319
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github
@@ -49,7 +45,7 @@ Choose the model you wish to edit, and open its form view. Go to the "Create/Edi
4945
and add the fields you want to manage in 2 different sections:
5046

5147
* the first list view allows you to handle fields for the selected model
52-
* the second list view allows you handle fields where the selected model is the comodel
48+
* the second list view allows you to handle fields where the selected model is the comodel
5349

5450
For both sections:
5551

web_m2x_options_manager/readme/USAGE.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Choose the model you wish to edit, and open its form view. Go to the "Create/Edi
44
and add the fields you want to manage in 2 different sections:
55

66
* the first list view allows you to handle fields for the selected model
7-
* the second list view allows you handle fields where the selected model is the comodel
7+
* the second list view allows you to handle fields where the selected model is the comodel
88

99
For both sections:
1010

web_m2x_options_manager/static/description/index.html

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
55
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
6-
<title>README.rst</title>
6+
<title>Web M2X Options Manager</title>
77
<style type="text/css">
88

99
/*
@@ -360,21 +360,16 @@
360360
</style>
361361
</head>
362362
<body>
363-
<div class="document">
363+
<div class="document" id="web-m2x-options-manager">
364+
<h1 class="title">Web M2X Options Manager</h1>
364365

365-
366-
<a class="reference external image-reference" href="https://odoo-community.org/get-involved?utm_source=readme">
367-
<img alt="Odoo Community Association" src="https://odoo-community.org/readme-banner-image" />
368-
</a>
369-
<div class="section" id="web-m2x-options-manager">
370-
<h1>Web M2X Options Manager</h1>
371366
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
372367
!! This file is generated by oca-gen-addon-readme !!
373368
!! changes will be overwritten. !!
374369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
375370
!! source digest: sha256:8fb782766d95bc5d8efca92d125da25cac1412d08d1f16e449724541dc00135b
376371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
377-
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/web/tree/14.0/web_m2x_options_manager"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_m2x_options_manager"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/web&amp;target_branch=14.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372+
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/web/tree/14.0/web_m2x_options_manager"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_m2x_options_manager"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/web&amp;target_branch=14.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
378373
<p>Allows managing the “Create…” and “Create and Edit…” options for <cite>Many2one</cite>
379374
and <cite>Many2many</cite> fields directly from the <cite>ir.model</cite> form view.</p>
380375
<p><strong>Table of contents</strong></p>
@@ -391,13 +386,13 @@ <h1>Web M2X Options Manager</h1>
391386
</ul>
392387
</div>
393388
<div class="section" id="usage">
394-
<h2><a class="toc-backref" href="#toc-entry-1">Usage</a></h2>
389+
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
395390
<p>Go to Settings &gt; Technical &gt; Models.</p>
396391
<p>Choose the model you wish to edit, and open its form view. Go to the “Create/Edit Options” tab,
397392
and add the fields you want to manage in 2 different sections:</p>
398393
<ul class="simple">
399394
<li>the first list view allows you to handle fields for the selected model</li>
400-
<li>the second list view allows you handle fields where the selected model is the comodel</li>
395+
<li>the second list view allows you to handle fields where the selected model is the comodel</li>
401396
</ul>
402397
<p>For both sections:</p>
403398
<ul class="simple">
@@ -406,23 +401,23 @@ <h2><a class="toc-backref" href="#toc-entry-1">Usage</a></h2>
406401
</ul>
407402
</div>
408403
<div class="section" id="bug-tracker">
409-
<h2><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h2>
404+
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
410405
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/web/issues">GitHub Issues</a>.
411406
In case of trouble, please check there if your issue has already been reported.
412407
If you spotted it first, help us to smash it by providing a detailed and welcomed
413408
<a class="reference external" href="https://github.com/OCA/web/issues/new?body=module:%20web_m2x_options_manager%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
414409
<p>Do not contact contributors directly about support or help with technical issues.</p>
415410
</div>
416411
<div class="section" id="credits">
417-
<h2><a class="toc-backref" href="#toc-entry-3">Credits</a></h2>
412+
<h1><a class="toc-backref" href="#toc-entry-3">Credits</a></h1>
418413
<div class="section" id="authors">
419-
<h3><a class="toc-backref" href="#toc-entry-4">Authors</a></h3>
414+
<h2><a class="toc-backref" href="#toc-entry-4">Authors</a></h2>
420415
<ul class="simple">
421416
<li>Camptocamp</li>
422417
</ul>
423418
</div>
424419
<div class="section" id="contributors">
425-
<h3><a class="toc-backref" href="#toc-entry-5">Contributors</a></h3>
420+
<h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
426421
<ul class="simple">
427422
<li><a class="reference external" href="https://www.camptocamp.com">Camptocamp</a>:<ul>
428423
<li>Silvio Gregorini</li>
@@ -431,7 +426,7 @@ <h3><a class="toc-backref" href="#toc-entry-5">Contributors</a></h3>
431426
</ul>
432427
</div>
433428
<div class="section" id="maintainers">
434-
<h3><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h3>
429+
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
435430
<p>This module is maintained by the OCA.</p>
436431
<a class="reference external image-reference" href="https://odoo-community.org">
437432
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
@@ -444,6 +439,5 @@ <h3><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h3>
444439
</div>
445440
</div>
446441
</div>
447-
</div>
448442
</body>
449443
</html>

web_m2x_options_manager/views/m2x_create_edit_option.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
<group>
5656
<field
5757
name="field_id"
58+
context="{'search_by_technical_name': True, 'display_technical_name': True}"
5859
options="{'create': False, 'create_edit': False}"
5960
/>
6061
<field name="model_id" />

0 commit comments

Comments
 (0)