Browse Source

Merge PR #1656 into 12.0

Signed-off-by kittiu
12.0
OCA-git-bot 5 years ago
parent
commit
b75047ca96
  1. 6
      excel_import_export/README.rst
  2. 2
      excel_import_export/__manifest__.py
  3. 2
      excel_import_export/i18n/excel_import_export.pot
  4. 1
      excel_import_export/models/xlsx_export.py
  5. 1
      excel_import_export/readme/CONTRIBUTORS.rst
  6. 5
      excel_import_export/readme/HISTORY.rst
  7. 66
      excel_import_export/static/description/index.html

6
excel_import_export/README.rst

@ -119,6 +119,11 @@ Known issues / Roadmap
Changelog
=========
12.0.1.0.4 (2019-08-28)
~~~~~~~~~~~~~~~~~~~~~~~
* Fix style sum in footer
12.0.1.0.3 (2019-08-09)
~~~~~~~~~~~~~~~~~~~~~~~
@ -161,6 +166,7 @@ Contributors
~~~~~~~~~~~~
* Kitti Upariphutthiphong. <kittiu@gmail.com> (http://ecosoft.co.th)
* Saran Lim. <saranl@ecosoft.co.th> (http://ecosoft.co.th)
Maintainers
~~~~~~~~~~~

2
excel_import_export/__manifest__.py

@ -4,7 +4,7 @@
{
'name': 'Excel Import/Export/Report',
'summary': 'Base module for developing Excel import/export/report',
'version': '12.0.1.0.2',
'version': '12.0.1.0.4',
'author': 'Ecosoft,Odoo Community Association (OCA)',
'license': 'AGPL-3',
'website': 'https://github.com/OCA/server-tools/',

2
excel_import_export/i18n/excel_import_export.pot

@ -943,7 +943,7 @@ msgid "Template with CSV Quoting = False, data must not contain the same char as
msgstr ""
#. module: excel_import_export
#: code:addons/excel_import_export/models/xlsx_export.py:229
#: code:addons/excel_import_export/models/xlsx_export.py:230
#: code:addons/excel_import_export/models/xlsx_import.py:244
#, python-format
msgid "Template's model mismatch"

1
excel_import_export/models/xlsx_export.py

@ -220,6 +220,7 @@ class XLSXExport(models.AbstractModel):
new_row += 1
f_rc = '%s%s' % (col, new_row)
st[f_rc] = '=%s(%s:%s)' % (f, rc, new_rc)
co.fill_cell_style(st[f_rc], style, styles)
cont_row = cont_row < new_row and new_row or cont_row
return

1
excel_import_export/readme/CONTRIBUTORS.rst

@ -1 +1,2 @@
* Kitti Upariphutthiphong. <kittiu@gmail.com> (http://ecosoft.co.th)
* Saran Lim. <saranl@ecosoft.co.th> (http://ecosoft.co.th)

5
excel_import_export/readme/HISTORY.rst

@ -1,3 +1,8 @@
12.0.1.0.4 (2019-08-28)
~~~~~~~~~~~~~~~~~~~~~~~
* Fix style sum in footer
12.0.1.0.3 (2019-08-09)
~~~~~~~~~~~~~~~~~~~~~~~

66
excel_import_export/static/description/index.html

@ -379,33 +379,34 @@ ul.auto-toc {
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#installation" id="id5">Installation</a></li>
<li><a class="reference internal" href="#usage" id="id6">Usage</a></li>
<li><a class="reference internal" href="#known-issues-roadmap" id="id7">Known issues / Roadmap</a></li>
<li><a class="reference internal" href="#changelog" id="id8">Changelog</a><ul>
<li><a class="reference internal" href="#id1" id="id9">12.0.1.0.3 (2019-08-09)</a></li>
<li><a class="reference internal" href="#id2" id="id10">12.0.1.0.2 (2019-08-07)</a></li>
<li><a class="reference internal" href="#id3" id="id11">12.0.1.0.1 (2019-06-24)</a></li>
<li><a class="reference internal" href="#id4" id="id12">12.0.1.0.0 (2019-02-24)</a></li>
<li><a class="reference internal" href="#installation" id="id6">Installation</a></li>
<li><a class="reference internal" href="#usage" id="id7">Usage</a></li>
<li><a class="reference internal" href="#known-issues-roadmap" id="id8">Known issues / Roadmap</a></li>
<li><a class="reference internal" href="#changelog" id="id9">Changelog</a><ul>
<li><a class="reference internal" href="#id1" id="id10">12.0.1.0.4 (2019-08-28)</a></li>
<li><a class="reference internal" href="#id2" id="id11">12.0.1.0.3 (2019-08-09)</a></li>
<li><a class="reference internal" href="#id3" id="id12">12.0.1.0.2 (2019-08-07)</a></li>
<li><a class="reference internal" href="#id4" id="id13">12.0.1.0.1 (2019-06-24)</a></li>
<li><a class="reference internal" href="#id5" id="id14">12.0.1.0.0 (2019-02-24)</a></li>
</ul>
</li>
<li><a class="reference internal" href="#bug-tracker" id="id13">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="id14">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="id15">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="id16">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="id17">Maintainers</a></li>
<li><a class="reference internal" href="#bug-tracker" id="id15">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="id16">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="id17">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="id18">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="id19">Maintainers</a></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="installation">
<h1><a class="toc-backref" href="#id5">Installation</a></h1>
<h1><a class="toc-backref" href="#id6">Installation</a></h1>
<p>To install this module, you need to install following python library, <strong>xlrd, xlwt, openpyxl</strong>.</p>
<p>Then, simply install <strong>excel_import_export</strong>.</p>
<p>For demo, install <strong>excel_import_export_demo</strong>.</p>
</div>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#id6">Usage</a></h1>
<h1><a class="toc-backref" href="#id7">Usage</a></h1>
<p>This module contain pre-defined function and wizards to make exporting, importing and reporting easy.</p>
<p>At the heart of this module, there are 2 <cite>main methods</cite></p>
<ul class="simple">
@ -461,41 +462,47 @@ Please see example in excel_import_export_demo/report_action, which shows,</p>
</ol>
</div>
<div class="section" id="known-issues-roadmap">
<h1><a class="toc-backref" href="#id7">Known issues / Roadmap</a></h1>
<h1><a class="toc-backref" href="#id8">Known issues / Roadmap</a></h1>
<ul class="simple">
<li>Module extension e.g., excel_import_export_async, that add ability to execute as async process.</li>
<li>Ability to add contextual action in XLSX Tempalte, e.g., Add import action, Add export action. In similar manner as in Server Action.</li>
</ul>
</div>
<div class="section" id="changelog">
<h1><a class="toc-backref" href="#id8">Changelog</a></h1>
<h1><a class="toc-backref" href="#id9">Changelog</a></h1>
<div class="section" id="id1">
<h2><a class="toc-backref" href="#id9">12.0.1.0.3 (2019-08-09)</a></h2>
<h2><a class="toc-backref" href="#id10">12.0.1.0.4 (2019-08-28)</a></h2>
<ul class="simple">
<li>Add report action for report_type = ‘excel’</li>
<li>Fix style sum in footer</li>
</ul>
</div>
<div class="section" id="id2">
<h2><a class="toc-backref" href="#id10">12.0.1.0.2 (2019-08-07)</a></h2>
<h2><a class="toc-backref" href="#id11">12.0.1.0.3 (2019-08-09)</a></h2>
<ul class="simple">
<li>Small fix, to ensure that system parameter ‘path_temp_file’ (ir.config_parameter) is readable</li>
<li>Add report action for report_type = ‘excel’</li>
</ul>
</div>
<div class="section" id="id3">
<h2><a class="toc-backref" href="#id11">12.0.1.0.1 (2019-06-24)</a></h2>
<h2><a class="toc-backref" href="#id12">12.0.1.0.2 (2019-08-07)</a></h2>
<ul class="simple">
<li>Fix wizard on v12 can’t download sample template file - <a class="reference external" href="https://github.com/OCA/server-tools/issues/1574">https://github.com/OCA/server-tools/issues/1574</a></li>
<li>Small fix, to ensure that system parameter ‘path_temp_file’ (ir.config_parameter) is readable</li>
</ul>
</div>
<div class="section" id="id4">
<h2><a class="toc-backref" href="#id12">12.0.1.0.0 (2019-02-24)</a></h2>
<h2><a class="toc-backref" href="#id13">12.0.1.0.1 (2019-06-24)</a></h2>
<ul class="simple">
<li>Fix wizard on v12 can’t download sample template file - <a class="reference external" href="https://github.com/OCA/server-tools/issues/1574">https://github.com/OCA/server-tools/issues/1574</a></li>
</ul>
</div>
<div class="section" id="id5">
<h2><a class="toc-backref" href="#id14">12.0.1.0.0 (2019-02-24)</a></h2>
<ul class="simple">
<li>Start of the history</li>
</ul>
</div>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#id13">Bug Tracker</a></h1>
<h1><a class="toc-backref" href="#id15">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/server-tools/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
@ -503,21 +510,22 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
<h1><a class="toc-backref" href="#id14">Credits</a></h1>
<h1><a class="toc-backref" href="#id16">Credits</a></h1>
<div class="section" id="authors">
<h2><a class="toc-backref" href="#id15">Authors</a></h2>
<h2><a class="toc-backref" href="#id17">Authors</a></h2>
<ul class="simple">
<li>Ecosoft</li>
</ul>
</div>
<div class="section" id="contributors">
<h2><a class="toc-backref" href="#id16">Contributors</a></h2>
<h2><a class="toc-backref" href="#id18">Contributors</a></h2>
<ul class="simple">
<li>Kitti Upariphutthiphong. &lt;<a class="reference external" href="mailto:kittiu&#64;gmail.com">kittiu&#64;gmail.com</a>&gt; (<a class="reference external" href="http://ecosoft.co.th">http://ecosoft.co.th</a>)</li>
<li>Saran Lim. &lt;<a class="reference external" href="mailto:saranl&#64;ecosoft.co.th">saranl&#64;ecosoft.co.th</a>&gt; (<a class="reference external" href="http://ecosoft.co.th">http://ecosoft.co.th</a>)</li>
</ul>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#id17">Maintainers</a></h2>
<h2><a class="toc-backref" href="#id19">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose

Loading…
Cancel
Save