diff options
| author | Denis Ledoux <dle@odoo.com> | 2014-10-03 14:02:25 +0200 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2014-10-03 14:03:12 +0200 |
| commit | 7aa5d397c8cc2a1e6fae4c6a289cd635b952ea42 (patch) | |
| tree | 46959f1804afac84335e36ba8c7258535625ff91 /addons/web/static/test | |
| parent | cb30783aba642627c6bf71d4aa812de00e7d536d (diff) | |
[Revert] cb30783aba642627c6bf71d4aa812de00e7d536d & 6349048ba0e5e74c74e783ffce8c3c0083d2f060
[FIX] web: avoid force_reload in list editable
[FIX] web: force load record after reload page
These fixes prevent to open existing record form
Diffstat (limited to 'addons/web/static/test')
| -rw-r--r-- | addons/web/static/test/list-editable.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/addons/web/static/test/list-editable.js b/addons/web/static/test/list-editable.js index 3032ae7e5f0..a91d5012123 100644 --- a/addons/web/static/test/list-editable.js +++ b/addons/web/static/test/list-editable.js @@ -9,9 +9,6 @@ openerp.testing.section('editor', { mock('test.model:onchange', function () { return {}; }); - mock('test.model:default_get', function () { - return {}; - }); } }, function (test) { /** @@ -214,7 +211,7 @@ openerp.testing.section('list.edition', { }); } }, function (test) { - test('newrecord', {asserts: 7}, function (instance, $fix, mock) { + test('newrecord', {asserts: 6}, function (instance, $fix, mock) { var got_defaults = false; mock('demo:default_get', function (args) { var fields = args[0]; |
