Hi everyone,
I need to use a different wording based on the journal that is used for the invoices.
For example when printing an invoice with journal "ABC" I need to use "ABC Invoice #" in the document's header and when using journal "DEF" I would like the report to print "DEF Invoice #"
How would I add it as a "t-if" like in the following statement?
<span t-if="o.type == 'out_invoice' and (o.state == 'open' or o.state == 'paid')">Invoice</span>
Another option would be to use the prefix field in the sequence but then I need to be able to translate those prefix based on the partner's language.
any idea?
Thanks in advance.