salesagility / SuiteCRM

SuiteCRM - Open source CRM for the world
https://www.suitecrm.com
GNU Affero General Public License v3.0
4.44k stars 2.07k forks source link

Fix #8209 - Issue with dynamic drop being mass updated. #10340

Open SinergiaCRM opened 8 months ago

SinergiaCRM commented 8 months ago

Description

In listview, mass update did not filter the child list based on the parent list. This allowed selecting items from the child list without first selecting an item from the parent list, which could lead to incorrect associations.

Motivation and Context

Dynamic dropdown was no working in massupdate. In Cases module, the "State" field had parentenum, a property of dynamicenums. Moreover, a change has been made to make dynamic dropdown work properly in this module.

How To Test This

  1. Go to Administration and generate a dropdown, and an associated dynamic dropdown.
  2. Execute Mass Update action and modify the fields of the created dropdown and dynamic dropdown.
  3. Verify that the child list is filtered based on the value of the parent list.
  4. Check that in the edit view, the dynamic dropdowns are filtered properly.
  5. Go to Cases and verify that "State" filters "Status".

Types of changes

Final checklist

serhiisamko091184 commented 8 months ago

Hello @SinergiaCRM,

thanks for your PR!

Regards, Serhii