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.38k stars 2.77k forks source link

separator extrafield are open on create forms (even with value=2) #26231

Open Crush33 opened 1 year ago

Crush33 commented 1 year ago

Bug

Hi I made an update on an instance (v13 to v18) and I have a change in behavior on the field separator extrafields. They are all set to 2 (nothing changed before/after Update) however in the creation forms, they are all open in v18 whereas they were not in v13. However, we expect them to be closed when we read the management rule, which is indeed the case in the files, but not in the creation forms. link to forum post Thx for you help

Environment Version

18.0.2

Environment OS

Debian 5.10.197-1 (2023-09-29) x86_64

Environment Web server

Apache/2.4.56 (Debian)

Environment PHP

7.4.33

Environment Database

MySQL or MariaDB 5.5.5-10.5.21-MariaDB-0+deb11u1

Environment URL(s)

https://my.doli.com/dolibarr/societe/card.php?action=create&leftmenu=

Expected and actual behavior

the separator extrafields are all open on dolibarr/societe/card.php?action=create separator extrafiel option is set to 2 (all collapse).

Steps to reproduce the behavior

  1. create an extrafield separator with value = 2 on thirdparties
  2. go to dolibarr/societe/card.php?action=create
  3. the separator is open, expected to be closed like in older version (v13)

same behavior for separator extrafield on project / propal / contract / invoice etc.

Attached files

No response

github-actions[bot] commented 5 days ago

This issue is stale because it has been open 1 year with no activity. If this is a bug, please comment to confirm it is still present on latest stable version. if this is a feature request, please comment to notify the request is still relevant and not yet covered by latest stable version. This issue may be closed automatically by stale bot in 10 days (you should still be able to re-open it if required).