cherry-pick c639533 combine context, Get windows_action context in

BufferedDataSet Class
This commit is contained in:
Pierre Verkest
2015-07-15 23:28:13 +02:00
parent c4bc379de7
commit 56da0dbff5
3 changed files with 27 additions and 22 deletions

View File

@@ -1,7 +1,6 @@
openerp.testing.section( 'web_readonly_bypass', {},
function(test){
test('ignore_readonly', function(instance){
openerp.web_readonly_bypass(instance);
var data = {};
var mode_create = true;
var options = {};
@@ -63,7 +62,6 @@ function(test){
});
test('retrieve_readonly_by_pass_fields', function(instance){
openerp.web_readonly_bypass(instance);
var context = {'readonly_by_pass': true}
var options = {'readonly_fields': {'field_1': 'va1-1',
'field_2': 'val-2',
@@ -165,4 +163,4 @@ function(test){
"false option and false context"
);
});
});
});