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

Extrafields (link to object) not working v19 #28524

Open valtbern opened 8 months ago

valtbern commented 8 months ago

Bug

Hello, Extrafields linking to another objects do not work reverting error "_selectForForms: Error bad setup of field objectdescorig=Societe, objectfield=entrepot:optionszwhcompany". Same behavior happens upon creating another link to object fields, linking to products, for example.

Not quite sure, but seems that issue persists in Stock module, as the same link, e.g. to Third parties, is used as an extra field in another modules and works well.

warehouse_card

Environment Version

19.0.0

Environment OS

Linux

Environment Web server

LiteSpeed

Environment PHP

8.1.27

Environment Database

MySQL or MariaDB 10.6.16-MariaDB-cll-lve

Environment URL(s)

/product/stock/card.php

Expected and actual behavior

No response

Steps to reproduce the behavior

No response

Attached files

No response

yharroch commented 8 months ago

Bug already tracked in #https://github.com/Dolibarr/dolibarr/issues/28375

bos4711 commented 8 months ago

28375 is written in french language, so I'd prefer this ticket since it's atleast readable for us without knowledge of french language.

nikiforo24 commented 7 months ago

dolibarr 19.0.1 php 7.4 module invoices Link to an object do not work selectForForms: Error bad setup of field objectdescorig=FactureFournisseur, objectfield=facturedet:options_ct_reffacdis

jman482002 commented 4 months ago

Same problem here. v19.02 Can't get "link to object" to work for most things.

Does anyone know what the most stable version of Dolibarr is?

valtbern commented 2 months ago

I haven't checked each and every module and class, however issue still persists, for example, upon purchase order creation. Can't define a third party for extra fields. v19.0.3

image