diff --git a/addons/base/static/openerp/js/base_chrome.js b/addons/base/static/openerp/js/base_chrome.js index 46199eedbc3..434c2ca1ff8 100644 --- a/addons/base/static/openerp/js/base_chrome.js +++ b/addons/base/static/openerp/js/base_chrome.js @@ -114,7 +114,7 @@ openerp.base.BasicController = Class.extend({ openerp.base.Console = openerp.base.BasicController.extend({ init: function(element_id, server, port) { this._super(element_id); - }, + } }); openerp.base.Session = openerp.base.BasicController.extend({ diff --git a/addons/base/static/openerp/js/base_views.js b/addons/base/static/openerp/js/base_views.js index 7b7a2db949b..1e9b5f76212 100644 --- a/addons/base/static/openerp/js/base_views.js +++ b/addons/base/static/openerp/js/base_views.js @@ -273,9 +273,9 @@ openerp.base.FormView = openerp.base.Controller.extend({ }, on_record_loaded: function() { for (var f in this.fields) { - this.fields[f].set_value() + this.fields[f].set_value(); } - }, + } }); openerp.base.ListView = openerp.base.Controller.extend({ @@ -536,7 +536,7 @@ openerp.base.FieldChar = openerp.base.Field.extend({ }, on_change: function() { //this.view.update_field(this.name,value); - }, + } }); openerp.base.FieldEmail = openerp.base.Field.extend({ @@ -637,7 +637,7 @@ openerp.base.widgets = { 'boolean' : openerp.base.FieldBoolean, 'float' : openerp.base.FieldFloat, 'button' : openerp.base.WidgetButton -} +}; openerp.base.CalendarView = openerp.base.Controller.extend({ // Dhtmlx scheduler ? diff --git a/addons/base_hello/static/openerp/base_hello.js b/addons/base_hello/static/openerp/base_hello.js index 973b04536a7..5d6a02d355b 100644 --- a/addons/base_hello/static/openerp/base_hello.js +++ b/addons/base_hello/static/openerp/base_hello.js @@ -7,12 +7,12 @@ openerp.base_hello = function(openerp) { openerp.base.SearchView = openerp.base.SearchView.extend({ init:function() { this._super.apply(this,arguments); - this.on_search.add(function(){alert('hello')}); - }, + this.on_search.add(function(){console.log('hello');}); + } }); // here you may tweak globals object, if any, and play with on_* or do_* callbacks on them -} +}; // vim:et fdc=0 fdl=0: diff --git a/doc/source/index.rst b/doc/source/index.rst index 6d5d1551373..10ea0bcd4f1 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -17,6 +17,7 @@ Contents: addons development project + old-version Indices and tables ================== diff --git a/doc/source/old-version.rst b/doc/source/old-version.rst new file mode 100644 index 00000000000..d7458063be7 --- /dev/null +++ b/doc/source/old-version.rst @@ -0,0 +1,11 @@ +Main differences with the 6.0 client +==================================== + +.. No more populate.sh, use virtualenvs + +.. Logic is mainly in Javascript (had to make a choice between JS and +.. Python logic) + +.. Templating language changes + +.. How to port addons and modules? diff --git a/doc/source/production.rst b/doc/source/production.rst index a45628f90fa..2524471f327 100644 --- a/doc/source/production.rst +++ b/doc/source/production.rst @@ -3,6 +3,12 @@ Deploying OpenERP Web .. After release one, add upgrade instructions if any +.. How about running the web client on alternative Python +.. implementations e.g. pypy or Jython? Since the only lib with C +.. accelerators we're using right now is SimpleJSON and it has a pure +.. Python base component, we should be able to test and deploy on +.. non-cpython no? + In-depth configuration ----------------------