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
|
`CUR` is the currency code in capital letters, and `amount` is the amount of the bound expressed in
|
||||||
that currency.
|
that currency.
|
||||||
|
|
||||||
`cross_report(xml_id | report_id)`
|
`cross_report(xml_id | report_id[, force_date_scope])`
|
||||||
Used to match an expression from another report targeted by the xml_id or the report ID itself.
|
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
|
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
|
**dictionary** returned by this function. Use this computation engine only if making a custom
|
||||||
module.
|
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
|
Columns
|
||||||
=======
|
=======
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user