Hello there,
I read many topics regarding available currency tags for .ODT templates in (proposals, orders, invoice…) and did not find the right answer. Also at https://wiki.dolibarr.org/index.php/Create_an_ODT_document_template - nothing for currency tags specified yet.
I found in php code following working tags for objects and lines in objects and try them:
for objects:
object_fk_multicurrency= {object_fk_multicurrency}
object_multicurrency_code= {object_multicurrency_code}
object_multicurrency_tx= {object_multicurrency_tx}
object_multicurrency_total_ht= {object_multicurrency_total_ht}
object_multicurrency_total_tva= {object_multicurrency_total_tva}
object_multicurrency_total_ttc= {object_multicurrency_total_ttc}
for lines:
{line_multicurrency_code} not working correct - shows main company currency instead of currency code for the object
{line_multicurrency_total_ttc}
{line_multicurrency_total_tva}
{line_multicurrency_total_ht}
I hope moderators will test and write in WIKI and include in .odt sample files with Dolibarr installation.
And one request
There are no tags for
currency discount amount like {object_total_discount_ht}. If it is possible in new builds to include {object_multicurrency_total_discount_ht}
These tags are printed as numbers - not as price, pls fix these tags as price2num ouput.
Thanks in advance and Happy Holidays to all.