[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 closes odoo/documentation#11747 Related: odoo/odoo#193106 Related: odoo/enterprise#76845 Signed-off-by: Logan Staelens (lost) <lost@odoo.com>
This commit is contained in:
parent
606b56ccda
commit
224e1f5982
@ -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
|
||||
--------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user