mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[IMP] report_csv: add encoding option
This commit is contained in:
committed by
Aungkokolin1997
parent
7fcaee191e
commit
5d89b44e47
@@ -7,7 +7,7 @@ Base report csv
|
||||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! source digest: sha256:ec79b69b51f6950f27d658111240cf9c35f2f74f3431fb23369106bdbd3ca9ab
|
||||
!! source digest: sha256:f2082a65edddcb957a5a22e07ffcd761bf2038fd8fe93322bab2be04b8102557
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
||||
@@ -35,6 +35,19 @@ This module provides a basic report class to generate csv report.
|
||||
.. contents::
|
||||
:local:
|
||||
|
||||
Configuration
|
||||
=============
|
||||
|
||||
In case the exported CSV report should be encoded in another system than UTF-8, following
|
||||
fields of the report record (*Settings > Technical > Reports*) should be populated accordingly.
|
||||
|
||||
* Encoding: set an encoding system (such as cp932)
|
||||
* Encode Error Handling: select 'Ignore' or 'Replace' as necessary.
|
||||
|
||||
* 'Ignore': in case of an encoding error, the problematic character will be removed from the exported file.
|
||||
* 'Replace': in case of an encoding error, the problematic character will be replaced with '?' symbol.
|
||||
* Leaving the field blank: in case of an encoding error, the report generation fails with an error message.
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
@@ -77,6 +90,8 @@ A report XML record ::
|
||||
attachment_use="False"
|
||||
/>
|
||||
|
||||
Update encoding with an appropriate value (e.g. cp932) as necessary.
|
||||
|
||||
Bug Tracker
|
||||
===========
|
||||
|
||||
@@ -101,6 +116,9 @@ Contributors
|
||||
* Enric Tobella <etobella@creublanca.es>
|
||||
* Jaime Arroyo <jaime.arroyo@creublanca.es>
|
||||
* Rattapong Chokmasermkul <rattapongc@ecosoft.co.th>
|
||||
* `Quartile <https://www.quartile.co>`__:
|
||||
|
||||
* Aung Ko Ko Lin
|
||||
|
||||
Maintainers
|
||||
~~~~~~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user