YetiForceCompany / YetiForceCRM

Our team created for you one of the most innovative CRM systems that supports mainly business processes and allows for customization according to your needs. Be ahead of your competition and implement YetiForce!
https://yetiforce.com
Other
1.74k stars 749 forks source link

[bug] Adding 'related module' widged shows wrong 'selecting field' #12317

Closed diderich closed 4 years ago

diderich commented 4 years ago

🐞 bug report

⁉️ Describe the bug

When trying to add a 'related module' widget to e.g. 'Accounts', and selecting as related module e.g. 'Projects', the list from which to select the field to display ('selecting display') is populated with field from the 'Contact' module, rather than the selected 'Projects module' as shown in the figure below: bug

πŸ”₯ How to trigger the error

Steps to reproduce the behavior:

  1. Go to 'Modules - Widget System settings' in 'System settings' / 'Standard modules'
  2. Click on '+ Add widget'
  3. Select type of widget 'related module' and press OK
  4. Select 'Related module' as 'Project'
  5. When 'Selecting field', fields from 'Contact' are shown rather than fields from 'Project'
  6. See error

πŸ‘Ž Actual Behavior

When 'Selecting field', fields from 'Contact' are shown rather than fields from 'Project' to select from

πŸ‘ Expected Behavior

When 'Selecting field', fields from 'Project' should be shown to select from

πŸ‘· Testing

Works on gitstable. Does not work on gitdeveloper!

πŸ“· Screenshot of configuration

πŸ“ PHP/Apache/Nginx/Browser/CRM Logs

🌍 Your Environment

Environment Version / Name
YetiForce 5.2.97
Web server (name and version)
PHP
Browser (name and version)
Operating System (name and version)
Database (name and version)
Service Pack version

❓ Additional context

Add any other context about the problem here.

❗️ Inform the community if you solve the problem

bpabiszczak commented 4 years ago

Now is ok [gitdeveloper] image