diff --git a/agreement_legal/static/src/js/domain_widget_ext.js b/agreement_legal/static/src/js/domain_widget_ext.js index 11da12f6..adfedb43 100644 --- a/agreement_legal/static/src/js/domain_widget_ext.js +++ b/agreement_legal/static/src/js/domain_widget_ext.js @@ -17,10 +17,10 @@ odoo.define('agreement_legal.domain_widget_ext', function (require) { // Add Additional options this.partialUse = this.nodeOptions.partial_use || false; }, - - //-------------------------------------------------------------------------- + + //---------------------------------------------------------------------- // Private - //-------------------------------------------------------------------------- + //---------------------------------------------------------------------- /** * @private @@ -37,15 +37,17 @@ odoo.define('agreement_legal.domain_widget_ext', function (require) { // Convert char value to array value var value = this.value || "[]"; - // Create the domain selector or change the value of the current one... + // Create the domain selector or change the value of the current + // one... var def; if (!this.domainSelector) { - this.domainSelector = new DomainSelector(this, this._domainModel, value, { - readonly: this.mode === "readonly" || this.inDialog, - filters: this.fsFilters, - debugMode: session.debug, - partialUse: this.partialUse || false, - }); + this.domainSelector = new DomainSelector( + this, this._domainModel, value, { + readonly: this.mode === "readonly" || this.inDialog, + filters: this.fsFilters, + debugMode: session.debug, + partialUse: this.partialUse || false, + }); def = this.domainSelector.prependTo(this.$el); } else { def = this.domainSelector.setDomain(value); @@ -54,9 +56,10 @@ odoo.define('agreement_legal.domain_widget_ext', function (require) { return def.then(this._replaceContent.bind(this)); }, /** - * Render the field DOM except for the domain selector part. The full field - * DOM is composed of a DIV which contains the domain selector widget, - * followed by other content. This other content is handled by this method. + * Render the field DOM except for the domain selector part. The full + * field DOM is composed of a DIV which contains the domain selector + * widget, followed by other content. This other content is handled by + * this method. * * @private */ diff --git a/agreement_legal/static/src/xml/domain_widget_view.xml b/agreement_legal/static/src/xml/domain_widget_view.xml index 580d1a2e..42694253 100644 --- a/agreement_legal/static/src/xml/domain_widget_view.xml +++ b/agreement_legal/static/src/xml/domain_widget_view.xml @@ -1,179 +1,179 @@ - - -
- -
-
- -
- - - - Invalid domain - - -
-
Select a model to add a filter.
-
-
+ + +
+ +
+
+ +
+ + + + Invalid domain + + +
+
Select a model to add a filter.
- -
- Please navigate below and select field: - - SSMatch records with - - of the following rules: - -
- -
- - - - - Match all records - - - -
- Match records with the following rule: - - Match records with - - of the following rules: - -
- -
- - - - -
- - - - - - - -
- -
- - -
- -
-
- - +
+ + + SMatch all records + - -
- - - -
-
- -
-
- - - +
+ Please navigate below and select field: + + SSMatch records with + + of the following rules: + +
+ +
-
-
-
-
- - - - "" - - - - "" - or + + + Match all records + + + +
+ Match records with the following rule: + + Match records with + + of the following rules: + +
+ +
+ + - - - +
+ + + - - is - not - set + + -
-
-
-
- -
- -
-
-
- -
- +
+ + +
+ + +
+ +
+
+ + + + + +
+ + + +
+
+ +
+
+ + + +
+
+
-
-
    +
    + + + + "" + + + + + "" + or + + + + + + + + is + not + set +
    - +
    +
    + +
    + +
    +
    +
    +
    + +
    + +
    +
    +
      +
    +
    -
    - \ No newline at end of file +