[IMP] account_reports: Unambiguous cross_report aggregations

Before this commit, when using cross_report subformula it would search for a report that has an line with this code.
We had to ensure there was no duplicate codes and so it was difficult to maintain.

Now, when we use a cross_report subformula, we need to explicitly target the report from where the code is from.

task-4457667
This commit is contained in:
Logan Staelens 2025-01-13 16:57:08 +01:00
parent c1154c0c5d
commit a349b88cde

View File

@ -173,7 +173,8 @@ expression's **label** (ex. **code.label**).
`CUR` is the currency code in capital letters, and `amount` is the amount of the bound expressed in
that currency.
You can also use the `cross_report` subformula to match an expression found in another report.
`cross_report(xml_id | report_id)`
Used to match an expression from another report targeted by the xml_id or the report ID itself.
'Prefix of Account Codes' engine
--------------------------------