[IMP] accounting: subformulas for aggregation engine in custom reports
f39862263c
introduced two new subformulas for aggregations, but they were still missing in the doc. closes odoo/documentation#4561 X-original-commit:de095cc4ad
Signed-off-by: Castillo Jonathan (jcs) <jcs@odoo.com>
This commit is contained in:
parent
3bab6a3cbf
commit
913cc4cb02
@ -160,6 +160,16 @@ expression's **label** (ex. **code.label**).
|
||||
The value of the arithmetic expression will be returned only if it is strictly between the
|
||||
provided bounds. Otherwise, it will be brought back to the closest bound.
|
||||
|
||||
`if_other_expr_above(LINE_CODE.EXPRESSION_LABEL, CUR(amount))`
|
||||
The value of the arithmetic expression will be returned only if the value of the expression
|
||||
denoted by the provided line code and expression label is greater than the provided bound.
|
||||
Otherwise, the result will be `0`.
|
||||
|
||||
`if_other_expr_below(LINE_CODE.EXPRESSION_LABEL, CUR(amount))`
|
||||
The value of the arithmetic expression will be returned only if the value of the expression
|
||||
denoted by the provided line code and expression label is lower than the provided bound.
|
||||
Otherwise, the result will be `0`.
|
||||
|
||||
`CUR` is the currency code in capital letters, and `amount` is the amount of the bound expressed in
|
||||
that currency.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user