Skip to content

Commit

Permalink
fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksandr Nechyporenko committed Jul 20, 2023
1 parent 92175ac commit 848f270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crnd_web_field_domain/static/src/js/basic_model.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ odoo.define('crnd_web_field_domain.field_domain', function (require) {
},

_getDomain: function (element, options) {
if (!element._changes || Object.keys(element._changes).length === 0) {
if (!options || !options.fieldName) {
return this._super.apply(this, arguments);
}
var field_name = options ? options.fieldName: undefined;
Expand Down

0 comments on commit 848f270

Please sign in to comment.