dolibarr 6 [!-- BEGIN row.lines --] not working od

Using an ODT template the [!-- BEGIN row.lines --] do not show anymore. Upgraded from version 5.4 to 6
I attach the odt template i use and the outcome.

Pièces jointes :

The segment.php file included with V6.0.0 is not correct. Use the one from V5.0.5 until an update fixed the isue.

I have a fully functional V6 system with ODT to PDF templates conversion and I would upload the fixed file but I do not know why I am not able to upload files nor to edit again my own comments. Sorry.

Anyway I have attached the file again just in case this time it works.

Pièces jointes :