I designed an ODT template for invoices. When an invoice is validated, it generates automatically the ODT file.
Since upgrade to 12.0.3 from 11.0.1, some of the fields ({company_name}, {company_address}, {company_zip} and {company_town}) are not completed inside generated ODT __when validating invoice__.
But if I click "Generate" after that, these fields are filled. I haven't modify anything in invoice, neither in ODT template.
Following fields ({company_name}, {company_address}, {company_zip} and {company_town}) remains empty when invoice is validated. They should be filled with their value.
Workaround is to click on "Generate" after and new ODT file contains these values.
All other values are filled correctly.
These fields are inserted inside a square.
A similar issue here : https://www.dolibarr.org/forum/t/error-when-creating-documents/19640
Hi all,
for the time being the attached patch might help. It is for release 12.0.3 but will probably also work for past releases since 12.0.0
@code-chicken It works well! Many thanks!
Will it be part of next release 12.0.4?
Most helpful comment
Hi all,
for the time being the attached patch might help. It is for release 12.0.3 but will probably also work for past releases since 12.0.0
facture-14979.zip