Announcement
Collapse
No announcement yet.
Hide Create Button from Duplicate alert popup
Collapse
X
-
I have upgraded to V8.0.0.0 today as I saw the duplicate check is now available. I have selected the fields that should be checked for duplicate, however I seem to be still missing something as I can stil create duplicate entries. To give a background, I am using the default name field as my serial number field, as such this
Changing the source code is a bad practice.
In version 8, all base views are packed into large packages espo-crm.js и espo-main.js and, accordingly, without rebuilding these packages, the changes you make do not have any effect
Solution options: your own custom detail view for entities that require disabling the button and a custom duplicate view or checking and not allowing saving as described in the link provided
-
Add custom css file and put the following css style:
Code:div[id^="duplicate-modal-container"] .modal-footer button[data-name="save"]{ display: none }
Comment
Comment