Adds Aged Receivable, Aged Payable, and Partner Ledger as fusion.report records using the new compute_partner_grouped engine method. REPORT_TYPES is extended with aged_receivable / aged_payable / partner_ledger so each report has a unique report_type. The HTTP controller dispatches these to engine.compute_partner_grouped with the appropriate account_type via PARTNER_GROUPED_ACCOUNT_TYPE. Output includes per-partner aging buckets: current, 1-30, 31-60, 61-90, 90+ days. Westin total: 4 + 4 + 3 = 11 of Enterprise's 22 standard reports. Made-with: Cursor
15 lines
618 B
XML
15 lines
618 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo noupdate="1">
|
|
<record id="report_aged_payable" model="fusion.report">
|
|
<field name="name">Aged Payable</field>
|
|
<field name="code">aged_payable</field>
|
|
<field name="report_type">aged_payable</field>
|
|
<field name="sequence">36</field>
|
|
<field name="description">Per-vendor outstanding payables, bucketed by aging.</field>
|
|
<field name="line_specs" eval="[
|
|
{'label': 'Aged Payable', 'account_type_for_grouping': 'liability_payable'}
|
|
]"/>
|
|
<field name="company_id" eval="False"/>
|
|
</record>
|
|
</odoo>
|