odoo-addon-account-move-line-report-xls 15.0.1.0.0.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- odoo/addons/account_move_line_report_xls/README.rst +108 -0
- odoo/addons/account_move_line_report_xls/__init__.py +11 -0
- odoo/addons/account_move_line_report_xls/__manifest__.py +15 -0
- odoo/addons/account_move_line_report_xls/i18n/account_move_line_report_xls.pot +227 -0
- odoo/addons/account_move_line_report_xls/i18n/fr.po +260 -0
- odoo/addons/account_move_line_report_xls/i18n/nl.po +260 -0
- odoo/addons/account_move_line_report_xls/models/__init__.py +1 -0
- odoo/addons/account_move_line_report_xls/models/account_move_line.py +60 -0
- odoo/addons/account_move_line_report_xls/readme/CONTRIBUTORS.rst +1 -0
- odoo/addons/account_move_line_report_xls/readme/DESCRIPTION.rst +2 -0
- odoo/addons/account_move_line_report_xls/readme/USAGE.rst +27 -0
- odoo/addons/account_move_line_report_xls/report/__init__.py +1 -0
- odoo/addons/account_move_line_report_xls/report/account_move_line_xlsx.py +405 -0
- odoo/addons/account_move_line_report_xls/report/account_move_line_xlsx.xml +15 -0
- odoo/addons/account_move_line_report_xls/static/description/icon.png +0 -0
- odoo/addons/account_move_line_report_xls/static/description/icon.svg +79 -0
- odoo/addons/account_move_line_report_xls/static/description/index.html +452 -0
- odoo/addons/account_move_line_report_xls/tests/__init__.py +1 -0
- odoo/addons/account_move_line_report_xls/tests/test_aml_report_xlsx.py +32 -0
- odoo_addon_account_move_line_report_xls-15.0.1.0.0.2.dist-info/METADATA +127 -0
- odoo_addon_account_move_line_report_xls-15.0.1.0.0.2.dist-info/RECORD +23 -0
- odoo_addon_account_move_line_report_xls-15.0.1.0.0.2.dist-info/WHEEL +5 -0
- odoo_addon_account_move_line_report_xls-15.0.1.0.0.2.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,452 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
5
|
+
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
|
|
6
|
+
<title>Account Move Line XLSX export</title>
|
|
7
|
+
<style type="text/css">
|
|
8
|
+
|
|
9
|
+
/*
|
|
10
|
+
:Author: David Goodger (goodger@python.org)
|
|
11
|
+
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
|
|
12
|
+
:Copyright: This stylesheet has been placed in the public domain.
|
|
13
|
+
|
|
14
|
+
Default cascading style sheet for the HTML output of Docutils.
|
|
15
|
+
|
|
16
|
+
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
|
|
17
|
+
customize this style sheet.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
/* used to remove borders from tables and images */
|
|
21
|
+
.borderless, table.borderless td, table.borderless th {
|
|
22
|
+
border: 0 }
|
|
23
|
+
|
|
24
|
+
table.borderless td, table.borderless th {
|
|
25
|
+
/* Override padding for "table.docutils td" with "! important".
|
|
26
|
+
The right padding separates the table cells. */
|
|
27
|
+
padding: 0 0.5em 0 0 ! important }
|
|
28
|
+
|
|
29
|
+
.first {
|
|
30
|
+
/* Override more specific margin styles with "! important". */
|
|
31
|
+
margin-top: 0 ! important }
|
|
32
|
+
|
|
33
|
+
.last, .with-subtitle {
|
|
34
|
+
margin-bottom: 0 ! important }
|
|
35
|
+
|
|
36
|
+
.hidden {
|
|
37
|
+
display: none }
|
|
38
|
+
|
|
39
|
+
.subscript {
|
|
40
|
+
vertical-align: sub;
|
|
41
|
+
font-size: smaller }
|
|
42
|
+
|
|
43
|
+
.superscript {
|
|
44
|
+
vertical-align: super;
|
|
45
|
+
font-size: smaller }
|
|
46
|
+
|
|
47
|
+
a.toc-backref {
|
|
48
|
+
text-decoration: none ;
|
|
49
|
+
color: black }
|
|
50
|
+
|
|
51
|
+
blockquote.epigraph {
|
|
52
|
+
margin: 2em 5em ; }
|
|
53
|
+
|
|
54
|
+
dl.docutils dd {
|
|
55
|
+
margin-bottom: 0.5em }
|
|
56
|
+
|
|
57
|
+
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
|
|
58
|
+
overflow: hidden;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* Uncomment (and remove this text!) to get bold-faced definition list terms
|
|
62
|
+
dl.docutils dt {
|
|
63
|
+
font-weight: bold }
|
|
64
|
+
*/
|
|
65
|
+
|
|
66
|
+
div.abstract {
|
|
67
|
+
margin: 2em 5em }
|
|
68
|
+
|
|
69
|
+
div.abstract p.topic-title {
|
|
70
|
+
font-weight: bold ;
|
|
71
|
+
text-align: center }
|
|
72
|
+
|
|
73
|
+
div.admonition, div.attention, div.caution, div.danger, div.error,
|
|
74
|
+
div.hint, div.important, div.note, div.tip, div.warning {
|
|
75
|
+
margin: 2em ;
|
|
76
|
+
border: medium outset ;
|
|
77
|
+
padding: 1em }
|
|
78
|
+
|
|
79
|
+
div.admonition p.admonition-title, div.hint p.admonition-title,
|
|
80
|
+
div.important p.admonition-title, div.note p.admonition-title,
|
|
81
|
+
div.tip p.admonition-title {
|
|
82
|
+
font-weight: bold ;
|
|
83
|
+
font-family: sans-serif }
|
|
84
|
+
|
|
85
|
+
div.attention p.admonition-title, div.caution p.admonition-title,
|
|
86
|
+
div.danger p.admonition-title, div.error p.admonition-title,
|
|
87
|
+
div.warning p.admonition-title, .code .error {
|
|
88
|
+
color: red ;
|
|
89
|
+
font-weight: bold ;
|
|
90
|
+
font-family: sans-serif }
|
|
91
|
+
|
|
92
|
+
/* Uncomment (and remove this text!) to get reduced vertical space in
|
|
93
|
+
compound paragraphs.
|
|
94
|
+
div.compound .compound-first, div.compound .compound-middle {
|
|
95
|
+
margin-bottom: 0.5em }
|
|
96
|
+
|
|
97
|
+
div.compound .compound-last, div.compound .compound-middle {
|
|
98
|
+
margin-top: 0.5em }
|
|
99
|
+
*/
|
|
100
|
+
|
|
101
|
+
div.dedication {
|
|
102
|
+
margin: 2em 5em ;
|
|
103
|
+
text-align: center ;
|
|
104
|
+
font-style: italic }
|
|
105
|
+
|
|
106
|
+
div.dedication p.topic-title {
|
|
107
|
+
font-weight: bold ;
|
|
108
|
+
font-style: normal }
|
|
109
|
+
|
|
110
|
+
div.figure {
|
|
111
|
+
margin-left: 2em ;
|
|
112
|
+
margin-right: 2em }
|
|
113
|
+
|
|
114
|
+
div.footer, div.header {
|
|
115
|
+
clear: both;
|
|
116
|
+
font-size: smaller }
|
|
117
|
+
|
|
118
|
+
div.line-block {
|
|
119
|
+
display: block ;
|
|
120
|
+
margin-top: 1em ;
|
|
121
|
+
margin-bottom: 1em }
|
|
122
|
+
|
|
123
|
+
div.line-block div.line-block {
|
|
124
|
+
margin-top: 0 ;
|
|
125
|
+
margin-bottom: 0 ;
|
|
126
|
+
margin-left: 1.5em }
|
|
127
|
+
|
|
128
|
+
div.sidebar {
|
|
129
|
+
margin: 0 0 0.5em 1em ;
|
|
130
|
+
border: medium outset ;
|
|
131
|
+
padding: 1em ;
|
|
132
|
+
background-color: #ffffee ;
|
|
133
|
+
width: 40% ;
|
|
134
|
+
float: right ;
|
|
135
|
+
clear: right }
|
|
136
|
+
|
|
137
|
+
div.sidebar p.rubric {
|
|
138
|
+
font-family: sans-serif ;
|
|
139
|
+
font-size: medium }
|
|
140
|
+
|
|
141
|
+
div.system-messages {
|
|
142
|
+
margin: 5em }
|
|
143
|
+
|
|
144
|
+
div.system-messages h1 {
|
|
145
|
+
color: red }
|
|
146
|
+
|
|
147
|
+
div.system-message {
|
|
148
|
+
border: medium outset ;
|
|
149
|
+
padding: 1em }
|
|
150
|
+
|
|
151
|
+
div.system-message p.system-message-title {
|
|
152
|
+
color: red ;
|
|
153
|
+
font-weight: bold }
|
|
154
|
+
|
|
155
|
+
div.topic {
|
|
156
|
+
margin: 2em }
|
|
157
|
+
|
|
158
|
+
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
|
|
159
|
+
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
|
|
160
|
+
margin-top: 0.4em }
|
|
161
|
+
|
|
162
|
+
h1.title {
|
|
163
|
+
text-align: center }
|
|
164
|
+
|
|
165
|
+
h2.subtitle {
|
|
166
|
+
text-align: center }
|
|
167
|
+
|
|
168
|
+
hr.docutils {
|
|
169
|
+
width: 75% }
|
|
170
|
+
|
|
171
|
+
img.align-left, .figure.align-left, object.align-left, table.align-left {
|
|
172
|
+
clear: left ;
|
|
173
|
+
float: left ;
|
|
174
|
+
margin-right: 1em }
|
|
175
|
+
|
|
176
|
+
img.align-right, .figure.align-right, object.align-right, table.align-right {
|
|
177
|
+
clear: right ;
|
|
178
|
+
float: right ;
|
|
179
|
+
margin-left: 1em }
|
|
180
|
+
|
|
181
|
+
img.align-center, .figure.align-center, object.align-center {
|
|
182
|
+
display: block;
|
|
183
|
+
margin-left: auto;
|
|
184
|
+
margin-right: auto;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
table.align-center {
|
|
188
|
+
margin-left: auto;
|
|
189
|
+
margin-right: auto;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.align-left {
|
|
193
|
+
text-align: left }
|
|
194
|
+
|
|
195
|
+
.align-center {
|
|
196
|
+
clear: both ;
|
|
197
|
+
text-align: center }
|
|
198
|
+
|
|
199
|
+
.align-right {
|
|
200
|
+
text-align: right }
|
|
201
|
+
|
|
202
|
+
/* reset inner alignment in figures */
|
|
203
|
+
div.align-right {
|
|
204
|
+
text-align: inherit }
|
|
205
|
+
|
|
206
|
+
/* div.align-center * { */
|
|
207
|
+
/* text-align: left } */
|
|
208
|
+
|
|
209
|
+
.align-top {
|
|
210
|
+
vertical-align: top }
|
|
211
|
+
|
|
212
|
+
.align-middle {
|
|
213
|
+
vertical-align: middle }
|
|
214
|
+
|
|
215
|
+
.align-bottom {
|
|
216
|
+
vertical-align: bottom }
|
|
217
|
+
|
|
218
|
+
ol.simple, ul.simple {
|
|
219
|
+
margin-bottom: 1em }
|
|
220
|
+
|
|
221
|
+
ol.arabic {
|
|
222
|
+
list-style: decimal }
|
|
223
|
+
|
|
224
|
+
ol.loweralpha {
|
|
225
|
+
list-style: lower-alpha }
|
|
226
|
+
|
|
227
|
+
ol.upperalpha {
|
|
228
|
+
list-style: upper-alpha }
|
|
229
|
+
|
|
230
|
+
ol.lowerroman {
|
|
231
|
+
list-style: lower-roman }
|
|
232
|
+
|
|
233
|
+
ol.upperroman {
|
|
234
|
+
list-style: upper-roman }
|
|
235
|
+
|
|
236
|
+
p.attribution {
|
|
237
|
+
text-align: right ;
|
|
238
|
+
margin-left: 50% }
|
|
239
|
+
|
|
240
|
+
p.caption {
|
|
241
|
+
font-style: italic }
|
|
242
|
+
|
|
243
|
+
p.credits {
|
|
244
|
+
font-style: italic ;
|
|
245
|
+
font-size: smaller }
|
|
246
|
+
|
|
247
|
+
p.label {
|
|
248
|
+
white-space: nowrap }
|
|
249
|
+
|
|
250
|
+
p.rubric {
|
|
251
|
+
font-weight: bold ;
|
|
252
|
+
font-size: larger ;
|
|
253
|
+
color: maroon ;
|
|
254
|
+
text-align: center }
|
|
255
|
+
|
|
256
|
+
p.sidebar-title {
|
|
257
|
+
font-family: sans-serif ;
|
|
258
|
+
font-weight: bold ;
|
|
259
|
+
font-size: larger }
|
|
260
|
+
|
|
261
|
+
p.sidebar-subtitle {
|
|
262
|
+
font-family: sans-serif ;
|
|
263
|
+
font-weight: bold }
|
|
264
|
+
|
|
265
|
+
p.topic-title {
|
|
266
|
+
font-weight: bold }
|
|
267
|
+
|
|
268
|
+
pre.address {
|
|
269
|
+
margin-bottom: 0 ;
|
|
270
|
+
margin-top: 0 ;
|
|
271
|
+
font: inherit }
|
|
272
|
+
|
|
273
|
+
pre.literal-block, pre.doctest-block, pre.math, pre.code {
|
|
274
|
+
margin-left: 2em ;
|
|
275
|
+
margin-right: 2em }
|
|
276
|
+
|
|
277
|
+
pre.code .ln { color: grey; } /* line numbers */
|
|
278
|
+
pre.code, code { background-color: #eeeeee }
|
|
279
|
+
pre.code .comment, code .comment { color: #5C6576 }
|
|
280
|
+
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
|
|
281
|
+
pre.code .literal.string, code .literal.string { color: #0C5404 }
|
|
282
|
+
pre.code .name.builtin, code .name.builtin { color: #352B84 }
|
|
283
|
+
pre.code .deleted, code .deleted { background-color: #DEB0A1}
|
|
284
|
+
pre.code .inserted, code .inserted { background-color: #A3D289}
|
|
285
|
+
|
|
286
|
+
span.classifier {
|
|
287
|
+
font-family: sans-serif ;
|
|
288
|
+
font-style: oblique }
|
|
289
|
+
|
|
290
|
+
span.classifier-delimiter {
|
|
291
|
+
font-family: sans-serif ;
|
|
292
|
+
font-weight: bold }
|
|
293
|
+
|
|
294
|
+
span.interpreted {
|
|
295
|
+
font-family: sans-serif }
|
|
296
|
+
|
|
297
|
+
span.option {
|
|
298
|
+
white-space: nowrap }
|
|
299
|
+
|
|
300
|
+
span.pre {
|
|
301
|
+
white-space: pre }
|
|
302
|
+
|
|
303
|
+
span.problematic {
|
|
304
|
+
color: red }
|
|
305
|
+
|
|
306
|
+
span.section-subtitle {
|
|
307
|
+
/* font-size relative to parent (h1..h6 element) */
|
|
308
|
+
font-size: 80% }
|
|
309
|
+
|
|
310
|
+
table.citation {
|
|
311
|
+
border-left: solid 1px gray;
|
|
312
|
+
margin-left: 1px }
|
|
313
|
+
|
|
314
|
+
table.docinfo {
|
|
315
|
+
margin: 2em 4em }
|
|
316
|
+
|
|
317
|
+
table.docutils {
|
|
318
|
+
margin-top: 0.5em ;
|
|
319
|
+
margin-bottom: 0.5em }
|
|
320
|
+
|
|
321
|
+
table.footnote {
|
|
322
|
+
border-left: solid 1px black;
|
|
323
|
+
margin-left: 1px }
|
|
324
|
+
|
|
325
|
+
table.docutils td, table.docutils th,
|
|
326
|
+
table.docinfo td, table.docinfo th {
|
|
327
|
+
padding-left: 0.5em ;
|
|
328
|
+
padding-right: 0.5em ;
|
|
329
|
+
vertical-align: top }
|
|
330
|
+
|
|
331
|
+
table.docutils th.field-name, table.docinfo th.docinfo-name {
|
|
332
|
+
font-weight: bold ;
|
|
333
|
+
text-align: left ;
|
|
334
|
+
white-space: nowrap ;
|
|
335
|
+
padding-left: 0 }
|
|
336
|
+
|
|
337
|
+
/* "booktabs" style (no vertical lines) */
|
|
338
|
+
table.docutils.booktabs {
|
|
339
|
+
border: 0px;
|
|
340
|
+
border-top: 2px solid;
|
|
341
|
+
border-bottom: 2px solid;
|
|
342
|
+
border-collapse: collapse;
|
|
343
|
+
}
|
|
344
|
+
table.docutils.booktabs * {
|
|
345
|
+
border: 0px;
|
|
346
|
+
}
|
|
347
|
+
table.docutils.booktabs th {
|
|
348
|
+
border-bottom: thin solid;
|
|
349
|
+
text-align: left;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
|
|
353
|
+
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
|
|
354
|
+
font-size: 100% }
|
|
355
|
+
|
|
356
|
+
ul.auto-toc {
|
|
357
|
+
list-style-type: none }
|
|
358
|
+
|
|
359
|
+
</style>
|
|
360
|
+
</head>
|
|
361
|
+
<body>
|
|
362
|
+
<div class="document" id="account-move-line-xlsx-export">
|
|
363
|
+
<h1 class="title">Account Move Line XLSX export</h1>
|
|
364
|
+
|
|
365
|
+
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
366
|
+
!! This file is generated by oca-gen-addon-readme !!
|
|
367
|
+
!! changes will be overwritten. !!
|
|
368
|
+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
369
|
+
!! source digest: sha256:585fb4c438ac263d7904ecbdcae3a45c8ab9b0c126a164b7df9bd2a10ec7fc55
|
|
370
|
+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
|
371
|
+
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.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/account-financial-reporting/tree/15.0/account_move_line_report_xls"><img alt="OCA/account-financial-reporting" src="https://img.shields.io/badge/github-OCA%2Faccount--financial--reporting-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-financial-reporting-15-0/account-financial-reporting-15-0-account_move_line_report_xls"><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/account-financial-reporting&target_branch=15.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
|
372
|
+
<p>This module extends the functionality of the journal items
|
|
373
|
+
(‘account.move.line’) list view and allow you to export the selected lines.</p>
|
|
374
|
+
<p><strong>Table of contents</strong></p>
|
|
375
|
+
<div class="contents local topic" id="contents">
|
|
376
|
+
<ul class="simple">
|
|
377
|
+
<li><a class="reference internal" href="#usage" id="toc-entry-1">Usage</a></li>
|
|
378
|
+
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-2">Bug Tracker</a></li>
|
|
379
|
+
<li><a class="reference internal" href="#credits" id="toc-entry-3">Credits</a><ul>
|
|
380
|
+
<li><a class="reference internal" href="#authors" id="toc-entry-4">Authors</a></li>
|
|
381
|
+
<li><a class="reference internal" href="#contributors" id="toc-entry-5">Contributors</a></li>
|
|
382
|
+
<li><a class="reference internal" href="#maintainers" id="toc-entry-6">Maintainers</a></li>
|
|
383
|
+
</ul>
|
|
384
|
+
</li>
|
|
385
|
+
</ul>
|
|
386
|
+
</div>
|
|
387
|
+
<div class="section" id="usage">
|
|
388
|
+
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
|
|
389
|
+
<p>To use this module, you need to:</p>
|
|
390
|
+
<ul class="simple">
|
|
391
|
+
<li>go to the list view of the journal items</li>
|
|
392
|
+
<li>select the lines you wish to export</li>
|
|
393
|
+
<li>click on the button on top to export</li>
|
|
394
|
+
</ul>
|
|
395
|
+
<p>The Excel export can be tailored to your exact needs via the following methods
|
|
396
|
+
of the ‘account.move.line’ object:</p>
|
|
397
|
+
<ul>
|
|
398
|
+
<li><p class="first"><strong>_report_xlsx_fields</strong></p>
|
|
399
|
+
<p>Add/drop columns or change order from the list of columns that are defined
|
|
400
|
+
in the Excel template.</p>
|
|
401
|
+
<p>The following fields are defined in the Excel template:</p>
|
|
402
|
+
<blockquote>
|
|
403
|
+
<p>move, name, date, journal, period, partner, account,
|
|
404
|
+
date_maturity, debit, credit, balance,
|
|
405
|
+
reconcile, reconcile_partial, analytic_account,
|
|
406
|
+
ref, partner_ref, tax_code, tax_amount, amount_residual,
|
|
407
|
+
amount_currency, currency_name, company_currency,
|
|
408
|
+
amount_residual_currency, product, product_ref’, product_uom, quantity,
|
|
409
|
+
statement, invoice, narration, blocked</p>
|
|
410
|
+
</blockquote>
|
|
411
|
+
</li>
|
|
412
|
+
<li><p class="first"><strong>_report_xlsx_template</strong></p>
|
|
413
|
+
<p>Change/extend the Excel template.</p>
|
|
414
|
+
</li>
|
|
415
|
+
</ul>
|
|
416
|
+
</div>
|
|
417
|
+
<div class="section" id="bug-tracker">
|
|
418
|
+
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
|
|
419
|
+
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/account-financial-reporting/issues">GitHub Issues</a>.
|
|
420
|
+
In case of trouble, please check there if your issue has already been reported.
|
|
421
|
+
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
422
|
+
<a class="reference external" href="https://github.com/OCA/account-financial-reporting/issues/new?body=module:%20account_move_line_report_xls%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
|
423
|
+
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
|
424
|
+
</div>
|
|
425
|
+
<div class="section" id="credits">
|
|
426
|
+
<h1><a class="toc-backref" href="#toc-entry-3">Credits</a></h1>
|
|
427
|
+
<div class="section" id="authors">
|
|
428
|
+
<h2><a class="toc-backref" href="#toc-entry-4">Authors</a></h2>
|
|
429
|
+
<ul class="simple">
|
|
430
|
+
<li>Noviat</li>
|
|
431
|
+
</ul>
|
|
432
|
+
</div>
|
|
433
|
+
<div class="section" id="contributors">
|
|
434
|
+
<h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
|
|
435
|
+
<ul class="simple">
|
|
436
|
+
<li>Luc De Meyer <<a class="reference external" href="mailto:luc.demeyer@noviat.com">luc.demeyer@noviat.com</a>></li>
|
|
437
|
+
</ul>
|
|
438
|
+
</div>
|
|
439
|
+
<div class="section" id="maintainers">
|
|
440
|
+
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
|
|
441
|
+
<p>This module is maintained by the OCA.</p>
|
|
442
|
+
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
|
|
443
|
+
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
444
|
+
mission is to support the collaborative development of Odoo features and
|
|
445
|
+
promote its widespread use.</p>
|
|
446
|
+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-financial-reporting/tree/15.0/account_move_line_report_xls">OCA/account-financial-reporting</a> project on GitHub.</p>
|
|
447
|
+
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
|
|
448
|
+
</div>
|
|
449
|
+
</div>
|
|
450
|
+
</div>
|
|
451
|
+
</body>
|
|
452
|
+
</html>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from . import test_aml_report_xlsx
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Copyright 2009-2020 Noviat.
|
|
2
|
+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
3
|
+
|
|
4
|
+
from odoo.tests.common import TransactionCase
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class TestAmlReportXlsx(TransactionCase):
|
|
8
|
+
def setUp(self):
|
|
9
|
+
super(TestAmlReportXlsx, self).setUp()
|
|
10
|
+
self.report = self.env.ref(
|
|
11
|
+
"account_move_line_report_xls.action_account_move_line_xlsx"
|
|
12
|
+
)
|
|
13
|
+
sale_journal = self.env["account.journal"].search([("type", "=", "sale")])[0]
|
|
14
|
+
ar = self.env["account.account"].search([("internal_type", "=", "receivable")])[
|
|
15
|
+
0
|
|
16
|
+
]
|
|
17
|
+
aml_vals = [
|
|
18
|
+
{"name": "debit", "debit": 100, "account_id": ar.id},
|
|
19
|
+
{"name": "credit", "credit": 100, "account_id": ar.id},
|
|
20
|
+
]
|
|
21
|
+
am = self.env["account.move"].create(
|
|
22
|
+
{
|
|
23
|
+
"name": "test",
|
|
24
|
+
"journal_id": sale_journal.id,
|
|
25
|
+
"line_ids": [(0, 0, x) for x in aml_vals],
|
|
26
|
+
}
|
|
27
|
+
)
|
|
28
|
+
self.amls = am.line_ids
|
|
29
|
+
|
|
30
|
+
def test_aml_report_xlsx(self):
|
|
31
|
+
report_xls = self.report._render_xlsx(self.amls.ids, None)
|
|
32
|
+
self.assertEqual(report_xls[1], "xlsx")
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: odoo-addon-account-move-line-report-xls
|
|
3
|
+
Version: 15.0.1.0.0.2
|
|
4
|
+
Summary: Journal Items Excel export
|
|
5
|
+
Home-page: https://github.com/OCA/account-financial-reporting
|
|
6
|
+
Author: Noviat, Odoo Community Association (OCA)
|
|
7
|
+
Author-email: support@odoo-community.org
|
|
8
|
+
License: AGPL-3
|
|
9
|
+
Platform: UNKNOWN
|
|
10
|
+
Classifier: Programming Language :: Python
|
|
11
|
+
Classifier: Framework :: Odoo
|
|
12
|
+
Classifier: Framework :: Odoo :: 15.0
|
|
13
|
+
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
|
|
14
|
+
Requires-Python: >=3.8
|
|
15
|
+
Requires-Dist: odoo-addon-report-xlsx-helper <15.1dev,>=15.0dev
|
|
16
|
+
Requires-Dist: odoo <15.1dev,>=15.0a
|
|
17
|
+
|
|
18
|
+
=============================
|
|
19
|
+
Account Move Line XLSX export
|
|
20
|
+
=============================
|
|
21
|
+
|
|
22
|
+
..
|
|
23
|
+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
24
|
+
!! This file is generated by oca-gen-addon-readme !!
|
|
25
|
+
!! changes will be overwritten. !!
|
|
26
|
+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
27
|
+
!! source digest: sha256:585fb4c438ac263d7904ecbdcae3a45c8ab9b0c126a164b7df9bd2a10ec7fc55
|
|
28
|
+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
29
|
+
|
|
30
|
+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
31
|
+
:target: https://odoo-community.org/page/development-status
|
|
32
|
+
:alt: Beta
|
|
33
|
+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
|
|
34
|
+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
|
35
|
+
:alt: License: AGPL-3
|
|
36
|
+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--financial--reporting-lightgray.png?logo=github
|
|
37
|
+
:target: https://github.com/OCA/account-financial-reporting/tree/15.0/account_move_line_report_xls
|
|
38
|
+
:alt: OCA/account-financial-reporting
|
|
39
|
+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
|
40
|
+
:target: https://translation.odoo-community.org/projects/account-financial-reporting-15-0/account-financial-reporting-15-0-account_move_line_report_xls
|
|
41
|
+
:alt: Translate me on Weblate
|
|
42
|
+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
|
|
43
|
+
:target: https://runboat.odoo-community.org/builds?repo=OCA/account-financial-reporting&target_branch=15.0
|
|
44
|
+
:alt: Try me on Runboat
|
|
45
|
+
|
|
46
|
+
|badge1| |badge2| |badge3| |badge4| |badge5|
|
|
47
|
+
|
|
48
|
+
This module extends the functionality of the journal items
|
|
49
|
+
('account.move.line') list view and allow you to export the selected lines.
|
|
50
|
+
|
|
51
|
+
**Table of contents**
|
|
52
|
+
|
|
53
|
+
.. contents::
|
|
54
|
+
:local:
|
|
55
|
+
|
|
56
|
+
Usage
|
|
57
|
+
=====
|
|
58
|
+
|
|
59
|
+
To use this module, you need to:
|
|
60
|
+
|
|
61
|
+
* go to the list view of the journal items
|
|
62
|
+
* select the lines you wish to export
|
|
63
|
+
* click on the button on top to export
|
|
64
|
+
|
|
65
|
+
The Excel export can be tailored to your exact needs via the following methods
|
|
66
|
+
of the 'account.move.line' object:
|
|
67
|
+
|
|
68
|
+
* **_report_xlsx_fields**
|
|
69
|
+
|
|
70
|
+
Add/drop columns or change order from the list of columns that are defined
|
|
71
|
+
in the Excel template.
|
|
72
|
+
|
|
73
|
+
The following fields are defined in the Excel template:
|
|
74
|
+
|
|
75
|
+
move, name, date, journal, period, partner, account,
|
|
76
|
+
date_maturity, debit, credit, balance,
|
|
77
|
+
reconcile, reconcile_partial, analytic_account,
|
|
78
|
+
ref, partner_ref, tax_code, tax_amount, amount_residual,
|
|
79
|
+
amount_currency, currency_name, company_currency,
|
|
80
|
+
amount_residual_currency, product, product_ref', product_uom, quantity,
|
|
81
|
+
statement, invoice, narration, blocked
|
|
82
|
+
|
|
83
|
+
* **_report_xlsx_template**
|
|
84
|
+
|
|
85
|
+
Change/extend the Excel template.
|
|
86
|
+
|
|
87
|
+
Bug Tracker
|
|
88
|
+
===========
|
|
89
|
+
|
|
90
|
+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-financial-reporting/issues>`_.
|
|
91
|
+
In case of trouble, please check there if your issue has already been reported.
|
|
92
|
+
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
93
|
+
`feedback <https://github.com/OCA/account-financial-reporting/issues/new?body=module:%20account_move_line_report_xls%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
|
94
|
+
|
|
95
|
+
Do not contact contributors directly about support or help with technical issues.
|
|
96
|
+
|
|
97
|
+
Credits
|
|
98
|
+
=======
|
|
99
|
+
|
|
100
|
+
Authors
|
|
101
|
+
~~~~~~~
|
|
102
|
+
|
|
103
|
+
* Noviat
|
|
104
|
+
|
|
105
|
+
Contributors
|
|
106
|
+
~~~~~~~~~~~~
|
|
107
|
+
|
|
108
|
+
* Luc De Meyer <luc.demeyer@noviat.com>
|
|
109
|
+
|
|
110
|
+
Maintainers
|
|
111
|
+
~~~~~~~~~~~
|
|
112
|
+
|
|
113
|
+
This module is maintained by the OCA.
|
|
114
|
+
|
|
115
|
+
.. image:: https://odoo-community.org/logo.png
|
|
116
|
+
:alt: Odoo Community Association
|
|
117
|
+
:target: https://odoo-community.org
|
|
118
|
+
|
|
119
|
+
OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
120
|
+
mission is to support the collaborative development of Odoo features and
|
|
121
|
+
promote its widespread use.
|
|
122
|
+
|
|
123
|
+
This module is part of the `OCA/account-financial-reporting <https://github.com/OCA/account-financial-reporting/tree/15.0/account_move_line_report_xls>`_ project on GitHub.
|
|
124
|
+
|
|
125
|
+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
|
126
|
+
|
|
127
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
odoo/addons/account_move_line_report_xls/README.rst,sha256=x9_ORCTqwSR-9Xngfk9zT4-L5lPoZllxjaOuz6g9Gkg,4065
|
|
2
|
+
odoo/addons/account_move_line_report_xls/__init__.py,sha256=IY5nF-lOQYcm9CTWIbVnTLJb6PJIp0mutE29nkdX3es,259
|
|
3
|
+
odoo/addons/account_move_line_report_xls/__manifest__.py,sha256=42NGwZB0noBkc9AdXxUvpK2sOKmguYCiNPp8skXuCqQ,536
|
|
4
|
+
odoo/addons/account_move_line_report_xls/i18n/account_move_line_report_xls.pot,sha256=IGIOyMwdrpKrYyaISqWWXx3Bndew4rZWoKK-kKh8c9k,6389
|
|
5
|
+
odoo/addons/account_move_line_report_xls/i18n/fr.po,sha256=eDx-CtPlK4TNhXolvfUemo858xbQkpaZXxDNijwDx20,8033
|
|
6
|
+
odoo/addons/account_move_line_report_xls/i18n/nl.po,sha256=u5vhtxDsuNvlNbXoUHXsSSyLXUpUuUSEjM1cR_K2W5o,7967
|
|
7
|
+
odoo/addons/account_move_line_report_xls/models/__init__.py,sha256=mF9GDUr6-OiEO9ML3T5FLEFtNN01jg2OpdHPAqiCdKA,32
|
|
8
|
+
odoo/addons/account_move_line_report_xls/models/account_move_line.py,sha256=P16nDrU9f8z4EpxtXIWRA2uxNgb-xFT1rOl0IweECOA,1682
|
|
9
|
+
odoo/addons/account_move_line_report_xls/readme/CONTRIBUTORS.rst,sha256=drarrI869G_XlSo_ttS8wwAQmyP8_4iJJZqq830_NDs,40
|
|
10
|
+
odoo/addons/account_move_line_report_xls/readme/DESCRIPTION.rst,sha256=iYWjXhKWbF7RjgfBxs7Tc3s1iwtTRPBB39Y5s5U2oxM,135
|
|
11
|
+
odoo/addons/account_move_line_report_xls/readme/USAGE.rst,sha256=DAQM83IicT_HxYYF7Ba71dXCra8fHx3y-o0lHqQnhRs,922
|
|
12
|
+
odoo/addons/account_move_line_report_xls/report/__init__.py,sha256=Sg2XitL5HNNARlTPg5YJcaYMghCvaxiqQ2RSUBtM1Qw,37
|
|
13
|
+
odoo/addons/account_move_line_report_xls/report/account_move_line_xlsx.py,sha256=lAdIRD5iIyGCsi7iH-TEedHJ1bqMW6S1o8oo4TCzFz0,15076
|
|
14
|
+
odoo/addons/account_move_line_report_xls/report/account_move_line_xlsx.xml,sha256=kH1NI46RrBRVJdy7KrbpbUFgTCnK7V36P1cJR2WU8Es,659
|
|
15
|
+
odoo/addons/account_move_line_report_xls/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
|
16
|
+
odoo/addons/account_move_line_report_xls/static/description/icon.svg,sha256=diKhOMF5l92KAWYh0Ei8TCDq2cJnMT7UPvFPIqVPFVU,45999
|
|
17
|
+
odoo/addons/account_move_line_report_xls/static/description/index.html,sha256=gzUXCmoP_h5aV36L6zZ3C5QVKTGMO31DD4XPFlRppk0,13628
|
|
18
|
+
odoo/addons/account_move_line_report_xls/tests/__init__.py,sha256=WyTSvzgcCBU1Kt7-coQzrIExZW5YkvmZx5UlVh5R9Jo,35
|
|
19
|
+
odoo/addons/account_move_line_report_xls/tests/test_aml_report_xlsx.py,sha256=co64fKqkP7uz8BBY9l3oDwr8aH_ZBnu48YqnDUmhCiM,1142
|
|
20
|
+
odoo_addon_account_move_line_report_xls-15.0.1.0.0.2.dist-info/METADATA,sha256=oVBOAl8y0-s5ylu3F6m5bNHMKXJZ7E47clYQqbeXnK8,4691
|
|
21
|
+
odoo_addon_account_move_line_report_xls-15.0.1.0.0.2.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
22
|
+
odoo_addon_account_move_line_report_xls-15.0.1.0.0.2.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
|
|
23
|
+
odoo_addon_account_move_line_report_xls-15.0.1.0.0.2.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
odoo
|