{line_options_xxx}

Maybe a silly question but can be a solution:

Using {line_options_xxx} in my ODT is not working in Dolibarr 7.01. It doesn’t retrieve info form DB

When I try the 8.0.0 alpha version it works like a charm. But I can not use it in a production environment.

Can somebody tell me which file(s) to copy from 8.0.0 alpha to 7.01. Just see if it works and if it’s stable.

Still in need of an answer.

But there is more :happy:

When I use the shipment module the {line_options_xxx} isn’t working in the ODT files.
So it works in the order module but not in the shipment.

Which code do I have to copy to make it work in both modules?

Hello,
the code for generating ODT file are in files like:
/htdocs/core/modules/facture/doc/doc_generic_invoice_odt.modules.php
In this case, this is about invoice (facture).
For shipment, I presume that the module is livraison, but I don’t find file for ODT, only PDF. Thus I presume that it is a generic substitution which occurs.
I’m not sure that the solution can be only transferring files.