mirror of
https://github.com/odoo/documentation.git
synced 2025-12-12 07:29:27 +07:00
[IMP] Accounting: Reports: Document the new cross_report syntax for forced date scope
task-5243334 closes odoo/documentation#15342 Related: odoo/odoo#236334 Related: odoo/enterprise#99816 Signed-off-by: Olivier Colson (oco) <oco@odoo.com>
This commit is contained in:
@@ -169,8 +169,10 @@ by a period `.` and the 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.
|
||||
|
||||
`cross_report(xml_id | report_id)`
|
||||
Used to match an expression from another report targeted by the xml_id or the report ID itself.
|
||||
`cross_report(xml_id | report_id[, force_date_scope])`
|
||||
Match an expression from another report targeted by the xml_id or the report ID itself.
|
||||
If `force_date_scope` is added, the :guilabel:`Date Scope` defined on the expression will be
|
||||
used to compute all the expressions used by the formula.
|
||||
|
||||
Prefix of Account Codes computation engine
|
||||
------------------------------------------
|
||||
@@ -295,6 +297,13 @@ custom computation of expressions on a case-by-case basis. The :guilabel:`Formul
|
||||
**dictionary** returned by this function. Use this computation engine only if making a custom
|
||||
module.
|
||||
|
||||
Date filtering
|
||||
==============
|
||||
|
||||
By default, the values computed for each expression will restrict the move lines they consider
|
||||
to the ones strictly within the interval selected on the report. To change that behavior,
|
||||
modify the :guilabel:`Date Scope` field of the expression.
|
||||
|
||||
Columns
|
||||
=======
|
||||
|
||||
|
||||
Reference in New Issue
Block a user