Commit Graph

8 Commits

Author SHA1 Message Date
Russell Briggs
c087613b92 Make sure value is always set for computed fields
(without these a CacheMiss error is thrown by odoo)
2019-11-19 15:54:14 +01:00
Laurent Mignon (ACSONE)
f584d505a0 [MIG] report_py3o, report_py3o_fusion_server: Migration to 13.0 2019-11-19 15:54:14 +01:00
Laurent Mignon (ACSONE)
e644a32572 [IMP] report_py3o, report_py3o_fusion_server: black, isort 2019-11-19 14:36:37 +01:00
Laurent Mignon (ACSONE)
e911ba740f [FIX] report_py3o: Access to ir.config_parameter with sudo 2019-11-19 14:23:48 +01:00
Laurent Mignon (ACSONE)
68da7235c2 [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.
2019-11-19 14:23:48 +01:00
Laurent Mignon (ACSONE)
bff9e485bb [IMP] report_py3o: remove obsolete methods 2019-11-19 14:23:48 +01:00
Laurent Mignon (ACSONE)
82dbee0cd6 [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
2019-11-19 14:23:48 +01:00
Laurent Mignon (ACSONE)
e5382823b0 [MIG] report_py3o, report_py3o_fusion_server: Migration to 12.0 2019-11-19 14:23:48 +01:00