Commit Graph

67 Commits

Author SHA1 Message Date
Raimon Esteve 3e16adf75a Add timeout in account reports (#10)
* Add timeout in account reports
#158319

* set timeout in the context

* increase message or XLS format

* rename context timeout to timeout_report

---------

Co-authored-by: Jared Esparza <jared.esparza@nan-tic.com>
2023-12-11 12:25:25 +01:00
Raimon Esteve d905405553 Desactive general_ledger and trial_balance account reports
#163646
2023-11-27 16:38:37 +01:00
Raimon Esteve ec77bdd7fe Eval company or -1 in context m2o fields #163427 2023-11-16 09:15:16 +01:00
Raimon Esteve 3854debb39 Show post_number or move_number in case has a move in general ledger lines report
#163344
2023-11-10 07:03:37 +01:00
Albert Cervera i Areny 07c4396a78 Show current time in company's timezone | #162693 2023-11-02 00:29:02 +01:00
Bernat Brunet 4b9e3c77bc Revert commit 613c590962
The concepte it's not completly correct:

"""
In taxes by invoice report, filter the invoices and credit note from
invoice related, not from invoice tax. To ensure the information showed
is related the global invoice amount not the specfic tax.
"""

Is better to group bu the invoice tax.
2023-10-26 14:24:15 +02:00
Bernat Brunet 70d1505efd Align to right the number text of the tax by invoice report. 2023-10-26 10:14:24 +02:00
Bernat Brunet f2cfeee65b In taxes by invoice report, filter the invoices and credit note from
invoice related, not from invoice tax. To ensure the information showed
is related the global invoice amount not the specfic tax.
2023-10-26 10:05:47 +02:00
Raimon Esteve 0531ca161e Show party_tax_identifier from the invoice or tax_identifier from the party in taxes by invoice report
#162882
2023-10-18 07:49:17 +02:00
Bernat Brunet 49b51e8b55 Fix test. 2023-10-17 11:33:06 +02:00
nan-tic-dev 4aa59755a2 #162395 (#12)
* Change the way that the General Ledger is calcaulated.
Now grou by account and aprty and always print all necesary lines even
the party is not required and is set or not set and is required. In this
cases set the header in red to control the bad moves.

Task: #162395

* Update translations.

Task: #162395

* Fix and make some improvements.

Tasks: #162395

---------

Co-authored-by: Bernat Brunet <bernat@nan-tic.com>
2023-10-16 22:20:26 +02:00
Raimon Esteve fa94dafbe3 Add report name in html.template macros name
Filter by name when have multiples html.templates with same name
#162619
2023-10-11 11:51:27 +02:00
Raimon Esteve e99c839f4d set show_description before if/else record lines in general ledger report
#161977
2023-08-30 17:00:44 +02:00
Bernat Brunet 6a7842e4a9 General Ledger: Control if there are some party moves with initial value, but
not values in the current period control moves and must be to set.

Task: #160208
2023-07-11 15:06:50 +02:00
Bernat Brunet 2d881178fc Fix test. 2023-06-26 14:33:11 +02:00
Raimon Esteve 3261a752e6 Show description in general ledger
* Show description in general ledger
#157996

* Locales
2023-06-26 07:44:55 +02:00
Raimon Esteve a924f1ff29 Allow third modules custom ref in general ledger report
#160188
2023-06-21 12:47:22 +02:00
Bernat Brunet 3bf8ec1c91 Add extra information in description if none is setted.
If the move have description and the move line not, add the move
description.
2023-06-02 13:20:40 +02:00
Bernat Brunet 054245e8ee Fix test bug. 2023-05-26 15:48:39 +02:00
Bernat Brunet fee1824623 Change common funcitons name:
read_account_vals --> read_account_vals
get_account_values_by_party --> html get_account_values_by_party

To ensure that the html reports use them and not the jasper reports
ones, while the both modules are installed.

Fix bug with general_ledger printed with parties.
2023-05-25 15:24:30 +02:00
Raimon Esteve 68a49497cf Replace periods to start_period/end_period in general ledger 2023-05-25 15:22:47 +02:00
Raimon Esteve e445748364 Backport missing features in general ledger from account_jasper_reports (#8)
* Backport missing features in general ledger from account_jasper_reports
#159087

* double comment

* get or none

* replace fiscal_year None to ''

---------

Co-authored-by: Bernat <bernat@nan-tic.com>
2023-05-25 12:10:32 +02:00
Bernat Brunet be2b099a97 Fix general ledger total balance calculation.
Fix registers calcualtion when party is required.

Task: #159087
2023-05-25 12:04:30 +02:00
Raimon Esteve d863d0ff14 Remove include_cancel in taxes_by_invoice report
#157246
2023-05-16 13:25:28 +02:00
Bernat Brunet b57e741069 Remove not used function. 2023-05-14 08:34:42 +02:00
Raimon Esteve 1310062b74 Increase version number 2023-05-10 17:21:03 +02:00
Raimon Esteve 251912cd17 Locales 2023-05-09 16:55:54 +02:00
Raimon Esteve f442b2bf1f Replace margin style in A4 landscap to side_margin and extra_verical_margin parameters
#158881
2023-05-09 16:44:36 +02:00
Raimon Esteve d3020f360e Update context when is ImmutableDict
#156773
2023-04-25 16:04:31 +02:00
Raimon Esteve c59a2c94df taxes_by_invoice locales
#157953
2023-04-19 15:29:01 +02:00
Juanjo Garcia ff03342480 FIX party_required.
Get form the account and dont try to get it form a non existent line variable.

Task #157843
2023-04-12 12:37:52 +02:00
Juanjo Garcia 9a16d95bea In taxes_by_invoice report, if we dont have a tax, dont try to get her name (print "---" instead).
Task #158123
2023-04-04 10:22:11 +02:00
Raimon Esteve c55d425bcf General Ledger: no-wrap amounts and locales
#157676
2023-03-24 14:11:39 +01:00
Juanjo Garcia fc3ca7cd96 Always raise exception when fiscal year or period are not found
Since 641cb7c9a4
Task #048598
2023-03-16 16:11:59 +01:00
Bernat Brunet 065216f549 Fix problem in general ledger with extra depends 2023-03-13 09:22:05 +01:00
Bernat Brunet d748a20364 when crete the general ledger, control the possibility to have an
account_move with move_origin, but not origin, or BankLine as origin.

Task: #156979
2023-03-13 08:52:04 +01:00
Albert Cervera i Areny 15a3e3737a Do not try to remove unexisting jaser_reports' menu_print_taxes_by_invoice. 2023-03-05 01:37:54 +01:00
Albert Cervera i Areny 36ac43dbd3 Pyflakes fixes. 2023-03-05 01:36:49 +01:00
Albert Cervera i Areny 6a338bb2b4 Do not try to remove unexisting jaser_reports' menu_print_general_ledger. 2023-03-05 01:34:02 +01:00
Albert Cervera i Areny 35ceab045d Fix tests. 2023-03-05 00:38:22 +01:00
Albert Cervera i Areny b681e63f6f Add skip_warnings on test's invoice post. 2023-03-05 00:22:06 +01:00
juanjo-nan 11001fad8c Add xls format to general ledger report. (#4)
Adapt general_ledger report:
- Change positon page
- Add missing fields
- Add missing agrupations
- Other visuals changes (header, etc.)

Task #071305
2023-03-03 15:11:52 +01:00
Bernat Brunet 626059d87d Fix 'ids' when call execute for print the report.
Fix PEP8
2023-01-24 12:36:12 +01:00
jared-nan 158f89002a Deactivate jasper reports menus | #072744 (#5) 2023-01-18 13:51:04 +01:00
Juanjo Garcia 588dec0618 Dont try to add css links if we create an "xls" file.
Task #072367
2023-01-03 14:59:51 +01:00
Bernat Brunet 114c3ead2b Fix problem when print taxes of an invoice with more than one tax.
Tasks: #067259
2022-10-16 17:11:06 +02:00
Raimon Esteve 67dc5a3cf7 Increase version number 2022-08-17 14:12:37 +02:00
Jared Esparza fef0c5a87e Add company to context 2022-05-05 11:44:15 +02:00
Jared Esparza 6865aa6d21 Replace test setuptools command by unittest discover 2022-04-27 15:11:49 +02:00
Juanjo Garcia ea620dfa75 In 6.0 or above use "cancelled" as state of invoices instead of "cancel"
Task #049812
2022-03-18 10:59:24 +01:00