Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd

consider these fields in a QWeb template:

<t t-set="tiempo" t-value="r.saida-(r.saldo/100)"/>
</t>
    <tr>
        <td colspan="7" class="align-center" align="center">
            <b>Tienes <span t-esc="tiempo"/> dias de cash</b>
        </td>
    </tr>

Here, tiempo is just a field I've set up on QWeb view, which makes a little arithmetic operation.

Doesn't exist on model, but saida and saldo do exist, so, is there a possibility to add this tiempo to an email template?

I mean without creating this very same operation on model?


Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
mei 17
5579
0
jan. 25
1167
1
okt. 16
6640
0
mei 20
3099
0
mei 17
4163