Skip to content

Commit 8877480

Browse files
[MIG] web_export_html_as_text: Migration to 18.0
1 parent 24d3ca5 commit 8877480

File tree

13 files changed

+66
-56
lines changed

13 files changed

+66
-56
lines changed

web_export_html_as_text/README.rst

Lines changed: 30 additions & 22 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 Export Html As Text
73
=======================
@@ -17,17 +13,17 @@ Web Export Html As Text
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
24-
:target: https://github.com/OCA/web/tree/16.0/web_export_html_as_text
20+
:target: https://github.com/OCA/web/tree/18.0/web_export_html_as_text
2521
:alt: OCA/web
2622
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
27-
:target: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_export_html_as_text
23+
:target: https://translation.odoo-community.org/projects/web-18-0/web-18-0-web_export_html_as_text
2824
:alt: Translate me on Weblate
2925
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
30-
:target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=16.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=18.0
3127
:alt: Try me on Runboat
3228

3329
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -44,46 +40,47 @@ Configuration
4440

4541
To export HTML fields as plain text:
4642

47-
- Open any list view.
48-
- Select the records, then click Export under the Action menu.
49-
- Enable "Export HTML as text" in the export dialog.
43+
- Open any list view.
44+
- Select the records, then click Export under the Action menu.
45+
- Enable "Export HTML as text" in the export dialog.
5046

51-
Note: This setting will apply to all HTML fields exported in the current export dialog.
47+
Note: This setting will apply to all HTML fields exported in the current
48+
export dialog.
5249

5350
Known issues / Roadmap
5451
======================
5552

56-
Lists (numbered, bullets, checklists) and rich formatting (bold, italics,
57-
underline, colors, fonts, alignment) from Odoo HTML fields are not preserved in
58-
exports; all are simplified to plain text.
53+
Lists (numbered, bullets, checklists) and rich formatting (bold,
54+
italics, underline, colors, fonts, alignment) from Odoo HTML fields are
55+
not preserved in exports; all are simplified to plain text.
5956

6057
Bug Tracker
6158
===========
6259

6360
Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
6461
In case of trouble, please check there if your issue has already been reported.
6562
If you spotted it first, help us to smash it by providing a detailed and welcomed
66-
`feedback <https://github.com/OCA/web/issues/new?body=module:%20web_export_html_as_text%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
63+
`feedback <https://github.com/OCA/web/issues/new?body=module:%20web_export_html_as_text%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
6764

6865
Do not contact contributors directly about support or help with technical issues.
6966

7067
Credits
7168
=======
7269

7370
Authors
74-
~~~~~~~
71+
-------
7572

7673
* Quartile
7774

7875
Contributors
79-
~~~~~~~~~~~~
76+
------------
8077

81-
* `Quartile <https://www.quartile.co>`_
78+
- `Quartile <https://www.quartile.co>`__
8279

83-
* Aung Ko Ko Lin
80+
- Aung Ko Ko Lin
8481

8582
Maintainers
86-
~~~~~~~~~~~
83+
-----------
8784

8885
This module is maintained by the OCA.
8986

@@ -95,6 +92,17 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
9592
mission is to support the collaborative development of Odoo features and
9693
promote its widespread use.
9794

98-
This module is part of the `OCA/web <https://github.com/OCA/web/tree/16.0/web_export_html_as_text>`_ project on GitHub.
95+
.. |maintainer-yostashiro| image:: https://github.com/yostashiro.png?size=40px
96+
:target: https://github.com/yostashiro
97+
:alt: yostashiro
98+
.. |maintainer-aungkokolin1997| image:: https://github.com/aungkokolin1997.png?size=40px
99+
:target: https://github.com/aungkokolin1997
100+
:alt: aungkokolin1997
101+
102+
Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:
103+
104+
|maintainer-yostashiro| |maintainer-aungkokolin1997|
105+
106+
This module is part of the `OCA/web <https://github.com/OCA/web/tree/18.0/web_export_html_as_text>`_ project on GitHub.
99107

100108
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

web_export_html_as_text/__manifest__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
33
{
44
"name": "Web Export Html As Text",
5-
"version": "16.0.1.0.0",
5+
"version": "18.0.1.0.0",
66
"website": "https://github.com/OCA/web",
77
"author": "Quartile, Odoo Community Association (OCA)",
88
"category": "Tools",
@@ -14,5 +14,6 @@
1414
"web_export_html_as_text/static/src/xml/*.xml",
1515
],
1616
},
17+
"maintainers": ["yostashiro", "aungkokolin1997"],
1718
"installable": True,
1819
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["whool"]
3+
build-backend = "whool.buildapi"

web_export_html_as_text/readme/CONFIGURE.rst renamed to web_export_html_as_text/readme/CONFIGURE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ To export HTML fields as plain text:
44
- Select the records, then click Export under the Action menu.
55
- Enable "Export HTML as text" in the export dialog.
66

7-
Note: This setting will apply to all HTML fields exported in the current export dialog.
7+
Note: This setting will apply to all HTML fields exported in the current
8+
export dialog.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- [Quartile](https://www.quartile.co)
2+
- Aung Ko Ko Lin

web_export_html_as_text/readme/CONTRIBUTORS.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.
File renamed without changes.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Lists (numbered, bullets, checklists) and rich formatting (bold,
2+
italics, underline, colors, fonts, alignment) from Odoo HTML fields are
3+
not preserved in exports; all are simplified to plain text.

web_export_html_as_text/readme/ROADMAP.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

web_export_html_as_text/static/description/index.html

Lines changed: 20 additions & 23 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 Export Html As Text</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-export-html-as-text">
364+
<h1 class="title">Web Export Html As Text</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-export-html-as-text">
370-
<h1>Web Export Html As Text</h1>
371366
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
372367
!! This file is generated by oca-gen-addon-readme !!
373368
!! changes will be overwritten. !!
374369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
375370
!! source digest: sha256:b2b5034997d831fbed7595dbc658362d36e20a0aef213a81fa6c801ab7c973ec
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/16.0/web_export_html_as_text"><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-16-0/web-16-0-web_export_html_as_text"><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=16.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/18.0/web_export_html_as_text"><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-18-0/web-18-0-web_export_html_as_text"><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=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
378373
<p>This module allows exporting HTML fields as plain text.</p>
379374
<p><strong>Table of contents</strong></p>
380375
<div class="contents local topic" id="contents">
@@ -391,39 +386,40 @@ <h1>Web Export Html As Text</h1>
391386
</ul>
392387
</div>
393388
<div class="section" id="configuration">
394-
<h2><a class="toc-backref" href="#toc-entry-1">Configuration</a></h2>
389+
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
395390
<p>To export HTML fields as plain text:</p>
396391
<ul class="simple">
397392
<li>Open any list view.</li>
398393
<li>Select the records, then click Export under the Action menu.</li>
399394
<li>Enable “Export HTML as text” in the export dialog.</li>
400395
</ul>
401-
<p>Note: This setting will apply to all HTML fields exported in the current export dialog.</p>
396+
<p>Note: This setting will apply to all HTML fields exported in the current
397+
export dialog.</p>
402398
</div>
403399
<div class="section" id="known-issues-roadmap">
404-
<h2><a class="toc-backref" href="#toc-entry-2">Known issues / Roadmap</a></h2>
405-
<p>Lists (numbered, bullets, checklists) and rich formatting (bold, italics,
406-
underline, colors, fonts, alignment) from Odoo HTML fields are not preserved in
407-
exports; all are simplified to plain text.</p>
400+
<h1><a class="toc-backref" href="#toc-entry-2">Known issues / Roadmap</a></h1>
401+
<p>Lists (numbered, bullets, checklists) and rich formatting (bold,
402+
italics, underline, colors, fonts, alignment) from Odoo HTML fields are
403+
not preserved in exports; all are simplified to plain text.</p>
408404
</div>
409405
<div class="section" id="bug-tracker">
410-
<h2><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h2>
406+
<h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
411407
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/web/issues">GitHub Issues</a>.
412408
In case of trouble, please check there if your issue has already been reported.
413409
If you spotted it first, help us to smash it by providing a detailed and welcomed
414-
<a class="reference external" href="https://github.com/OCA/web/issues/new?body=module:%20web_export_html_as_text%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
410+
<a class="reference external" href="https://github.com/OCA/web/issues/new?body=module:%20web_export_html_as_text%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
415411
<p>Do not contact contributors directly about support or help with technical issues.</p>
416412
</div>
417413
<div class="section" id="credits">
418-
<h2><a class="toc-backref" href="#toc-entry-4">Credits</a></h2>
414+
<h1><a class="toc-backref" href="#toc-entry-4">Credits</a></h1>
419415
<div class="section" id="authors">
420-
<h3><a class="toc-backref" href="#toc-entry-5">Authors</a></h3>
416+
<h2><a class="toc-backref" href="#toc-entry-5">Authors</a></h2>
421417
<ul class="simple">
422418
<li>Quartile</li>
423419
</ul>
424420
</div>
425421
<div class="section" id="contributors">
426-
<h3><a class="toc-backref" href="#toc-entry-6">Contributors</a></h3>
422+
<h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
427423
<ul class="simple">
428424
<li><a class="reference external" href="https://www.quartile.co">Quartile</a><ul>
429425
<li>Aung Ko Ko Lin</li>
@@ -432,19 +428,20 @@ <h3><a class="toc-backref" href="#toc-entry-6">Contributors</a></h3>
432428
</ul>
433429
</div>
434430
<div class="section" id="maintainers">
435-
<h3><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h3>
431+
<h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
436432
<p>This module is maintained by the OCA.</p>
437433
<a class="reference external image-reference" href="https://odoo-community.org">
438434
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
439435
</a>
440436
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
441437
mission is to support the collaborative development of Odoo features and
442438
promote its widespread use.</p>
443-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/web/tree/16.0/web_export_html_as_text">OCA/web</a> project on GitHub.</p>
439+
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainers</a>:</p>
440+
<p><a class="reference external image-reference" href="https://github.com/yostashiro"><img alt="yostashiro" src="https://github.com/yostashiro.png?size=40px" /></a> <a class="reference external image-reference" href="https://github.com/aungkokolin1997"><img alt="aungkokolin1997" src="https://github.com/aungkokolin1997.png?size=40px" /></a></p>
441+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/web/tree/18.0/web_export_html_as_text">OCA/web</a> project on GitHub.</p>
444442
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
445443
</div>
446444
</div>
447445
</div>
448-
</div>
449446
</body>
450447
</html>

0 commit comments

Comments
 (0)