Dolibarr / dolibarr

Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers.
https://www.dolibarr.org
GNU General Public License v3.0
5.47k stars 2.8k forks source link

Bug: Attempt to read property "rowid" on null - Fournisseurs #31288

Open mikygee opened 1 month ago

mikygee commented 1 month ago

Bug

Version: 20.0.0

Hello,

When I go to configure the Fournisseurs module I see this Warning. I just did a fresh install image

My PHP version is 8.1.29

Dolibarr Version

20.0.0

Environment PHP

8.1.29

Environment Database

No response

Steps to reproduce the behavior and expected behavior

Fresh install and configure Fournisseurs module

Attached files

No response

lemathou commented 15 hours ago

This appears only if your database has no products. I will fix it.

lemathou commented 14 hours ago

I dit a PR to fix it : https://github.com/Dolibarr/dolibarr/pull/31859