Partner Outstanding Statement
customer_outstanding_statement · OCA/account-financial-reporting
Merged into partner_statement in 12.0
Health
23/100
poor
-
Security0/254 grave, 0 minor
-
Activity0/25Last human commit 91 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 9.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.18 MB
Module directory on disk
Code analysis
3 migration notes
2 models
4 views
0 HTTP endpoints
Security warnings
CustomerOutstandingStatement._display_lines_sql_q1— SQL built by string formatting from caller-controlled input (an RPC-callable method's parameter, the request payload or the context): `return """`. Pass values as query parameters (`cr.execute(query, params)`, `SQL("... %s", value)`). CWE-89. sql-injection · sourceCustomerOutstandingStatement._display_lines_sql_q3— SQL built by string formatting from caller-controlled input (an RPC-callable method's parameter, the request payload or the context): `return """`. Pass values as query parameters (`cr.execute(query, params)`, `SQL("... %s", value)`). CWE-89. sql-injection · sourceCustomerOutstandingStatement._show_buckets_sql_q1— SQL built by string formatting from caller-controlled input (an RPC-callable method's parameter, the request payload or the context): `return """`. Pass values as query parameters (`cr.execute(query, params)`, `SQL("... %s", value)`). CWE-89. sql-injection · sourceCustomerOutstandingStatement._show_buckets_sql_q3— SQL built by string formatting from caller-controlled input (an RPC-callable method's parameter, the request payload or the context): `return """`. Pass values as query parameters (`cr.execute(query, params)`, `SQL("... %s", value)`). CWE-89. sql-injection · source
Found by automated static analysis: these patterns are usually risky, but only a manual review of the module can confirm a real issue. Methodology
Migration considerations
CustomerOutstandingStatement— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceCustomerOutstandingStatementWizard— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourcecustomer_outstanding_statement_wizard_view— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
customer_outstanding_statement.statement_document |
customer_outstanding_statement.statement_document | ir.ui.view | qweb | New |
customer_outstanding_statement_wizard_view |
Customer Outstanding Statement Wizard | customer.outstanding.statement.wizard | form | New |
report_assets_common |
oca_statements report assets | ir.ui.view | qweb | Inherits web.report_assets_common |
statement |
statement | ir.ui.view | qweb | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (6)
-
account_typeSelectiondefault='receivable'string='Account type' args: [('receivable', 'Receivable'), ('payable', 'Payable')] -
company_idMany2one → res.companycomodel_name='res.company'default=<expr>string='Company' -
date_endDatedefault=fields.Date.to_string(date.today())required=True -
filter_partners_non_dueBooleandefault=Truestring="Don't show partners with no due entries" -
number_partner_idsIntegerdefault=<expr> -
show_aging_bucketsBooleandefault=Truestring='Include Aging Buckets'
-
button_export_pdf(self)@api.multi
New fields (0)
No new fields.
Public methods (1)-
get_report_values(self, docids, data)@api.multi
Loading…
Loading…