[TMP]Try to make invisibles working
authorDenis Ledoux dle@openerp.com <>
Mon, 26 Nov 2012 08:43:45 +0000 (09:43 +0100)
committerDenis Ledoux dle@openerp.com <>
Mon, 26 Nov 2012 08:43:45 +0000 (09:43 +0100)
bzr revid: dle@openerp.com-20121126084345-284vm5zyp4w12u8w

addons/account/static/src/js/account_move_line_quickadd.js

index 997b2b0..47f5aec 100644 (file)
@@ -45,8 +45,14 @@ openerp.account.quickadd = function (instance) {
                 self.current_period = result['period_id'];
                 self.current_journal = result['journal_id'];
             });
+            
             return tmp;
         },
+        load_view: function(context) {
+            debugger;
+            this.$el.parent().addClass("oe_view_manager_view_list");
+            return this._super.apply(this, arguments);
+        },
         do_search: function(domain, context, group_by) {
             var self = this;
             this.last_domain = domain;