Skip to content

Instantly share code, notes, and snippets.

@Kobedinho
Last active September 6, 2019 18:36
Show Gist options
  • Save Kobedinho/57294b82eefebdc3f43fa0cf61e2f3d1 to your computer and use it in GitHub Desktop.
Save Kobedinho/57294b82eefebdc3f43fa0cf61e2f3d1 to your computer and use it in GitHub Desktop.
When users create records from selection view, the drawer load the create-nodupecheck view so if you have a custom create view you need to change the create-nodupecheck view to extends the custom view instead of base view
// Example to extends the custom create view instead of the base create view
// Path : custom/modules/<module>/clients/base/views/create-nodupecheck/create-nodupecheck.js
({
// syntax to custom views: <module>CustomCreateView
// syntax to base views: CreateView
extendsFrom: 'ContactsCustomCreateView',
initialize: function(options) {
this._super("initialize", [options]);
this.enableDuplicateCheck = false;
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment