Add missing declaration of tree_state_model

This commit is contained in:
Cédric Krier committed 2014-10-14 15:33:15 +02:00
1 parent 49296b514b
commit 421be62fcb
1 file changed
+1 -1
+1 -1
View File
@@ -844,7 +844,7 @@
this.tree_states[parent_][view.children_field || null] = [
timestamp, paths, selected_paths];
if (store && view.attributes.tree_state) {
tree_state_model = new Sao.Model(
var tree_state_model = new Sao.Model(
'ir.ui.view_tree_state');
tree_state_model.execute('set', [
this.model_name,