Complementary attributes Visibility on PDF not working in latest 23.0.1

Complementary attributes Visibility on PDF not working in latest 23.0.1

Ghanshyam Parmar
Mob No. +91-78200 20079
Email: ghanshyamparmar@mail.com
Vadodara, Gujarat India

Hey!

That’s a known issue with extrafields (complementary attributes) visibility on PDFs in version 23.0.1. The visibility rules that work fine in the web interface often don’t get properly applied when generating PDF documents.

First thing I’d check is your conf.php file to make sure you have the latest PDF generation settings. Also worth verifying in Setup > Company/Foundation if your PDF templates are correctly configured.

The issue is usually in how the PDF generation engine handles the visibility conditions. You might want to check the llx_extrafields table in your database to see if the visibility parameters are properly stored there.

A quick workaround is to temporarily set those extrafields to “always visible” just for PDF generation, though I know that’s not ideal. You can also try switching to a different PDF template to see if it’s template-specific.

If you’re comfortable with code, check the PDF generation files in htdocs/core/modules/pdf/ for your document type. The visibility logic might need a patch there.

Worth reporting this on GitHub if it’s not already tracked, as it’s definitely a regression from earlier versions.

Clément Houde - Founder of Dolicraft