odoo-addon-account-financial-report 17.0.1.6.12.2__py3-none-any.whl → 17.0.1.7.0__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.
Potentially problematic release.
This version of odoo-addon-account-financial-report might be problematic. Click here for more details.
- odoo/addons/account_financial_report/README.rst +1 -1
- odoo/addons/account_financial_report/__manifest__.py +1 -1
- odoo/addons/account_financial_report/i18n/account_financial_report.pot +16 -0
- odoo/addons/account_financial_report/i18n/es.po +15 -1
- odoo/addons/account_financial_report/report/open_items.py +29 -25
- odoo/addons/account_financial_report/report/open_items_xlsx.py +150 -17
- odoo/addons/account_financial_report/report/templates/open_items.xml +183 -56
- odoo/addons/account_financial_report/static/description/index.html +1 -1
- odoo/addons/account_financial_report/tests/test_open_items.py +30 -0
- odoo/addons/account_financial_report/wizard/open_items_wizard.py +18 -0
- odoo/addons/account_financial_report/wizard/open_items_wizard_view.xml +1 -0
- {odoo_addon_account_financial_report-17.0.1.6.12.2.dist-info → odoo_addon_account_financial_report-17.0.1.7.0.dist-info}/METADATA +2 -2
- {odoo_addon_account_financial_report-17.0.1.6.12.2.dist-info → odoo_addon_account_financial_report-17.0.1.7.0.dist-info}/RECORD +15 -15
- {odoo_addon_account_financial_report-17.0.1.6.12.2.dist-info → odoo_addon_account_financial_report-17.0.1.7.0.dist-info}/WHEEL +0 -0
- {odoo_addon_account_financial_report-17.0.1.6.12.2.dist-info → odoo_addon_account_financial_report-17.0.1.7.0.dist-info}/top_level.txt +0 -0
|
@@ -11,7 +11,7 @@ Account Financial Reports
|
|
|
11
11
|
!! This file is generated by oca-gen-addon-readme !!
|
|
12
12
|
!! changes will be overwritten. !!
|
|
13
13
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
14
|
-
!! source digest: sha256:
|
|
14
|
+
!! source digest: sha256:cfbb2086a9be8678690d4a0be5da4df57c9659b82433d1ce724a46ae7aa70cb3
|
|
15
15
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
16
16
|
|
|
17
17
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
@@ -752,6 +752,7 @@ msgstr ""
|
|
|
752
752
|
#. odoo-python
|
|
753
753
|
#: code:addons/account_financial_report/report/general_ledger_xlsx.py:0
|
|
754
754
|
#: code:addons/account_financial_report/report/open_items_xlsx.py:0
|
|
755
|
+
#: code:addons/account_financial_report/report/open_items_xlsx.py:0
|
|
755
756
|
#: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
|
|
756
757
|
#: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
|
|
757
758
|
#: code:addons/account_financial_report/report/trial_balance_xlsx.py:0
|
|
@@ -953,6 +954,7 @@ msgstr ""
|
|
|
953
954
|
|
|
954
955
|
#. module: account_financial_report
|
|
955
956
|
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__grouped_by
|
|
957
|
+
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__grouped_by
|
|
956
958
|
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__grouped_by
|
|
957
959
|
msgid "Grouped By"
|
|
958
960
|
msgstr ""
|
|
@@ -1178,6 +1180,7 @@ msgstr ""
|
|
|
1178
1180
|
#: code:addons/account_financial_report/report/general_ledger.py:0
|
|
1179
1181
|
#: code:addons/account_financial_report/report/general_ledger.py:0
|
|
1180
1182
|
#: code:addons/account_financial_report/report/open_items.py:0
|
|
1183
|
+
#: code:addons/account_financial_report/report/open_items_xlsx.py:0
|
|
1181
1184
|
#: code:addons/account_financial_report/report/trial_balance.py:0
|
|
1182
1185
|
#: code:addons/account_financial_report/report/trial_balance.py:0
|
|
1183
1186
|
#: code:addons/account_financial_report/report/trial_balance.py:0
|
|
@@ -1185,6 +1188,13 @@ msgstr ""
|
|
|
1185
1188
|
msgid "Missing Partner"
|
|
1186
1189
|
msgstr ""
|
|
1187
1190
|
|
|
1191
|
+
#. module: account_financial_report
|
|
1192
|
+
#. odoo-python
|
|
1193
|
+
#: code:addons/account_financial_report/report/open_items.py:0
|
|
1194
|
+
#, python-format
|
|
1195
|
+
msgid "Missing Salesperson"
|
|
1196
|
+
msgstr ""
|
|
1197
|
+
|
|
1188
1198
|
#. module: account_financial_report
|
|
1189
1199
|
#: model:ir.model,name:account_financial_report.model_account_age_report_configuration_line
|
|
1190
1200
|
msgid "Model to set interval lines for Age partner balance report"
|
|
@@ -1395,6 +1405,11 @@ msgstr ""
|
|
|
1395
1405
|
msgid "Partner Initial balance"
|
|
1396
1406
|
msgstr ""
|
|
1397
1407
|
|
|
1408
|
+
#. module: account_financial_report
|
|
1409
|
+
#: model:ir.model.fields.selection,name:account_financial_report.selection__open_items_report_wizard__grouped_by__salesperson
|
|
1410
|
+
msgid "Partner Salesperson"
|
|
1411
|
+
msgstr ""
|
|
1412
|
+
|
|
1398
1413
|
#. module: account_financial_report
|
|
1399
1414
|
#. odoo-python
|
|
1400
1415
|
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
|
|
@@ -1419,6 +1434,7 @@ msgstr ""
|
|
|
1419
1434
|
|
|
1420
1435
|
#. module: account_financial_report
|
|
1421
1436
|
#: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__partners
|
|
1437
|
+
#: model:ir.model.fields.selection,name:account_financial_report.selection__open_items_report_wizard__grouped_by__partners
|
|
1422
1438
|
msgid "Partners"
|
|
1423
1439
|
msgstr ""
|
|
1424
1440
|
|
|
@@ -972,6 +972,7 @@ msgstr "Agrupar por"
|
|
|
972
972
|
|
|
973
973
|
#. module: account_financial_report
|
|
974
974
|
#: model:ir.model.fields,field_description:account_financial_report.field_general_ledger_report_wizard__grouped_by
|
|
975
|
+
#: model:ir.model.fields,field_description:account_financial_report.field_open_items_report_wizard__grouped_by
|
|
975
976
|
#: model:ir.model.fields,field_description:account_financial_report.field_trial_balance_report_wizard__grouped_by
|
|
976
977
|
msgid "Grouped By"
|
|
977
978
|
msgstr "Agrupado por"
|
|
@@ -1204,7 +1205,13 @@ msgstr "Línea"
|
|
|
1204
1205
|
#: code:addons/account_financial_report/report/trial_balance.py:0
|
|
1205
1206
|
#, python-format
|
|
1206
1207
|
msgid "Missing Partner"
|
|
1207
|
-
msgstr "Falta
|
|
1208
|
+
msgstr "Falta la empresa"
|
|
1209
|
+
|
|
1210
|
+
#. module: account_financial_report
|
|
1211
|
+
#: code:addons/account_financial_report/report/open_items.py:0
|
|
1212
|
+
#, python-format
|
|
1213
|
+
msgid "Missing Salesperson"
|
|
1214
|
+
msgstr "Sin comercial"
|
|
1208
1215
|
|
|
1209
1216
|
#. module: account_financial_report
|
|
1210
1217
|
#: model:ir.model,name:account_financial_report.model_account_age_report_configuration_line
|
|
@@ -1417,6 +1424,12 @@ msgstr ""
|
|
|
1417
1424
|
msgid "Partner Initial balance"
|
|
1418
1425
|
msgstr "Saldo Inicial de empresa"
|
|
1419
1426
|
|
|
1427
|
+
#. module: account_financial_report
|
|
1428
|
+
#. odoo-python
|
|
1429
|
+
#: model:ir.model.fields.selection,name:account_financial_report.selection__open_items_report_wizard__grouped_by__salesperson
|
|
1430
|
+
msgid "Partner Salesperson"
|
|
1431
|
+
msgstr "Comercial de la empresa"
|
|
1432
|
+
|
|
1420
1433
|
#. module: account_financial_report
|
|
1421
1434
|
#. odoo-python
|
|
1422
1435
|
#: code:addons/account_financial_report/report/aged_partner_balance_xlsx.py:0
|
|
@@ -1441,6 +1454,7 @@ msgstr "Saldo inicial de empresa"
|
|
|
1441
1454
|
|
|
1442
1455
|
#. module: account_financial_report
|
|
1443
1456
|
#: model:ir.model.fields.selection,name:account_financial_report.selection__general_ledger_report_wizard__grouped_by__partners
|
|
1457
|
+
#: model:ir.model.fields.selection,name:account_financial_report.selection__open_items_report_wizard__grouped_by__partners
|
|
1444
1458
|
msgid "Partners"
|
|
1445
1459
|
msgstr "Empresas"
|
|
1446
1460
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
# ?? 2016 Julien Coux (Camptocamp)
|
|
2
2
|
# Copyright 2020 ForgeFlow S.L. (https://www.forgeflow.com)
|
|
3
|
+
# Copyright 2024 Tecnativa - Carolina Fernandez
|
|
3
4
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
4
5
|
|
|
5
6
|
import operator
|
|
@@ -66,6 +67,7 @@ class OpenItemsReport(models.AbstractModel):
|
|
|
66
67
|
only_posted_moves,
|
|
67
68
|
company_id,
|
|
68
69
|
date_from,
|
|
70
|
+
grouped_by,
|
|
69
71
|
):
|
|
70
72
|
domain = self._get_move_lines_domain_not_reconciled(
|
|
71
73
|
company_id, account_ids, partner_ids, only_posted_moves, date_from
|
|
@@ -75,7 +77,7 @@ class OpenItemsReport(models.AbstractModel):
|
|
|
75
77
|
domain=domain, fields=ml_fields
|
|
76
78
|
)
|
|
77
79
|
journals_ids = set()
|
|
78
|
-
|
|
80
|
+
group_ids = set()
|
|
79
81
|
partners_data = {}
|
|
80
82
|
if date_at_object < date.today():
|
|
81
83
|
(
|
|
@@ -119,29 +121,27 @@ class OpenItemsReport(models.AbstractModel):
|
|
|
119
121
|
journals_ids.add(move_line["journal_id"][0])
|
|
120
122
|
acc_id = move_line["account_id"][0]
|
|
121
123
|
# Partners data
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
124
|
+
partner = self.env["res.partner"]
|
|
125
|
+
if move_line.get("partner_id"):
|
|
126
|
+
partner = self.env["res.partner"].browse(move_line["partner_id"][0])
|
|
127
|
+
if grouped_by == "salesperson":
|
|
128
|
+
user = partner.user_id
|
|
129
|
+
group_id = user.id or 0
|
|
130
|
+
group_name = user.name or _("Missing Salesperson")
|
|
125
131
|
else:
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
if
|
|
129
|
-
partners_data.update({
|
|
130
|
-
|
|
131
|
-
|
|
132
|
+
group_id = partner.id or 0
|
|
133
|
+
group_name = partner.name or _("Missing Partner")
|
|
134
|
+
if group_id not in group_ids:
|
|
135
|
+
partners_data.update({group_id: {"id": group_id, "name": group_name}})
|
|
136
|
+
group_ids.add(group_id)
|
|
132
137
|
# Move line update
|
|
133
|
-
original = 0
|
|
134
|
-
|
|
135
138
|
if not float_is_zero(move_line["credit"], precision_digits=2):
|
|
136
139
|
original = move_line["credit"] * (-1)
|
|
137
|
-
|
|
140
|
+
else:
|
|
138
141
|
original = move_line["debit"]
|
|
139
142
|
|
|
140
143
|
if move_line["ref"] == move_line["name"]:
|
|
141
|
-
|
|
142
|
-
ref_label = move_line["ref"]
|
|
143
|
-
else:
|
|
144
|
-
ref_label = ""
|
|
144
|
+
ref_label = move_line["ref"] or ""
|
|
145
145
|
elif not move_line["ref"]:
|
|
146
146
|
ref_label = move_line["name"]
|
|
147
147
|
elif not move_line["name"]:
|
|
@@ -155,8 +155,8 @@ class OpenItemsReport(models.AbstractModel):
|
|
|
155
155
|
"date_maturity": move_line["date_maturity"]
|
|
156
156
|
and move_line["date_maturity"].strftime("%d/%m/%Y"),
|
|
157
157
|
"original": original,
|
|
158
|
-
"partner_id":
|
|
159
|
-
"partner_name":
|
|
158
|
+
"partner_id": partner.id or 0,
|
|
159
|
+
"partner_name": partner.name or "",
|
|
160
160
|
"ref_label": ref_label,
|
|
161
161
|
"journal_id": move_line["journal_id"][0],
|
|
162
162
|
"move_name": move_line["move_id"][1],
|
|
@@ -172,12 +172,12 @@ class OpenItemsReport(models.AbstractModel):
|
|
|
172
172
|
|
|
173
173
|
# Open Items Move Lines Data
|
|
174
174
|
if acc_id not in open_items_move_lines_data.keys():
|
|
175
|
-
open_items_move_lines_data[acc_id] = {
|
|
175
|
+
open_items_move_lines_data[acc_id] = {group_id: [move_line]}
|
|
176
176
|
else:
|
|
177
|
-
if
|
|
178
|
-
open_items_move_lines_data[acc_id][
|
|
177
|
+
if group_id not in open_items_move_lines_data[acc_id].keys():
|
|
178
|
+
open_items_move_lines_data[acc_id][group_id] = [move_line]
|
|
179
179
|
else:
|
|
180
|
-
open_items_move_lines_data[acc_id][
|
|
180
|
+
open_items_move_lines_data[acc_id][group_id].append(move_line)
|
|
181
181
|
journals_data = self._get_journals_data(list(journals_ids))
|
|
182
182
|
accounts_data = self._get_accounts_data(open_items_move_lines_data.keys())
|
|
183
183
|
return (
|
|
@@ -236,7 +236,9 @@ class OpenItemsReport(models.AbstractModel):
|
|
|
236
236
|
move_lines = []
|
|
237
237
|
for move_line in open_items_move_lines_data[acc_id][prt_id]:
|
|
238
238
|
move_lines += [move_line]
|
|
239
|
-
move_lines = sorted(
|
|
239
|
+
move_lines = sorted(
|
|
240
|
+
move_lines, key=lambda k: (k["date"], k["partner_id"])
|
|
241
|
+
)
|
|
240
242
|
new_open_items[acc_id][prt_id] = move_lines
|
|
241
243
|
return new_open_items
|
|
242
244
|
|
|
@@ -251,7 +253,7 @@ class OpenItemsReport(models.AbstractModel):
|
|
|
251
253
|
date_from = data["date_from"]
|
|
252
254
|
only_posted_moves = data["only_posted_moves"]
|
|
253
255
|
show_partner_details = data["show_partner_details"]
|
|
254
|
-
|
|
256
|
+
grouped_by = data["grouped_by"]
|
|
255
257
|
(
|
|
256
258
|
move_lines_data,
|
|
257
259
|
partners_data,
|
|
@@ -265,6 +267,7 @@ class OpenItemsReport(models.AbstractModel):
|
|
|
265
267
|
only_posted_moves,
|
|
266
268
|
company_id,
|
|
267
269
|
date_from,
|
|
270
|
+
grouped_by,
|
|
268
271
|
)
|
|
269
272
|
|
|
270
273
|
total_amount = self._calculate_amounts(open_items_move_lines_data)
|
|
@@ -290,6 +293,7 @@ class OpenItemsReport(models.AbstractModel):
|
|
|
290
293
|
"accounts_data": accounts_data,
|
|
291
294
|
"total_amount": total_amount,
|
|
292
295
|
"Open_Items": open_items_move_lines_data,
|
|
296
|
+
"grouped_by": grouped_by,
|
|
293
297
|
}
|
|
294
298
|
|
|
295
299
|
def _get_ml_fields(self):
|
|
@@ -101,11 +101,126 @@ class OpenItemsXslx(models.AbstractModel):
|
|
|
101
101
|
def _get_col_pos_final_balance_label(self):
|
|
102
102
|
return 5
|
|
103
103
|
|
|
104
|
-
def
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
104
|
+
def _calculate_amounts_by_partner(self, account_id, open_items_move_lines_data):
|
|
105
|
+
total_amount = {}
|
|
106
|
+
for line in open_items_move_lines_data:
|
|
107
|
+
partner_id_key = line["partner_id"]
|
|
108
|
+
if account_id not in total_amount:
|
|
109
|
+
total_amount[account_id] = {}
|
|
110
|
+
if partner_id_key not in total_amount[account_id]:
|
|
111
|
+
total_amount[account_id][partner_id_key] = {"residual": 0.0}
|
|
112
|
+
total_amount[account_id][partner_id_key]["residual"] += line[
|
|
113
|
+
"amount_residual"
|
|
114
|
+
]
|
|
115
|
+
return total_amount
|
|
116
|
+
|
|
117
|
+
def _generate_report_content_by_salesperson(
|
|
118
|
+
self, workbook, report, data, report_data, res_data
|
|
119
|
+
):
|
|
120
|
+
Open_items = res_data["Open_Items"]
|
|
121
|
+
accounts_data = res_data["accounts_data"]
|
|
122
|
+
partners_data = res_data["partners_data"]
|
|
123
|
+
journals_data = res_data["journals_data"]
|
|
124
|
+
total_amount = res_data["total_amount"]
|
|
125
|
+
|
|
126
|
+
for partner_id in partners_data.keys():
|
|
127
|
+
# Create a new sheet for each partner
|
|
128
|
+
partner_totals = {}
|
|
129
|
+
partner_name = partners_data[partner_id]["name"]
|
|
130
|
+
new_sheet = workbook.add_worksheet(partner_name[:31])
|
|
131
|
+
report_data["sheet"] = new_sheet
|
|
132
|
+
report_data["row_pos"] = 0
|
|
133
|
+
|
|
134
|
+
for account_id in Open_items.keys():
|
|
135
|
+
if partner_id in Open_items[account_id]:
|
|
136
|
+
self.write_array_title(
|
|
137
|
+
accounts_data[account_id]["code"]
|
|
138
|
+
+ " - "
|
|
139
|
+
+ accounts_data[account_id]["name"],
|
|
140
|
+
report_data,
|
|
141
|
+
)
|
|
142
|
+
|
|
143
|
+
# For each partner
|
|
144
|
+
if Open_items[account_id]:
|
|
145
|
+
type_object = "partner"
|
|
146
|
+
# Write partner title
|
|
147
|
+
self.write_array_title(
|
|
148
|
+
partners_data[partner_id]["name"], report_data
|
|
149
|
+
)
|
|
150
|
+
|
|
151
|
+
# Calculate totals by partner_id
|
|
152
|
+
partner_totals = self._calculate_amounts_by_partner(
|
|
153
|
+
account_id, Open_items[account_id][partner_id]
|
|
154
|
+
)
|
|
155
|
+
# Display array header for move lines
|
|
156
|
+
self.write_array_header(report_data)
|
|
157
|
+
# Display account move lines
|
|
158
|
+
has_lines = False
|
|
159
|
+
for partner_id_key, total_amount_dict in partner_totals.get(
|
|
160
|
+
account_id, {}
|
|
161
|
+
).items():
|
|
162
|
+
for line in Open_items[account_id][partner_id]:
|
|
163
|
+
if line["partner_id"] == partner_id_key:
|
|
164
|
+
line.update(
|
|
165
|
+
{
|
|
166
|
+
"account": accounts_data[account_id][
|
|
167
|
+
"code"
|
|
168
|
+
],
|
|
169
|
+
"journal": journals_data[
|
|
170
|
+
line["journal_id"]
|
|
171
|
+
]["code"],
|
|
172
|
+
}
|
|
173
|
+
)
|
|
174
|
+
self.write_line_from_dict(line, report_data)
|
|
175
|
+
has_lines = True
|
|
176
|
+
if has_lines:
|
|
177
|
+
partner = self.env["res.partner"].browse(partner_id_key)
|
|
178
|
+
# Display ending balance line for partner
|
|
179
|
+
partner_data = {
|
|
180
|
+
"id": partner_id_key,
|
|
181
|
+
"name": partner.name
|
|
182
|
+
if partner
|
|
183
|
+
else _("Missing Partner"),
|
|
184
|
+
"currency_id": accounts_data[account_id][
|
|
185
|
+
"currency_id"
|
|
186
|
+
],
|
|
187
|
+
"currency_name": accounts_data[account_id][
|
|
188
|
+
"currency_name"
|
|
189
|
+
],
|
|
190
|
+
"residual": total_amount_dict,
|
|
191
|
+
}
|
|
192
|
+
self.write_ending_balance_from_dict(
|
|
193
|
+
partner_data,
|
|
194
|
+
"partner_subtotal",
|
|
195
|
+
partner_totals,
|
|
196
|
+
report_data,
|
|
197
|
+
account_id=account_id,
|
|
198
|
+
partner_id=partner_id_key,
|
|
199
|
+
)
|
|
200
|
+
has_lines = False
|
|
201
|
+
# Display ending balance line for salesperson
|
|
202
|
+
partners_data[partner_id].update(
|
|
203
|
+
{
|
|
204
|
+
"currency_id": accounts_data[account_id]["currency_id"],
|
|
205
|
+
"currency_name": accounts_data[account_id][
|
|
206
|
+
"currency_name"
|
|
207
|
+
],
|
|
208
|
+
}
|
|
209
|
+
)
|
|
210
|
+
self.write_ending_balance_from_dict(
|
|
211
|
+
partners_data[partner_id],
|
|
212
|
+
type_object,
|
|
213
|
+
total_amount,
|
|
214
|
+
report_data,
|
|
215
|
+
account_id=account_id,
|
|
216
|
+
partner_id=partner_id,
|
|
217
|
+
)
|
|
218
|
+
# Line break
|
|
219
|
+
report_data["row_pos"] += 1
|
|
220
|
+
|
|
221
|
+
def _generate_report_content_by_partner(
|
|
222
|
+
self, workbook, report, data, report_data, res_data
|
|
223
|
+
):
|
|
109
224
|
Open_items = res_data["Open_Items"]
|
|
110
225
|
accounts_data = res_data["accounts_data"]
|
|
111
226
|
partners_data = res_data["partners_data"]
|
|
@@ -120,7 +235,6 @@ class OpenItemsXslx(models.AbstractModel):
|
|
|
120
235
|
+ accounts_data[account_id]["name"],
|
|
121
236
|
report_data,
|
|
122
237
|
)
|
|
123
|
-
|
|
124
238
|
# For each partner
|
|
125
239
|
if Open_items[account_id]:
|
|
126
240
|
if show_partner_details:
|
|
@@ -180,18 +294,33 @@ class OpenItemsXslx(models.AbstractModel):
|
|
|
180
294
|
)
|
|
181
295
|
self.write_line_from_dict(line, report_data)
|
|
182
296
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
297
|
+
# Display ending balance line for account
|
|
298
|
+
type_object = "account"
|
|
299
|
+
self.write_ending_balance_from_dict(
|
|
300
|
+
accounts_data[account_id],
|
|
301
|
+
type_object,
|
|
302
|
+
total_amount,
|
|
303
|
+
report_data,
|
|
304
|
+
account_id=account_id,
|
|
305
|
+
)
|
|
306
|
+
|
|
307
|
+
# 2 lines break
|
|
308
|
+
report_data["row_pos"] += 2
|
|
192
309
|
|
|
193
|
-
|
|
194
|
-
|
|
310
|
+
def _generate_report_content(self, workbook, report, data, report_data):
|
|
311
|
+
res_data = self.env[
|
|
312
|
+
"report.account_financial_report.open_items"
|
|
313
|
+
]._get_report_values(report, data)
|
|
314
|
+
show_partner_details = res_data["show_partner_details"]
|
|
315
|
+
grouped_by = res_data["grouped_by"]
|
|
316
|
+
if grouped_by == "salesperson" and show_partner_details:
|
|
317
|
+
return self._generate_report_content_by_salesperson(
|
|
318
|
+
workbook, report, data, report_data, res_data
|
|
319
|
+
)
|
|
320
|
+
else:
|
|
321
|
+
return self._generate_report_content_by_partner(
|
|
322
|
+
workbook, report, data, report_data, res_data
|
|
323
|
+
)
|
|
195
324
|
|
|
196
325
|
def write_ending_balance_from_dict(
|
|
197
326
|
self,
|
|
@@ -211,6 +340,10 @@ class OpenItemsXslx(models.AbstractModel):
|
|
|
211
340
|
name = my_object["code"] + " - " + my_object["name"]
|
|
212
341
|
my_object["residual"] = total_amount[account_id]["residual"]
|
|
213
342
|
label = _("Ending balance")
|
|
343
|
+
elif type_object == "partner_subtotal":
|
|
344
|
+
name = my_object["name"]
|
|
345
|
+
my_object["residual"] = total_amount[account_id][partner_id]["residual"]
|
|
346
|
+
label = _("Ending balance")
|
|
214
347
|
return super().write_ending_balance_from_dict(
|
|
215
348
|
my_object, name, label, report_data
|
|
216
349
|
)
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
</t>
|
|
10
10
|
</t>
|
|
11
11
|
</template>
|
|
12
|
+
|
|
12
13
|
<template id="account_financial_report.report_open_items_base">
|
|
13
14
|
<!-- Saved flag fields into variables, used to define columns display -->
|
|
14
15
|
<t t-set="foreign_currency" t-value="foreign_currency" />
|
|
@@ -28,82 +29,188 @@
|
|
|
28
29
|
style="text-align: center;"
|
|
29
30
|
/>
|
|
30
31
|
</div>
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
<div class="account_title" style="width: 100%;">
|
|
37
|
-
<span t-esc="accounts_data[account_id]['code']" />
|
|
38
|
-
-
|
|
39
|
-
<span t-esc="accounts_data[account_id]['name']" />
|
|
40
|
-
</div>
|
|
41
|
-
<t t-if="not show_partner_details">
|
|
42
|
-
<div class="act_as_table data_table" style="width: 100%;">
|
|
43
|
-
<t
|
|
44
|
-
t-call="account_financial_report.report_open_items_lines_header"
|
|
45
|
-
/>
|
|
46
|
-
<!-- Display account move lines -->
|
|
47
|
-
<t t-foreach="Open_Items[account_id]" t-as="line">
|
|
48
|
-
<t
|
|
49
|
-
t-call="account_financial_report.report_open_items_lines"
|
|
50
|
-
/>
|
|
51
|
-
</t>
|
|
32
|
+
<t t-if="grouped_by == 'salesperson' and show_partner_details">
|
|
33
|
+
<t t-foreach="partners_data.keys()" t-as="partner_id">
|
|
34
|
+
<t t-call="account_financial_report.report_open_items_filters" />
|
|
35
|
+
<div class="act_as_caption account_title">
|
|
36
|
+
<span t-esc="partners_data[partner_id]['name']" />
|
|
52
37
|
</div>
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
38
|
+
<t t-foreach="Open_Items.keys()" t-as="account_id">
|
|
39
|
+
<t t-if="partner_id in Open_Items[account_id]">
|
|
40
|
+
<div
|
|
41
|
+
class="act_as_table list_table"
|
|
42
|
+
style="margin-top: 10px;"
|
|
43
|
+
/>
|
|
44
|
+
<div class="account_title" style="width: 100%;">
|
|
45
|
+
<span t-esc="accounts_data[account_id]['code']" />
|
|
46
|
+
-
|
|
47
|
+
<span t-esc="accounts_data[account_id]['name']" />
|
|
60
48
|
</div>
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
t-
|
|
49
|
+
|
|
50
|
+
<t t-if="Open_Items[account_id]">
|
|
51
|
+
<t
|
|
52
|
+
t-set="partner_totals"
|
|
53
|
+
t-value="o._calculate_amounts_by_partner(account_id,Open_Items[account_id][partner_id])"
|
|
65
54
|
/>
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
t-
|
|
69
|
-
t-as="line"
|
|
55
|
+
<t
|
|
56
|
+
t-foreach="partner_totals.get(account_id, {})"
|
|
57
|
+
t-as="partner_id_key"
|
|
70
58
|
>
|
|
59
|
+
<t t-set="has_lines" t-value="False" />
|
|
60
|
+
<div
|
|
61
|
+
class="act_as_table data_table"
|
|
62
|
+
style="width: 100%;"
|
|
63
|
+
>
|
|
64
|
+
|
|
71
65
|
<t
|
|
72
|
-
|
|
73
|
-
|
|
66
|
+
t-foreach="Open_Items[account_id][partner_id]"
|
|
67
|
+
t-as="line"
|
|
68
|
+
>
|
|
69
|
+
<t t-if="line['partner_id'] == partner_id_key">
|
|
70
|
+
<t t-set="has_lines" t-value="True" />
|
|
71
|
+
</t>
|
|
72
|
+
|
|
74
73
|
</t>
|
|
75
|
-
|
|
74
|
+
<t t-if="has_lines">
|
|
75
|
+
<!-- Display partner header -->
|
|
76
|
+
<t
|
|
77
|
+
t-call="account_financial_report.report_open_items_lines_header"
|
|
78
|
+
/>
|
|
79
|
+
</t>
|
|
80
|
+
<t
|
|
81
|
+
t-foreach="Open_Items[account_id][partner_id]"
|
|
82
|
+
t-as="line"
|
|
83
|
+
>
|
|
84
|
+
<t t-if="line['partner_id'] == partner_id_key">
|
|
85
|
+
<!-- Display partner move lines -->
|
|
86
|
+
<t
|
|
87
|
+
t-call="account_financial_report.report_open_items_lines"
|
|
88
|
+
/>
|
|
89
|
+
</t>
|
|
90
|
+
|
|
91
|
+
</t>
|
|
92
|
+
</div>
|
|
93
|
+
<!-- Check if there were any lines displayed for the partner -->
|
|
94
|
+
<t t-if="has_lines">
|
|
95
|
+
<!-- Calculate and display subtotal for current partner_id -->
|
|
96
|
+
<t
|
|
97
|
+
t-call="account_financial_report.report_open_items_ending_cumul"
|
|
98
|
+
>
|
|
99
|
+
<t
|
|
100
|
+
t-set="currency_id"
|
|
101
|
+
t-value="accounts_data[account_id]['currency_name']"
|
|
102
|
+
/>
|
|
103
|
+
<t
|
|
104
|
+
t-set="type"
|
|
105
|
+
t-value="'partner_subtotal_type'"
|
|
106
|
+
/>
|
|
107
|
+
</t>
|
|
108
|
+
</t>
|
|
109
|
+
</t>
|
|
110
|
+
|
|
111
|
+
</t>
|
|
112
|
+
<!-- Display account footer -->
|
|
76
113
|
<t
|
|
77
114
|
t-call="account_financial_report.report_open_items_ending_cumul"
|
|
78
115
|
>
|
|
79
|
-
|
|
116
|
+
<t
|
|
80
117
|
t-set="account_or_partner_id"
|
|
81
118
|
t-value="partners_data[partner_id]"
|
|
82
119
|
/>
|
|
83
|
-
|
|
120
|
+
<t
|
|
84
121
|
t-set="currency_id"
|
|
85
122
|
t-value="accounts_data[account_id]['currency_name']"
|
|
86
123
|
/>
|
|
87
|
-
|
|
88
|
-
</t>
|
|
124
|
+
<t t-set="type" t-value='"partner_type"' />
|
|
89
125
|
</t>
|
|
90
|
-
</
|
|
91
|
-
|
|
92
|
-
<!-- Display account footer -->
|
|
93
|
-
<t t-call="account_financial_report.report_open_items_ending_cumul">
|
|
94
|
-
<t
|
|
95
|
-
t-set="account_or_partner_id"
|
|
96
|
-
t-value="accounts_data[account_id]"
|
|
97
|
-
/>
|
|
98
|
-
<t
|
|
99
|
-
t-set="currency_id"
|
|
100
|
-
t-value="accounts_data[account_id]['currency_name']"
|
|
101
|
-
/>
|
|
102
|
-
<t t-set="type" t-value='"account_type"' />
|
|
126
|
+
</t>
|
|
127
|
+
|
|
103
128
|
</t>
|
|
129
|
+
<div style="page-break-after: always;" />
|
|
130
|
+
</t>
|
|
131
|
+
</t>
|
|
132
|
+
<t t-else="">
|
|
133
|
+
<!-- Display filters -->
|
|
134
|
+
<t t-call="account_financial_report.report_open_items_filters" />
|
|
135
|
+
<t t-foreach="Open_Items.keys()" t-as="account_id">
|
|
136
|
+
<!-- Display account header -->
|
|
137
|
+
<div class="act_as_table list_table" style="margin-top: 10px;" />
|
|
138
|
+
<div class="account_title" style="width: 100%;">
|
|
139
|
+
<span t-esc="accounts_data[account_id]['code']" />
|
|
140
|
+
-
|
|
141
|
+
<span t-esc="accounts_data[account_id]['name']" />
|
|
142
|
+
</div>
|
|
143
|
+
<t t-if="not show_partner_details">
|
|
144
|
+
<div class="act_as_table data_table" style="width: 100%;">
|
|
145
|
+
<t
|
|
146
|
+
t-call="account_financial_report.report_open_items_lines_header"
|
|
147
|
+
/>
|
|
148
|
+
<!-- Display account move lines -->
|
|
149
|
+
<t t-foreach="Open_Items[account_id]" t-as="line">
|
|
150
|
+
<t
|
|
151
|
+
t-call="account_financial_report.report_open_items_lines"
|
|
152
|
+
/>
|
|
153
|
+
</t>
|
|
154
|
+
</div>
|
|
155
|
+
</t>
|
|
156
|
+
<t t-if="show_partner_details">
|
|
157
|
+
<div class="page_break">
|
|
158
|
+
<!-- Display account partners -->
|
|
159
|
+
<t t-foreach="Open_Items[account_id]" t-as="partner_id">
|
|
160
|
+
<div class="act_as_caption account_title">
|
|
161
|
+
<span t-esc="partners_data[partner_id]['name']" />
|
|
162
|
+
</div>
|
|
163
|
+
<div
|
|
164
|
+
class="act_as_table data_table"
|
|
165
|
+
style="width: 100%;"
|
|
166
|
+
>
|
|
167
|
+
<!-- Display partner header -->
|
|
168
|
+
<t
|
|
169
|
+
t-call="account_financial_report.report_open_items_lines_header"
|
|
170
|
+
/>
|
|
171
|
+
<!-- Display partner move lines -->
|
|
172
|
+
<t
|
|
173
|
+
t-foreach="Open_Items[account_id][partner_id]"
|
|
174
|
+
t-as="line"
|
|
175
|
+
>
|
|
176
|
+
<t
|
|
177
|
+
t-call="account_financial_report.report_open_items_lines"
|
|
178
|
+
/>
|
|
179
|
+
</t>
|
|
180
|
+
</div>
|
|
181
|
+
<t
|
|
182
|
+
t-call="account_financial_report.report_open_items_ending_cumul"
|
|
183
|
+
>
|
|
184
|
+
<t
|
|
185
|
+
t-set="account_or_partner_id"
|
|
186
|
+
t-value="partners_data[partner_id]"
|
|
187
|
+
/>
|
|
188
|
+
<t
|
|
189
|
+
t-set="currency_id"
|
|
190
|
+
t-value="accounts_data[account_id]['currency_name']"
|
|
191
|
+
/>
|
|
192
|
+
<t t-set="type" t-value='"partner_type"' />
|
|
193
|
+
</t>
|
|
194
|
+
</t>
|
|
195
|
+
</div>
|
|
196
|
+
</t>
|
|
197
|
+
<!-- Display account footer -->
|
|
198
|
+
<t t-call="account_financial_report.report_open_items_ending_cumul">
|
|
199
|
+
<t
|
|
200
|
+
t-set="account_or_partner_id"
|
|
201
|
+
t-value="accounts_data[account_id]"
|
|
202
|
+
/>
|
|
203
|
+
<t
|
|
204
|
+
t-set="currency_id"
|
|
205
|
+
t-value="accounts_data[account_id]['currency_name']"
|
|
206
|
+
/>
|
|
207
|
+
<t t-set="type" t-value='"account_type"' />
|
|
208
|
+
</t>
|
|
209
|
+
</t>
|
|
104
210
|
</t>
|
|
105
211
|
</div>
|
|
106
212
|
</template>
|
|
213
|
+
|
|
107
214
|
<template id="account_financial_report.report_open_items_filters">
|
|
108
215
|
<div class="act_as_table data_table" style="width: 100%;">
|
|
109
216
|
<div class="act_as_row labels">
|
|
@@ -294,6 +401,20 @@
|
|
|
294
401
|
Partner ending balance
|
|
295
402
|
</div>
|
|
296
403
|
</t>
|
|
404
|
+
<t t-if='type == "partner_subtotal_type"'>
|
|
405
|
+
<div class="act_as_cell first_column" style="width: 36.34%;" />
|
|
406
|
+
<t
|
|
407
|
+
t-set="partner"
|
|
408
|
+
t-value="env['res.partner'].browse(partner_id_key)"
|
|
409
|
+
/>
|
|
410
|
+
<t t-if="partner">
|
|
411
|
+
<span t-esc="partner.name" />
|
|
412
|
+
</t>
|
|
413
|
+
<div class="act_as_cell right" style="width: 28.66%;">
|
|
414
|
+
Ending
|
|
415
|
+
balance
|
|
416
|
+
</div>
|
|
417
|
+
</t>
|
|
297
418
|
<!--## date_due-->
|
|
298
419
|
<div class="act_as_cell" style="width: 6.47%;" />
|
|
299
420
|
<!--## amount_total_due-->
|
|
@@ -312,6 +433,12 @@
|
|
|
312
433
|
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
313
434
|
/>
|
|
314
435
|
</t>
|
|
436
|
+
<t t-if='type == "partner_subtotal_type"'>
|
|
437
|
+
<span
|
|
438
|
+
t-esc="partner_totals[account_id][partner_id_key]['residual']"
|
|
439
|
+
t-options="{'widget': 'monetary', 'display_currency': res_company.currency_id}"
|
|
440
|
+
/>
|
|
441
|
+
</t>
|
|
315
442
|
</div>
|
|
316
443
|
<!--## amount_total_due_currency + amount_residual_currency -->
|
|
317
444
|
<t t-if="foreign_currency">
|
|
@@ -372,7 +372,7 @@ ul.auto-toc {
|
|
|
372
372
|
!! This file is generated by oca-gen-addon-readme !!
|
|
373
373
|
!! changes will be overwritten. !!
|
|
374
374
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
375
|
-
!! source digest: sha256:
|
|
375
|
+
!! source digest: sha256:cfbb2086a9be8678690d4a0be5da4df57c9659b82433d1ce724a46ae7aa70cb3
|
|
376
376
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
|
377
377
|
<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/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/account-financial-reporting/tree/17.0/account_financial_report"><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-17-0/account-financial-reporting-17-0-account_financial_report"><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=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
|
378
378
|
<p>This module adds a set of financial reports. They are accessible under
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
# Author: Julien Coux
|
|
2
2
|
# Copyright 2016 Camptocamp SA
|
|
3
|
+
# Copyright 2024 Tecnativa - Carolina Fernandez
|
|
3
4
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
4
5
|
|
|
6
|
+
from odoo.fields import Date
|
|
5
7
|
from odoo.tests import tagged
|
|
6
8
|
|
|
7
9
|
from odoo.addons.account.tests.common import AccountTestInvoicingCommon
|
|
@@ -22,6 +24,14 @@ class TestOpenItems(AccountTestInvoicingCommon):
|
|
|
22
24
|
tracking_disable=True,
|
|
23
25
|
)
|
|
24
26
|
)
|
|
27
|
+
cls.account001 = cls.env["account.account"].create(
|
|
28
|
+
{
|
|
29
|
+
"code": "001",
|
|
30
|
+
"name": "Account 001",
|
|
31
|
+
"account_type": "income_other",
|
|
32
|
+
"reconcile": True,
|
|
33
|
+
}
|
|
34
|
+
)
|
|
25
35
|
|
|
26
36
|
def test_partner_filter(self):
|
|
27
37
|
partner_1 = self.env.ref("base.res_partner_1")
|
|
@@ -39,3 +49,23 @@ class TestOpenItems(AccountTestInvoicingCommon):
|
|
|
39
49
|
|
|
40
50
|
wizard = self.env["open.items.report.wizard"].with_context(**context)
|
|
41
51
|
self.assertEqual(wizard._default_partners(), expected_list)
|
|
52
|
+
|
|
53
|
+
def test_open_items_grouped_by(self):
|
|
54
|
+
open_item_wizard = self.env["open.items.report.wizard"]
|
|
55
|
+
all_accounts = self.env["account.account"].search(
|
|
56
|
+
[
|
|
57
|
+
("reconcile", "=", True),
|
|
58
|
+
],
|
|
59
|
+
order="code",
|
|
60
|
+
)
|
|
61
|
+
wizard = open_item_wizard.create(
|
|
62
|
+
{
|
|
63
|
+
"date_at": Date.today(),
|
|
64
|
+
"account_code_from": self.account001.id,
|
|
65
|
+
"account_code_to": all_accounts[-1].id,
|
|
66
|
+
"grouped_by": "salesperson",
|
|
67
|
+
}
|
|
68
|
+
)
|
|
69
|
+
wizard.on_change_account_range()
|
|
70
|
+
res = wizard._prepare_report_open_items()
|
|
71
|
+
self.assertEqual(res["grouped_by"], wizard.grouped_by)
|
|
@@ -59,6 +59,10 @@ class OpenItemsReportWizard(models.TransientModel):
|
|
|
59
59
|
comodel_name="account.account",
|
|
60
60
|
help="Ending account in a range",
|
|
61
61
|
)
|
|
62
|
+
grouped_by = fields.Selection(
|
|
63
|
+
selection=[("partners", "Partners"), ("salesperson", "Partner Salesperson")],
|
|
64
|
+
default="partners",
|
|
65
|
+
)
|
|
62
66
|
|
|
63
67
|
@api.onchange("account_code_from", "account_code_to")
|
|
64
68
|
def on_change_account_range(self):
|
|
@@ -134,6 +138,19 @@ class OpenItemsReportWizard(models.TransientModel):
|
|
|
134
138
|
else:
|
|
135
139
|
self.account_ids = None
|
|
136
140
|
|
|
141
|
+
def _calculate_amounts_by_partner(self, account_id, open_items_move_lines_data):
|
|
142
|
+
total_amount = {}
|
|
143
|
+
for line in open_items_move_lines_data:
|
|
144
|
+
partner_id_key = line["partner_id"]
|
|
145
|
+
if account_id not in total_amount:
|
|
146
|
+
total_amount[account_id] = {}
|
|
147
|
+
if partner_id_key not in total_amount[account_id]:
|
|
148
|
+
total_amount[account_id][partner_id_key] = {"residual": 0.0}
|
|
149
|
+
total_amount[account_id][partner_id_key]["residual"] += line[
|
|
150
|
+
"amount_residual"
|
|
151
|
+
]
|
|
152
|
+
return total_amount
|
|
153
|
+
|
|
137
154
|
def _print_report(self, report_type):
|
|
138
155
|
self.ensure_one()
|
|
139
156
|
data = self._prepare_report_open_items()
|
|
@@ -165,6 +182,7 @@ class OpenItemsReportWizard(models.TransientModel):
|
|
|
165
182
|
"account_ids": self.account_ids.ids,
|
|
166
183
|
"partner_ids": self.partner_ids.ids or [],
|
|
167
184
|
"account_financial_report_lang": self.env.lang,
|
|
185
|
+
"grouped_by": self.grouped_by,
|
|
168
186
|
}
|
|
169
187
|
|
|
170
188
|
def _export(self, report_type):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: odoo-addon-account_financial_report
|
|
3
|
-
Version: 17.0.1.
|
|
3
|
+
Version: 17.0.1.7.0
|
|
4
4
|
Requires-Python: >=3.10
|
|
5
5
|
Requires-Dist: odoo-addon-date_range>=17.0dev,<17.1dev
|
|
6
6
|
Requires-Dist: odoo-addon-report_xlsx>=17.0dev,<17.1dev
|
|
@@ -29,7 +29,7 @@ Account Financial Reports
|
|
|
29
29
|
!! This file is generated by oca-gen-addon-readme !!
|
|
30
30
|
!! changes will be overwritten. !!
|
|
31
31
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
32
|
-
!! source digest: sha256:
|
|
32
|
+
!! source digest: sha256:cfbb2086a9be8678690d4a0be5da4df57c9659b82433d1ce724a46ae7aa70cb3
|
|
33
33
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
34
34
|
|
|
35
35
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
odoo/addons/account_financial_report/README.rst,sha256
|
|
1
|
+
odoo/addons/account_financial_report/README.rst,sha256=tyuOMiqfduVzCiq_rnjv21X-3vEGBWCUqbAgUHCly4s,7053
|
|
2
2
|
odoo/addons/account_financial_report/__init__.py,sha256=YoL8hk5QxSifbFJL7gPzpOSk-3zB1OSHJBXyZK25G6Q,187
|
|
3
|
-
odoo/addons/account_financial_report/__manifest__.py,sha256=
|
|
3
|
+
odoo/addons/account_financial_report/__manifest__.py,sha256=0P1dHOaVInSZMKs6q339eqxEZpq1iee7T0ozlGy96e0,2061
|
|
4
4
|
odoo/addons/account_financial_report/menuitems.xml,sha256=k20N6cNRlDsnPhc378MVs7jwzJhbbJQ2k-P3WdsmF_M,1206
|
|
5
5
|
odoo/addons/account_financial_report/reports.xml,sha256=c2KamS250rNzHUInjNwC0G2dhwiIqtYgbked51PtmVw,9254
|
|
6
|
-
odoo/addons/account_financial_report/i18n/account_financial_report.pot,sha256=
|
|
6
|
+
odoo/addons/account_financial_report/i18n/account_financial_report.pot,sha256=U8dlNAFOpwQQiYOfje0ujqWBYlldonsKIfFNl36fJF0,84078
|
|
7
7
|
odoo/addons/account_financial_report/i18n/ar.po,sha256=qimQyvMKcAaTwoX761Yf6OXXzOdr16G_-GPO-qwu5wE,91588
|
|
8
8
|
odoo/addons/account_financial_report/i18n/ca.po,sha256=QICB31OUV8Ox0gYsRnRpQTuL6ALMyIGd4wnAnC0pt7Y,88415
|
|
9
9
|
odoo/addons/account_financial_report/i18n/de.po,sha256=YWC2taDWfIt1wiwg8VVpa5JczfeeF1m8ZT0reo9BLDE,94275
|
|
10
|
-
odoo/addons/account_financial_report/i18n/es.po,sha256=
|
|
10
|
+
odoo/addons/account_financial_report/i18n/es.po,sha256=s-e-P3Umy7I28i11wtbCEZ0Ij2yUfEtwlH44IhlsjjA,91827
|
|
11
11
|
odoo/addons/account_financial_report/i18n/es_AR.po,sha256=IgR3RwAT9EGibxfan-Eaj_eA9BydksgdZwIjY8Z8BLk,91241
|
|
12
12
|
odoo/addons/account_financial_report/i18n/es_MX.po,sha256=poJgVu78nGrtz0NBs8Tztu6wR6Jbi9_OrgKI9aKb7sE,81952
|
|
13
13
|
odoo/addons/account_financial_report/i18n/fr.po,sha256=HdE4TCR1SmNGgbzOpPGxCVW_ZcoCbPuzoiuAw3j0FH8,87731
|
|
@@ -44,8 +44,8 @@ odoo/addons/account_financial_report/report/general_ledger.py,sha256=O4gfml1d5u7
|
|
|
44
44
|
odoo/addons/account_financial_report/report/general_ledger_xlsx.py,sha256=qXDm9V1XyLtwUYp_4i-p4mCG6ZEuMwcrFLuPhu1Exhw,17426
|
|
45
45
|
odoo/addons/account_financial_report/report/journal_ledger.py,sha256=7pVowtuVNyxE4AOmCkfQrKllziVJdxS3mJ0Tfu8S_W0,15404
|
|
46
46
|
odoo/addons/account_financial_report/report/journal_ledger_xlsx.py,sha256=kY6c-56HHauIyHAc7q5iNerz0gJQrp4ahI4OB1XeCT8,10060
|
|
47
|
-
odoo/addons/account_financial_report/report/open_items.py,sha256=
|
|
48
|
-
odoo/addons/account_financial_report/report/open_items_xlsx.py,sha256=
|
|
47
|
+
odoo/addons/account_financial_report/report/open_items.py,sha256=fNnLywvtdK1gGCWN4GLy53SxRQsrMx1CcxlsWMWdYfE,12556
|
|
48
|
+
odoo/addons/account_financial_report/report/open_items_xlsx.py,sha256=ztfVhZS5dTVcWFiceHzo7baWEQj5MZesSJFZujYGs1Q,14931
|
|
49
49
|
odoo/addons/account_financial_report/report/trial_balance.py,sha256=Ry_AUYreaxfXAZtdAqq1Z5f2Ju0KB4tEsiDTBO3RAug,42466
|
|
50
50
|
odoo/addons/account_financial_report/report/trial_balance_xlsx.py,sha256=3wpHQ5JEM9g1pZpS9V7yo5Bed1JEKdMcfxzoq6I55_0,13246
|
|
51
51
|
odoo/addons/account_financial_report/report/vat_report.py,sha256=eLWr9mk1bOQUPH4FEGDssfhqEfAeZUJV5ryCf8YYea0,10117
|
|
@@ -54,13 +54,13 @@ odoo/addons/account_financial_report/report/templates/aged_partner_balance.xml,s
|
|
|
54
54
|
odoo/addons/account_financial_report/report/templates/general_ledger.xml,sha256=CK6qMzaH0WTUdN5NDzUgGMzuMROGz4sLcQwK-hR6b-A,40387
|
|
55
55
|
odoo/addons/account_financial_report/report/templates/journal_ledger.xml,sha256=egiOr0CBtt7c4dY0Ghtf44LxF-ounCUjg77CUDUTpX0,21574
|
|
56
56
|
odoo/addons/account_financial_report/report/templates/layouts.xml,sha256=gCejPAn8GLrySSve8pGcs0fY5nr48C3mmyuoEJVZkJ4,1526
|
|
57
|
-
odoo/addons/account_financial_report/report/templates/open_items.xml,sha256=
|
|
57
|
+
odoo/addons/account_financial_report/report/templates/open_items.xml,sha256=03oeGZDxEysS8TVpm012DGQVlEYby_OC2Ob_WsnKX6o,21559
|
|
58
58
|
odoo/addons/account_financial_report/report/templates/trial_balance.xml,sha256=GjJgC0Td3kBE7xJ_lpqLIRax4tiOI9tPYaXW1bPtbLk,53388
|
|
59
59
|
odoo/addons/account_financial_report/report/templates/vat_report.xml,sha256=2WeL6Njr8LFBtERKmfyi3IH-J1frSO4Gpew-ruzuWNk,8128
|
|
60
60
|
odoo/addons/account_financial_report/security/ir.model.access.csv,sha256=S1VQLLwLeaOeAMYGqtoOqHUaZVrvDUVE4Z-0-SRjSGQ,1134
|
|
61
61
|
odoo/addons/account_financial_report/security/security.xml,sha256=YQCXbOuTGHCWGYwGnXMie_0tnWG5zYJGdoeey3o1xaw,382
|
|
62
62
|
odoo/addons/account_financial_report/static/description/icon.png,sha256=WW-eOIjW5-jo7tgBieNv6K2DUKMoHFSVctnp0htstHI,15230
|
|
63
|
-
odoo/addons/account_financial_report/static/description/index.html,sha256=
|
|
63
|
+
odoo/addons/account_financial_report/static/description/index.html,sha256=d1XFRBHEiz-MGeWJ11tElajYutaNMCeVqZvdlzWUD68,19960
|
|
64
64
|
odoo/addons/account_financial_report/static/src/css/report.css,sha256=Cu4VmyY5tVXIddaojFDsg0Ute2qPCvKbLiimak_X9ik,2361
|
|
65
65
|
odoo/addons/account_financial_report/static/src/css/report_html.css,sha256=I1kX1RsThtjGNLOaNJEWCvMnB9iAFW6nGkcyFYZzJoA,135
|
|
66
66
|
odoo/addons/account_financial_report/static/src/js/report.esm.js,sha256=He488vLRaLv6IIuVaNSnNl8kJMIwJmMIv7GkmXyPJZs,2475
|
|
@@ -71,7 +71,7 @@ odoo/addons/account_financial_report/tests/test_age_report_configuration.py,sha2
|
|
|
71
71
|
odoo/addons/account_financial_report/tests/test_aged_partner_balance.py,sha256=mWF9veN7r15-DhnixhDuh2y6X_itliLgZz3jDMlABrk,4584
|
|
72
72
|
odoo/addons/account_financial_report/tests/test_general_ledger.py,sha256=byfbdEGM6Smwk3DI_fKUxfZzyrSBzZN2_uPGEV9iLds,29172
|
|
73
73
|
odoo/addons/account_financial_report/tests/test_journal_ledger.py,sha256=Nm7_JbaR69QqdGmEpttfmXNWGOg58bUliMPCTAU3__g,11154
|
|
74
|
-
odoo/addons/account_financial_report/tests/test_open_items.py,sha256=
|
|
74
|
+
odoo/addons/account_financial_report/tests/test_open_items.py,sha256=D-6HnIVSvcL_vuMv7l3jPF2WCPJQ0E5pCsYe7biwHhk,2542
|
|
75
75
|
odoo/addons/account_financial_report/tests/test_trial_balance.py,sha256=MFkLTriKpVvShydGj5SK_nadmbUCl0ZmsY9Pdo0txdc,27824
|
|
76
76
|
odoo/addons/account_financial_report/tests/test_vat_report.py,sha256=YUVFJa8fDCIgx5ZC5KKGKjgTps4yupjQ_W6MMaDE_Cs,14704
|
|
77
77
|
odoo/addons/account_financial_report/view/account_age_report_configuration_views.xml,sha256=xVTv70rbpp2i93mwYhGq6wI6B11_nsiMJSPexrHjxZM,1764
|
|
@@ -91,13 +91,13 @@ odoo/addons/account_financial_report/wizard/general_ledger_wizard.py,sha256=t0V8
|
|
|
91
91
|
odoo/addons/account_financial_report/wizard/general_ledger_wizard_view.xml,sha256=YGvv15hxVNX5LX4m5boS_jbFxPNxyk26nqoz2pWaUuE,7557
|
|
92
92
|
odoo/addons/account_financial_report/wizard/journal_ledger_wizard.py,sha256=CA44N2yVdZbAttw3JUK6hueMOQc__wY5Abc2hDW49_0,5546
|
|
93
93
|
odoo/addons/account_financial_report/wizard/journal_ledger_wizard_view.xml,sha256=s3go3x-VSCcr1xNAE3Lzj1FnymyS76hxzazuWtNc91k,2957
|
|
94
|
-
odoo/addons/account_financial_report/wizard/open_items_wizard.py,sha256=
|
|
95
|
-
odoo/addons/account_financial_report/wizard/open_items_wizard_view.xml,sha256=
|
|
94
|
+
odoo/addons/account_financial_report/wizard/open_items_wizard.py,sha256=HboPIaiE-H1kddTslgc-LrP-V4A1ulx5vfKvi1KuJtA,7393
|
|
95
|
+
odoo/addons/account_financial_report/wizard/open_items_wizard_view.xml,sha256=8dMmYxRm0u8jkhSZ8NVq8_SG6Ll_HPDGjhaql5_JgoU,4741
|
|
96
96
|
odoo/addons/account_financial_report/wizard/trial_balance_wizard.py,sha256=YdJr9QeqH9p-AQhkYDWEuNVwxTCz5HSQRe3owx00szI,11224
|
|
97
97
|
odoo/addons/account_financial_report/wizard/trial_balance_wizard_view.xml,sha256=io5d8plYx9YktR79IJMoENQU1CV1HPwdBVamAN4zt7Y,7277
|
|
98
98
|
odoo/addons/account_financial_report/wizard/vat_report_wizard.py,sha256=pJATDNWLcEWvctby5e5yvv4Kz7YDfCTi7YZP7slA8a4,3424
|
|
99
99
|
odoo/addons/account_financial_report/wizard/vat_report_wizard_view.xml,sha256=T3P81O4csDGP7Jmf7eAtmbIIldja3IoXbBmweMMt8vA,2330
|
|
100
|
-
odoo_addon_account_financial_report-17.0.1.
|
|
101
|
-
odoo_addon_account_financial_report-17.0.1.
|
|
102
|
-
odoo_addon_account_financial_report-17.0.1.
|
|
103
|
-
odoo_addon_account_financial_report-17.0.1.
|
|
100
|
+
odoo_addon_account_financial_report-17.0.1.7.0.dist-info/METADATA,sha256=lkJi9HtRAHMIfnSB_PVcseej7wNwk1Z3CFp8hkKg0Zc,7767
|
|
101
|
+
odoo_addon_account_financial_report-17.0.1.7.0.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
|
|
102
|
+
odoo_addon_account_financial_report-17.0.1.7.0.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
|
103
|
+
odoo_addon_account_financial_report-17.0.1.7.0.dist-info/RECORD,,
|
|
File without changes
|