Upgrade to 10.0.5 missing line items Sales Orders

Today I upgraded from 10.0.4 to 10.0.5. As I am based in Japan we don’t have Christmas here. This process went without any incidents. When checking draft sales orders, all line items were missing and not displaying.
Making a new sales order, all line items are visible. When checking a delivered sales order some of them are showing line items. I didn’t have much time to trouble shoot or further investigate. I downgraded back to 10.0.4 via a backups and all is running smooth again.

this is the same here so it is properly a bug

DOLIBARR ENVIRONMENT

  • Version: [10.0.5]
  • Operating System: 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64
  • Web Server:Apache/2.4.29 (Ubuntu)
  • PHP: 7.2.24-0ubuntu0.18.04.1
  • Database: MariaDB 5.5.5-10.1.43-MariaDB-0ubuntu0.18.04.1
  • URL(s): http://192.168.1.9/dolibarr

Bug reported: https://github.com/Dolibarr/dolibarr/issues/12760

Quick fix:
Change core/class/html.formmargin.class.php line 101 into
if ($object->element == 'facture' && $object->type == $object::TYPE_SITUATION) {

1 Like

Hotfix works great with
dolibar 10.0.5
PHP 7.3.13

Thanks a lot!!!

Can you reproduce on demo.dolibarr.org ?

no it looks like it works but this is V12a ??

That works great! Thank you very much!

This has been corrected in V10.0.6