Skip to content

Instantly share code, notes, and snippets.

@lepistone
Created April 23, 2015 15:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lepistone/a95e6ed938d3b1508903 to your computer and use it in GitHub Desktop.
Save lepistone/a95e6ed938d3b1508903 to your computer and use it in GitHub Desktop.
var result = (
this.fields_view.arch.attrs.force_editable_mode || (
!this.grouped &&
!this.options.disable_editable_mode
&& (this.fields_view.arch.attrs.editable
|| this._context_editable
|| this.options.editable))
);
console.log(result);
console.log("\n");
return result
inst.web.ListView.include({ editable: function() { return false; } } );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment