Hello all,
I'm working with report creation in Odoo 10 and find it interesting that reusing child account lines is not promoted when creating new reports through the UI. I was wondering if someone in the community might have some insight into the decision to customize reports by creating new versions of some of the same lines rather than referencing the lines if they already exist.
For example, to create a Working Capital Report, maybe I'd set up something like this:
WORKING CAPITAL (balance = WC_CA.balance - WC_CL.balance)
CURRENT ASSETS (WC_CA) # compute value with child lines or domain expression
CURRENT LIABILITIES (WC_CL) # compute with child lines or domain expression
Where WC_CA and WC_CL are new child lines that I create by hand or duplicating.
Meanwhile, the Balance Sheet Report that ships with Odoo assumes this hierarchy for the first two levels:
BALANCE SHEET
ASSETS (TA)
Current Assets (CA)
Plus Fixed Assets (FA)
Plus Non Current Assets (PNCA)
LIABILITIES (L)
Current Liabilities (CL)
Plus Non Current Liabilities (NL)
EQUITY (EQ)
CURRENT YEAR EARNINGS (UNAFFECTED_EARNINGS)
RETAINED EARNINGS (RETAINED_EARNINGS)
In this example, it seems like it could be easier and potentially less error prone to re-use Current Assets and Current Liabilities from the Balance Sheet, rather than recompute these lines and their child lines again.
Any insights would be welcomed,
Zach