Formulas (Sum/Multiply/etc.) in Print Format Builder

Hi,
I’m currently testing my skills in the Print format builder and although very convenient there is one thing I can’t seem to figure out. Using Formulas.

For example I would like to add a field mentioning that a deposit of say 10% needs to be paid in advance, but instead of just writing it in the terms and conditions field I would like to have a field which calculates the value and displays it on the print document. Ex. doc.grand_total * 10% or 0,1

Is this in any way possible currently within the builder or is there a way to do the calculation elsewhere(invoice document) and just display the value on the print?

Thanks.

You can use Jinja templating. Try adding an Custom HTML and then

{{ doc.grand_total * 0.1 }}

1 Like