-->
Welcome, Guest
Username: Password: Remember me
Check that your potential issue isn't already confirmed and fixed in the recent releases. A summary of all changes can be found in the Dolibarr Changelogs
  • Page:
  • 1
  • 2

TOPIC: [SOLVED] {line_options_xxx} in ODT files broke

[SOLVED] {line_options_xxx} in ODT files broke 4 months 4 days ago #36595

In Dolibarr 8.x the use of {line_options_xxx} in ODT files for proposals, orders and shipment works fine. After upgrading to 9.0.1 none of the ODT templates work anymore.
{line_options_xxx} isn't filled out anymore

EDIT: Thanks to ksar:
Code changed since V9

So up to V8 use
{line_options_xxxx}
Above V9 use
{line_product_options_xxxx}
Last Edit: 3 months 2 weeks ago by bvgeleuken.
The administrator has disabled public write access.

{line_options_xxx} in ODT files broke since 9.x 4 months 1 day ago #36619

  • ksar
  • ksar's Avatar
  • OFFLINE
  • Moderator
  • Posts: 289
  • Thank you received: 77
  • Karma: 12
The administrator has disabled public write access.

{line_options_xxx} in ODT files broke since 9.x 3 months 4 weeks ago #36683

I know. I added the issue but I can not see if it has been assigned for resolving.
Therefore I hoped to get some solutions form the forum.
The administrator has disabled public write access.

{line_options_xxx} in ODT files broke since 9.x 3 months 4 weeks ago #36684

  • h6585
  • h6585's Avatar
  • OFFLINE
  • Senior
  • Posts: 48
  • Thank you received: 1
  • Karma: 1
Try typing out the {line_options_xxx} in the ODT file again and uploading the same.
The administrator has disabled public write access.

{line_options_xxx} in ODT files broke since 9.x 3 months 4 weeks ago #36687

  • ksar
  • ksar's Avatar
  • OFFLINE
  • Moderator
  • Posts: 289
  • Thank you received: 77
  • Karma: 12
Hi,

You mean it is working for you ?
The administrator has disabled public write access.

{line_options_xxx} in ODT files broke since 9.x 3 months 4 weeks ago #36689

No result.
{line_options_xxx} is not filled out.
The administrator has disabled public write access.

{line_options_xxx} in ODT files broke since 9.x 3 months 4 weeks ago #36691

  • h6585
  • h6585's Avatar
  • OFFLINE
  • Senior
  • Posts: 48
  • Thank you received: 1
  • Karma: 1
{object_options_xxx} is working fine for me on Dolibarr 9.0.1
The administrator has disabled public write access.

{line_options_xxx} in ODT files broke since 9.x 3 months 4 weeks ago #36692

  • h6585
  • h6585's Avatar
  • OFFLINE
  • Senior
  • Posts: 48
  • Thank you received: 1
  • Karma: 1
Try testing out by defining a new line options and inserting that field in your ODT. This would at least help in ruling out if the option is working altogether or if there is a bug
The administrator has disabled public write access.

{line_options_xxx} in ODT files broke since 9.x 3 months 4 weeks ago #36693

  • ksar
  • ksar's Avatar
  • OFFLINE
  • Moderator
  • Posts: 289
  • Thank you received: 77
  • Karma: 12
Hi,

I have just test on my 9.0.1 and it is working great.

Could you please send a screenshot of the extrafield configuration and the odt file ?

Thanks.
The administrator has disabled public write access.

{line_options_xxx} in ODT files broke since 9.x 3 months 4 weeks ago #36694

Here are the 9.0.1 screenshots

I added a new extra field in the products.
Doesn't work either
Attachments:
Last Edit: 3 months 4 weeks ago by bvgeleuken.
The administrator has disabled public write access.

{line_options_xxx} in ODT files broke since 9.x 3 months 3 weeks ago #36695

  • ksar
  • ksar's Avatar
  • OFFLINE
  • Moderator
  • Posts: 289
  • Thank you received: 77
  • Karma: 12
I see nothing attached...
The administrator has disabled public write access.

{line_options_xxx} in ODT files broke since 9.x 3 months 3 weeks ago #36701

Second attempt

Screenshot2019-03-23at08.37.30.png


Screenshot2019-03-23at08.36.03.png
The administrator has disabled public write access.

{line_options_xxx} in ODT files broke since 9.x 3 months 3 weeks ago #36702

  • ksar
  • ksar's Avatar
  • OFFLINE
  • Moderator
  • Posts: 289
  • Thank you received: 77
  • Karma: 12
Hi,

THis is completely normal that it doesn't work.
You have created your extrafield on product.
And you try to display it as it was a line delivery extrafield

Impossible !
The administrator has disabled public write access.

{line_options_xxx} in ODT files broke since 9.x 3 months 3 weeks ago #36704

Same template but used in Dolibarr 8.0.4
So where is impossible now!


Screenshot2019-03-23at11.07.00.png
The administrator has disabled public write access.

{line_options_xxx} in ODT files broke since 9.x 3 months 3 weeks ago #36706

  • ksar
  • ksar's Avatar
  • OFFLINE
  • Moderator
  • Posts: 289
  • Thank you received: 77
  • Karma: 12
The extrafield configuration is different, with the screens above it should not work.
You have other extra field configured
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.167 seconds