Commit Graph

39 Commits

Author SHA1 Message Date
Miquel Raïch
25d766ce2b [FIX] partner_statement: update "how to configure" readme 2025-07-28 10:33:21 +02:00
Miquel Raïch
693d25345a [IMP] partner_statement: remove "blocked" feature
If someone comes from v17 or older Odoo versions, and they still have "blocked" lines, there are three options for them:

- Develop glue module with another module that contains "blocked" field.
- Don't use this commit.
- Solve the "blocked" lines.

Good luck!
2025-07-25 14:29:19 +02:00
Miquel Raïch
7899fff564 [IMP] partner_statement: pre-commit auto fixes 2025-07-22 13:25:23 +02:00
Miquel Raïch
ea2e4f2990 [REF] partner_statement: Allow to override XLSX structure (2nd part) 2025-07-22 12:17:14 +02:00
Simone Rubino
9703003eca [IMP] partner_statement: Show only overdue lines 2025-07-22 12:17:14 +02:00
Simone Rubino
795f9c60fe [IMP] partner_statement: Allow to exclude accounts 2025-07-22 12:17:14 +02:00
Simone Rubino
a792d29e16 [IMP] partner_statement: Translate statement title 2025-07-22 12:17:13 +02:00
Simone Rubino
736e816bae [REF] partner_statement: Allow to override XLSX structure 2025-07-22 12:17:13 +02:00
Danny Adair
980b4de4c4 [FIX] partner_statement: context_today() instead of today()
The date shown on the report should be based on the client's timezone not UTC. (can be off by a day)

(cherry picked from commit 07b5969a123c87866b76abba146b7378d3b92855)
2025-07-22 12:17:13 +02:00
ellbristow
fb09ed1ef5 [MIG] partner_statement: Migration to 17.0 2025-07-22 12:17:13 +02:00
ellbristow
3158417c4a [IMP] : pre-commit auto fixes 2025-07-22 12:17:13 +02:00
Miquel Raïch
e1b5b9729e [FIX] partner_statement: don't consider reconciled lines outside date range 2025-07-22 12:17:13 +02:00
Danny W. Adair
5d85cc1512 FIX: Blocked lines did not have a balance
Balance does not change in a blocked line but still needs to be set
2025-07-22 12:17:13 +02:00
Danny W. Adair
bf2d7c6dd1 [16.0] [MIG] partner_statement: Migration to 16.0 2025-07-22 12:17:13 +02:00
Miquel Raïch
fbc12488b0 [FIX] partner_statement: use partner lang in xlsx reports 2025-07-22 12:17:13 +02:00
mariadforgeflow
1eb23d561b [IMP] partner_statement: ref in activity statement lines 2025-07-22 12:17:13 +02:00
Miquel Raïch
b9b4f1e67f [IMP] partner_statement: add Detailed Activity report 2025-07-22 12:17:13 +02:00
Miquel Raïch
4898324f32 [FIX] partner_statement: avoid showing lines with 0.00001 open amounts 2025-07-22 12:17:12 +02:00
Graeme Gellatly
c6d04b7572 Fix partner_statement: NULL Error in report 2025-07-22 12:17:12 +02:00
Graeme Gellatly
bfa55e80ff [FIX][15.0] partner-statement: Remove need to groupby on amount_currency in Activity Statement
By aggregating before the case statement there is no need to group by amount_currency.

In earlier versions of Odoo this bug only presented in multicurrency transactions as company currency transactions
would have an amount_currency of 0.0 and group by 0.0 just fine.

In later versions of Odoo amount_currency is always set and this causes otherwise identical move lines
that should be summed to display seperately. However, amount_currency was required in groupby because it
was part of a non aggregated case statement with the sum inside.

By reversing the nesting we remove the need to group by amount_currency. This is safe because we already group by
currency_id and aggregates are not evaluated until after group by completes.
2025-07-22 12:17:12 +02:00
mariadforgeflow
683730388e [IMP] partner_statement: black, isort, prettier 2025-07-22 12:17:12 +02:00
Christopher Ormaza
e107d32189 [UPD] update implementation of report_xlsx_helper 2025-07-22 12:17:12 +02:00
Christopher Ormaza
17a596997a [14.0][FWD] partner_statement
- Added html and xlsx support for activity outgoing statement
2025-07-22 12:17:12 +02:00
Rujia Liu
f3e1ac3b18 [MIG] partner_statement: Migration to 14.0 2025-07-22 12:17:12 +02:00
Jordi Ballester
7e6d3b4360 [partner_statement][fix] group by move line id
partner_statement 13.0.1.2.2
2025-07-22 12:17:12 +02:00
mreficent
286a330509 [FIX] partner_statement: consider a multicurrency case
Detected cases where account_partial_reconcile has null currency_id, thus giving falsy amount_currency, and thus making some reconciled invoices appearing in the outstanding. Used _amount_residual of account move lines as reference to fix it.

partner_statement 13.0.1.2.1
2025-07-22 12:17:12 +02:00
Lois Rilo
55ba69fd29 [13.0][IMP] partner_statement:
* show partner name at the top.
* simplify view logic for `name` and `ref` printing.
* fallback to journal entry `ref` when the journal item has no
  `ref` set.
* little query formatting changes to enhance readability.

[UPD] Update partner_statement.pot

[UPD] README.rst

partner_statement 13.0.1.1.0

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-reporting-13.0/account-financial-reporting-13.0-partner_statement
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-13-0/account-financial-reporting-13-0-partner_statement/
2025-07-22 12:17:12 +02:00
mreficent
c6b12f0cea [MIG] partner_statement: Migration to 13.0
[UPD] Update partner_statement.pot

[UPD] README.rst

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-reporting-13.0/account-financial-reporting-13.0-partner_statement
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-13-0/account-financial-reporting-13-0-partner_statement/
2025-07-22 12:17:12 +02:00
mreficent
24cb1fe10c [IMP] partner_statement: black, isort 2025-07-22 12:17:12 +02:00
LGodoo
588a2b54a7 Display only posted entries (#648)
* Add files via upload

Display only posted entries

* Update activity_statement.py

* Update report_statement_common.py

[UPD] Update partner_statement.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-reporting-12.0/account-financial-reporting-12.0-partner_statement
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-12-0/account-financial-reporting-12-0-partner_statement/
2025-07-22 12:17:12 +02:00
mreficent
63e88a89b5 [FIX] outstanding_statement: show only open invoices 2025-07-22 12:17:11 +02:00
Graeme Gellatly
9ce5fd3461 [FIX] Aging Buckets
In certain scenarios involving mutliple payments for multiple
invoices, where the reconciliation happens together and the debit
move is the smaller item the aging duplicates its value, making
the balance greater than it should be.

This fix works by preventing moves where different lines are both partial
reconciled being grouped together by adding the lines id
to the group by clause of _show_buckets_sql_q1
2025-07-22 12:17:11 +02:00
Graeme Gellatly
20d99a95ae [IMP] Allow to attach from compose wizard
By default we checked for an empty data dict in _get_report_values
however the mail template sends a file type and editor key by default.

We now check if the required company_id is in the dictionary. We also support
supplying force_company in context for setting the company for auto generated
emails.

[UPD] README.rst

[UPD] Update partner_statement.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-reporting-12.0/account-financial-reporting-12.0-partner_statement
Translate-URL: https://translation.odoo-community.org/projects/account-financial-reporting-12-0/account-financial-reporting-12-0-partner_statement/
2025-07-22 12:17:11 +02:00
Graeme Gellatly
83cde31664 Lint for Travis 2025-07-22 12:17:11 +02:00
mreficent
dac344bd04 [FIX] Wrong outstanding amounts for partial reconciliations 2025-07-22 12:17:11 +02:00
Graeme Gellatly
733e1ebca4 [IMP] Activity Statements aggregate Payment Data
Before this change, if a payment was reconciled using the bank statement widget
the move was seperated into many multiples of lines making activity
statements twice as long as necessary.

Now payments are a single line
2025-07-22 12:17:11 +02:00
Graeme Gellatly
845445a0b2 [FIX] Make company_id a required field in statement wizard 2025-07-22 12:17:11 +02:00
Jordi Ballester
d648cf058b [FIX] Scope unscoped SQL References 2025-07-22 12:17:11 +02:00
Graeme Gellatly
ad482b33d0 Initial Port of customer statements 2025-07-22 12:17:11 +02:00