Skip to content

Commit 58a60fb

Browse files
authored
Merge pull request #910 from OCA/18.0
Syncing from upstream OCA/reporting-engine (18.0)
2 parents 603b24e + ed65492 commit 58a60fb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+2639
-45
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ addon | version | maintainers | summary
2525
[bi_sql_editor](bi_sql_editor/) | 18.0.1.0.4 | <a href='https://github.com/legalsylvain'><img src='https://github.com/legalsylvain.png' width='32' height='32' style='border-radius:50%;' alt='legalsylvain'/></a> | BI Views builder, based on Materialized or Normal SQL Views
2626
[pdf_xml_attachment](pdf_xml_attachment/) | 18.0.1.0.0 | <a href='https://github.com/simahawk'><img src='https://github.com/simahawk.png' width='32' height='32' style='border-radius:50%;' alt='simahawk'/></a> <a href='https://github.com/alexis-via'><img src='https://github.com/alexis-via.png' width='32' height='32' style='border-radius:50%;' alt='alexis-via'/></a> | Provides helpers to work w/ PDFs and XML attachments
2727
[report_context](report_context/) | 18.0.1.0.0 | | Adding context to reports
28-
[report_csv](report_csv/) | 18.0.1.0.0 | | Base module to create csv report
28+
[report_csv](report_csv/) | 18.0.1.0.2 | | Base module to create csv report
2929
[report_display_name_in_footer](report_display_name_in_footer/) | 18.0.1.0.0 | <a href='https://github.com/Shide'><img src='https://github.com/Shide.png' width='32' height='32' style='border-radius:50%;' alt='Shide'/></a> <a href='https://github.com/rafaelbn'><img src='https://github.com/rafaelbn.png' width='32' height='32' style='border-radius:50%;' alt='rafaelbn'/></a> | Show document name in report footer
3030
[report_footer_html](report_footer_html/) | 18.0.1.0.0 | <a href='https://github.com/Shide'><img src='https://github.com/Shide.png' width='32' height='32' style='border-radius:50%;' alt='Shide'/></a> <a href='https://github.com/rafaelbn'><img src='https://github.com/rafaelbn.png' width='32' height='32' style='border-radius:50%;' alt='rafaelbn'/></a> | Show HTML content in desired Footer Reports
31+
[report_layout_config](report_layout_config/) | 18.0.1.0.0 | | Add possibility to easily modify the global report layout
3132
[report_partner_address](report_partner_address/) | 18.0.1.0.0 | <a href='https://github.com/yostashiro'><img src='https://github.com/yostashiro.png' width='32' height='32' style='border-radius:50%;' alt='yostashiro'/></a> <a href='https://github.com/aungkokolin1997'><img src='https://github.com/aungkokolin1997.png' width='32' height='32' style='border-radius:50%;' alt='aungkokolin1997'/></a> | Translatable partner address details for reports and portal
3233
[report_pdf_form](report_pdf_form/) | 18.0.1.0.0 | <a href='https://github.com/grindtildeath'><img src='https://github.com/grindtildeath.png' width='32' height='32' style='border-radius:50%;' alt='grindtildeath'/></a> | Fill custom PDF form reports
3334
[report_pdf_zip_download](report_pdf_zip_download/) | 18.0.1.0.0 | | Report PDF ZIP Download
@@ -41,6 +42,7 @@ addon | version | maintainers | summary
4142
[report_qweb_pdf_cover](report_qweb_pdf_cover/) | 18.0.1.0.0 | | Add front and back covers to your QWeb PDF reports
4243
[report_qweb_pdf_watermark](report_qweb_pdf_watermark/) | 18.0.1.0.1 | <a href='https://github.com/hbrunn'><img src='https://github.com/hbrunn.png' width='32' height='32' style='border-radius:50%;' alt='hbrunn'/></a> | Add watermarks to your QWEB PDF reports
4344
[report_substitute](report_substitute/) | 18.0.1.0.0 | <a href='https://github.com/sbejaoui'><img src='https://github.com/sbejaoui.png' width='32' height='32' style='border-radius:50%;' alt='sbejaoui'/></a> | This module allows to create substitution rules for report actions.
45+
[report_text_format_option](report_text_format_option/) | 18.0.1.0.0 | <a href='https://github.com/yostashiro'><img src='https://github.com/yostashiro.png' width='32' height='32' style='border-radius:50%;' alt='yostashiro'/></a> <a href='https://github.com/aungkokolin1997'><img src='https://github.com/aungkokolin1997.png' width='32' height='32' style='border-radius:50%;' alt='aungkokolin1997'/></a> | Report Text Format Option
4446
[report_wkhtmltopdf_param](report_wkhtmltopdf_param/) | 18.0.1.0.1 | | Add new parameters for a paper format to be used by wkhtmltopdf command as arguments.
4547
[report_xlsx](report_xlsx/) | 18.0.1.1.2 | | Base module to create xlsx report
4648
[report_xlsx_helper](report_xlsx_helper/) | 18.0.1.0.0 | | Report xlsx helpers

report_csv/README.rst

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
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+
15
===============
26
Base report csv
37
===============
@@ -7,13 +11,13 @@ Base report csv
711
!! This file is generated by oca-gen-addon-readme !!
812
!! changes will be overwritten. !!
913
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10-
!! source digest: sha256:380b9dc8c98a77b37a8e5e5846b3ddc471dcbf470c9805cc5f9a04f2e4913f12
14+
!! source digest: sha256:bc658cd69105f9a3c0e300b2c63a034ed67aa439a5b6b6b05c3155e092a4ac5c
1115
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1216
1317
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
1418
:target: https://odoo-community.org/page/development-status
1519
:alt: Production/Stable
16-
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
20+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
1721
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1822
:alt: License: AGPL-3
1923
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Freporting--engine-lightgray.png?logo=github
@@ -128,6 +132,10 @@ Contributors
128132

129133
- Aung Ko Ko Lin
130134

135+
- `NuoBiT <https://www.nuobit.com>`__:
136+
137+
- Deniz Gallo [email protected]
138+
131139
Maintainers
132140
-----------
133141

report_csv/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"author": "Creu Blanca, Odoo Community Association (OCA)",
77
"website": "https://github.com/OCA/reporting-engine",
88
"category": "Reporting",
9-
"version": "18.0.1.0.0",
9+
"version": "18.0.1.0.2",
1010
"license": "AGPL-3",
1111
"depends": ["base", "web"],
1212
"demo": ["demo/report.xml"],

report_csv/models/ir_report.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@ def _render_csv(self, report_ref, docids, data):
5555
report_sudo = self._get_report(report_ref)
5656
report_model_name = f"report.{report_sudo.report_name}"
5757
report_model = self.env[report_model_name]
58-
res_id = len(docids) == 1 and docids[0]
58+
res_id = docids and len(docids) == 1 and docids[0]
5959
if not res_id or not report_sudo.attachment or not report_sudo.attachment_use:
6060
return report_model.with_context(
6161
**{
6262
"active_model": report_sudo.model,
63-
"encoding": self.encoding,
64-
"encode_error_handling": self.encode_error_handling,
63+
"encoding": report_sudo.encoding,
64+
"encode_error_handling": report_sudo.encode_error_handling,
6565
}
6666
).create_csv_report(docids, data)
6767
record = self.env[report_sudo.model].browse(res_id)
@@ -71,8 +71,8 @@ def _render_csv(self, report_ref, docids, data):
7171
data, ext = report_model.with_context(
7272
**{
7373
"active_model": report_sudo.model,
74-
"encoding": self.encoding,
75-
"encode_error_handling": self.encode_error_handling,
74+
"encoding": report_sudo.encoding,
75+
"encode_error_handling": report_sudo.encode_error_handling,
7676
}
7777
).create_csv_report(docids, data)
7878
report_sudo._create_csv_attachment(record, data)

report_csv/readme/CONTRIBUTORS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
- Rattapong Chokmasermkul \<<[email protected]>\>
44
- [Quartile](https://www.quartile.co):
55
- Aung Ko Ko Lin
6+
- [NuoBiT](https://www.nuobit.com):
7+
- Deniz Gallo <[email protected]>

report_csv/static/description/index.html

Lines changed: 22 additions & 12 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>Base report csv</title>
6+
<title>README.rst</title>
77
<style type="text/css">
88

99
/*
@@ -360,16 +360,21 @@
360360
</style>
361361
</head>
362362
<body>
363-
<div class="document" id="base-report-csv">
364-
<h1 class="title">Base report csv</h1>
363+
<div class="document">
365364

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="base-report-csv">
370+
<h1>Base report csv</h1>
366371
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
367372
!! This file is generated by oca-gen-addon-readme !!
368373
!! changes will be overwritten. !!
369374
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370-
!! source digest: sha256:380b9dc8c98a77b37a8e5e5846b3ddc471dcbf470c9805cc5f9a04f2e4913f12
375+
!! source digest: sha256:bc658cd69105f9a3c0e300b2c63a034ed67aa439a5b6b6b05c3155e092a4ac5c
371376
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372-
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.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/reporting-engine/tree/18.0/report_csv"><img alt="OCA/reporting-engine" src="https://img.shields.io/badge/github-OCA%2Freporting--engine-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/reporting-engine-18-0/reporting-engine-18-0-report_csv"><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/reporting-engine&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
377+
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.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/reporting-engine/tree/18.0/report_csv"><img alt="OCA/reporting-engine" src="https://img.shields.io/badge/github-OCA%2Freporting--engine-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/reporting-engine-18-0/reporting-engine-18-0-report_csv"><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/reporting-engine&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373378
<p>This module provides a basic report class to generate csv report.</p>
374379
<p><strong>Table of contents</strong></p>
375380
<div class="contents local topic" id="contents">
@@ -386,7 +391,7 @@ <h1 class="title">Base report csv</h1>
386391
</ul>
387392
</div>
388393
<div class="section" id="configuration">
389-
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
394+
<h2><a class="toc-backref" href="#toc-entry-1">Configuration</a></h2>
390395
<p>In case the exported CSV report should be encoded in another system than
391396
UTF-8, following fields of the report record (<em>Settings &gt; Technical &gt;
392397
Reports</em>) should be populated accordingly.</p>
@@ -404,7 +409,7 @@ <h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
404409
</ul>
405410
</div>
406411
<div class="section" id="usage">
407-
<h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
412+
<h2><a class="toc-backref" href="#toc-entry-2">Usage</a></h2>
408413
<p>An example of CSV report for partners on a module called
409414
`module_name`:</p>
410415
<p>A python class :</p>
@@ -446,23 +451,23 @@ <h1><a class="toc-backref" href="#toc-entry-2">Usage</a></h1>
446451
<p>Update encoding with an appropriate value (e.g. cp932) as necessary.</p>
447452
</div>
448453
<div class="section" id="bug-tracker">
449-
<h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
454+
<h2><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h2>
450455
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/reporting-engine/issues">GitHub Issues</a>.
451456
In case of trouble, please check there if your issue has already been reported.
452457
If you spotted it first, help us to smash it by providing a detailed and welcomed
453458
<a class="reference external" href="https://github.com/OCA/reporting-engine/issues/new?body=module:%20report_csv%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
454459
<p>Do not contact contributors directly about support or help with technical issues.</p>
455460
</div>
456461
<div class="section" id="credits">
457-
<h1><a class="toc-backref" href="#toc-entry-4">Credits</a></h1>
462+
<h2><a class="toc-backref" href="#toc-entry-4">Credits</a></h2>
458463
<div class="section" id="authors">
459-
<h2><a class="toc-backref" href="#toc-entry-5">Authors</a></h2>
464+
<h3><a class="toc-backref" href="#toc-entry-5">Authors</a></h3>
460465
<ul class="simple">
461466
<li>Creu Blanca</li>
462467
</ul>
463468
</div>
464469
<div class="section" id="contributors">
465-
<h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
470+
<h3><a class="toc-backref" href="#toc-entry-6">Contributors</a></h3>
466471
<ul class="simple">
467472
<li>Enric Tobella &lt;<a class="reference external" href="mailto:etobella&#64;creublanca.es">etobella&#64;creublanca.es</a>&gt;</li>
468473
<li>Jaime Arroyo &lt;<a class="reference external" href="mailto:jaime.arroyo&#64;creublanca.es">jaime.arroyo&#64;creublanca.es</a>&gt;</li>
@@ -471,10 +476,14 @@ <h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
471476
<li>Aung Ko Ko Lin</li>
472477
</ul>
473478
</li>
479+
<li><a class="reference external" href="https://www.nuobit.com">NuoBiT</a>:<ul>
480+
<li>Deniz Gallo <a class="reference external" href="mailto:dgallo&#64;nuobit.com">dgallo&#64;nuobit.com</a></li>
481+
</ul>
482+
</li>
474483
</ul>
475484
</div>
476485
<div class="section" id="maintainers">
477-
<h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
486+
<h3><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h3>
478487
<p>This module is maintained by the OCA.</p>
479488
<a class="reference external image-reference" href="https://odoo-community.org">
480489
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
@@ -487,5 +496,6 @@ <h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
487496
</div>
488497
</div>
489498
</div>
499+
</div>
490500
</body>
491501
</html>

report_layout_config/README.rst

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
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+
5+
===========================
6+
Report layout configuration
7+
===========================
8+
9+
..
10+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
11+
!! This file is generated by oca-gen-addon-readme !!
12+
!! changes will be overwritten. !!
13+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14+
!! source digest: sha256:f1064f4ab436ff220954da0d47e14964791f2f0a8f1ffed8ea9761d75d2f01f6
15+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
16+
17+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
18+
:target: https://odoo-community.org/page/development-status
19+
:alt: Beta
20+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
21+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
22+
:alt: License: AGPL-3
23+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Freporting--engine-lightgray.png?logo=github
24+
:target: https://github.com/OCA/reporting-engine/tree/18.0/report_layout_config
25+
:alt: OCA/reporting-engine
26+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
27+
:target: https://translation.odoo-community.org/projects/reporting-engine-18-0/reporting-engine-18-0-report_layout_config
28+
:alt: Translate me on Weblate
29+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
30+
:target: https://runboat.odoo-community.org/builds?repo=OCA/reporting-engine&target_branch=18.0
31+
:alt: Try me on Runboat
32+
33+
|badge1| |badge2| |badge3| |badge4| |badge5|
34+
35+
This module provides new report template with possibility to add image
36+
to replace header and footer.
37+
38+
**Table of contents**
39+
40+
.. contents::
41+
:local:
42+
43+
Usage
44+
=====
45+
46+
- In Setting/General Setting/Document Layout:
47+
48+
- Click on Configure Document Layout
49+
- On the wizard choose Layout images
50+
- Set the Full header image + Full footer image
51+
52+
Bug Tracker
53+
===========
54+
55+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/reporting-engine/issues>`_.
56+
In case of trouble, please check there if your issue has already been reported.
57+
If you spotted it first, help us to smash it by providing a detailed and welcomed
58+
`feedback <https://github.com/OCA/reporting-engine/issues/new?body=module:%20report_layout_config%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
59+
60+
Do not contact contributors directly about support or help with technical issues.
61+
62+
Credits
63+
=======
64+
65+
Authors
66+
-------
67+
68+
* Camptocamp
69+
70+
Contributors
71+
------------
72+
73+
- Thomas Nowicki <[email protected]>
74+
- Iryna Vyshnevska <[email protected]>
75+
- Do Anh Duy <[email protected]>
76+
77+
Maintainers
78+
-----------
79+
80+
This module is maintained by the OCA.
81+
82+
.. image:: https://odoo-community.org/logo.png
83+
:alt: Odoo Community Association
84+
:target: https://odoo-community.org
85+
86+
OCA, or the Odoo Community Association, is a nonprofit organization whose
87+
mission is to support the collaborative development of Odoo features and
88+
promote its widespread use.
89+
90+
This module is part of the `OCA/reporting-engine <https://github.com/OCA/reporting-engine/tree/18.0/report_layout_config>`_ project on GitHub.
91+
92+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

report_layout_config/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Copyright 2020 Camptocamp SA
2+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
3+
4+
from . import models
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Copyright 2020 Camptocamp SA
2+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
3+
4+
{
5+
"name": "Report layout configuration",
6+
"summary": "Add possibility to easily modify the global report layout",
7+
"version": "18.0.1.0.0",
8+
"category": "Reporting",
9+
"website": "https://github.com/OCA/reporting-engine",
10+
"author": "Camptocamp, " "Odoo Community Association (OCA)",
11+
"license": "AGPL-3",
12+
"depends": ["web", "base"],
13+
"data": [
14+
"views/document_layout.xml",
15+
"templates/report_templates.xml",
16+
"data/report_layout.xml",
17+
],
18+
"assets": {
19+
"web.report_assets_common": [
20+
"/report_layout_config/static/src/scss/style.scss",
21+
],
22+
},
23+
"application": False,
24+
"installable": True,
25+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<odoo>
3+
<record id="external_layout_images_standard" model="report.layout">
4+
<field name="name">Layout images standard</field>
5+
<field
6+
name="view_id"
7+
ref="report_layout_config.external_standard_layout_images_template"
8+
/>
9+
<field
10+
name="image"
11+
>/report_layout_config/static/img/preview_standard.png</field>
12+
<field name="pdf">/report_layout_config/static/pdf/preview_standard.pdf</field>
13+
</record>
14+
15+
<record id="external_layout_images_clean" model="report.layout">
16+
<field name="name">Layout images clean</field>
17+
<field
18+
name="view_id"
19+
ref="report_layout_config.external_clean_layout_images_template"
20+
/>
21+
<field
22+
name="image"
23+
>/report_layout_config/static/img/preview_standard.png</field>
24+
<field name="pdf">/report_layout_config/static/pdf/preview_standard.pdf</field>
25+
</record>
26+
</odoo>

0 commit comments

Comments
 (0)