Laurent Mignon (ACSONE)
2e9ef0b221
[IMP] report_py3o, report_py3o_fusion_server: black, isort
5 years ago
Laurent Mignon (ACSONE)
120a28e736
[FIX] report_py3o: Access to ir.config_parameter with sudo
6 years ago
Laurent Mignon (ACSONE)
3c617b5485
[IMP] py3o_report: Allow to specify the lang when calling o_format_lang
lang_code is already supported by o_format_date
6 years ago
Laurent Mignon (ACSONE)
c57904d8fa
[FIX] report_py3o: Add missing 'user' and 'lang' into the parser context
6 years ago
Laurent Mignon (ACSONE)
47b81770f4
[IMP][FIX] py3o_report, py3o_report_fusion_server: Compute the availability of py3o report
Before this change it was not possible to install modules declaring py3o report into a non native format without specifying a Fusion server once the module py3o_report_fusion_server was installed. With theses changes, we now take care of the availability of the libreoffice runtime to display/log a warning message when the report is in a non native runtime.
6 years ago
Laurent Mignon (ACSONE)
a65b017246
[FIX] report_py3o: Add missing method _merge_pdf.
This method was previously provided by Odoo and is used to merge all the reports generated if the generation is called for more than one record
6 years ago
Laurent Mignon (ACSONE)
252895604f
[IMP] report_py3o: remove obsolete methods
6 years ago
Laurent Mignon (ACSONE)
75f2a771b4
[FIX] report_py3o: Use the right naming convention for the render method
To determine the method to use to render a recport according to its type, the generic method 'render' defined into ir.action.report check if a method name is defined on the model. https://github.com/odoo/odoo/blob/12.0/odoo/addons/base/models/ir_actions_report.py#L734
Therefore, we must provide this method to be compliant with what's expected by Odoo.
This change will also allows the usage of py3o template with mail_template once https://github.com/odoo/odoo/pull/30013 will be merged
6 years ago
Gilles Meyomesse
8dd075d54d
[12.0][MIG] improvement py3o_report_extender
6 years ago
Laurent Mignon (ACSONE)
b781f4f099
[MIG] report_py3o, report_py3o_fusion_server: Migration to 12.0
6 years ago
Holger Brunn
81aef79105
[IMP] check for template data, not for the id
7 years ago
jesusVMayor
a88eb8a838
[FIX]report_py3o: Escape correctly html characters.
7 years ago
Holger Brunn
198cd5399b
[FIX] fallback to libreoffice conversion when no server is configured
fixes #200
7 years ago
Holger Brunn
eab78636b8
[RFR] split off the fusion server to its own module
use libreoffice for conversions in the base version. Fixes #179
7 years ago
Omar
9990fffeb6
[FIX] report_py3o: Import new dependencies in try...except
7 years ago
Omar
0f6ea03ed3
[FIX] report_py3o: Removes api.one
7 years ago
omar7r
92e0401c52
[FIX] Deletes an unnecessary function call
7 years ago
Omar
1a9c57ecab
[IMP] report_py3o: Allows to interpret \n and \t in texts, cleans html tags too
7 years ago
Laurent Mignon
4d29143e43
[IMP] report_py3o: Take into account print_report_name
If a Printed Report Name is set on the action report, use it as
downloaded filename
refs #133
8 years ago
Laurent Mignon (ACSONE)
85711356e9
[FIX] report_py3o: must return the path to the report
refs #119
8 years ago
Alexis de Lattre
d3a9fac90b
Add option py3o_multi_in_one for Py3o reports
8 years ago
Guewen Baconnier
fee0c30aa6
Pass option for escaping False values to server
Needs https://bitbucket.org/faide/py3o.fusion/pull-requests/1
8 years ago
Guewen Baconnier
5a0792b1de
Fix py3o freeze when using server fusion
The template file has been partially read for the parsing of the
expressions, so use the original template data instead. When the fusion
server receives an incomplete template, we don't receive any answer
back.
8 years ago
Laurent Mignon (ACSONE)
103f44ccf6
[IMP] report_py3o: prevent injections when retrieving the template from path
8 years ago
Alexis de Lattre
af4dafac25
[FIX] delete PDF invoice attachment on invoice back to draft (native feature now working with py3o)
8 years ago
Laurent Mignon (ACSONE)
689bdc0d23
[FIX] report_py3o: fix exception when report must be saved as attachement
The mehtod must be called with a list of ids not with a list of browse records
8 years ago
Laurent Mignon (ACSONE)
48f83e8a52
[IMP] Allow to override/extend the way we get the fallback template
8 years ago
Jonathan Nemry (ACSONE)
68b9d54b70
* travis.yml
* flake8
8 years ago
Laurent Mignon
6d9e2c3e49
[IMP] Minimizes memory consumption
Conflicts:
report_py3o/models/py3o_report.py
8 years ago
Jonathan Nemry (ACSONE)
0933726094
[FIX] imports
8 years ago
Laurent Mignon
183a8ee45a
[IMP] Replace old style parser by TransientModel
The goal is to improve the modularity by making the parser a true inheritable odoo model and share part of the code with the 'report' model
Conflicts:
report_py3o/models/ir_actions_report_xml.py
report_py3o/models/py3o_report.py
report_py3o/tests/test_report_py3o.py
8 years ago
Alexis de Lattre
924b69d5f9
PEP8 fix
8 years ago
Alexis de Lattre
5c2982ed33
Port report_py3o to Odoo v10
8 years ago
Laurent Mignon (ACSONE)
7881e1f686
[FIX] Check constrains only if report_type == 'py3o'
8 years ago
Laurent Mignon
74b0973045
Add more tests and fixes issues found by tests
8 years ago
Laurent Mignon
d6c0bdc12b
rename module ir_report to ir_actions_report_xml
8 years ago
Laurent Mignon
22ed5a64aa
Replace plain SQL by orm
8 years ago
Alexis de Lattre
d3b813b25b
Take into accounts most remarks of @lasley
Remove <data> in views
Protect import of py3o libs
Remove dep on base module
Other small changes
8 years ago
Alexis de Lattre
a94f19f36f
Small usability improvements
Replace README.md by README.rst (not finished)
8 years ago
Laurent Mignon
86203b3921
Add simple tests and fix call to fusion server
8 years ago
Florent AIDE
6ecbdc2e6a
fixed missing comma in model definition
8 years ago
Laurent Mignon
cdb1cc2d94
Improve filetype selection name
8 years ago
Laurent Mignon
c49b53be86
[IMP] Allow user to use local fusion
8 years ago
Laurent Mignon
a84d655e7c
[IMP] Add the possiblity to get the template from an absolute path on the server
8 years ago
Laurent Mignon
cec2e4b805
Remove unicode string
8 years ago
Laurent Mignon
65925417b0
[IMP] New API + Short Hearder
8 years ago
Laurent Mignon
913403a49f
Move to report_py3o after import from HG
8 years ago