Commit Graph

20 Commits

Author SHA1 Message Date
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
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
ellbristow
3158417c4a [IMP] : pre-commit auto fixes 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
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
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
Rujia Liu
f3e1ac3b18 [MIG] partner_statement: Migration to 14.0 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
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
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
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