Use field context to edit record
issue10806 review364101002 (grafted from 1249931768127750f3c905256aa435285a9a00fc) --HG-- branch : 6.0
This commit is contained in:
1 parent
ac628353be
commit
dff2e6ce9e
2 files changed
+2
No files matched your search
@@ -2560,6 +2560,7 @@ function eval_pyson(value){
|
||||
params.res_id = m2o_id;
|
||||
params.mode = ['form'];
|
||||
params.name = this.attributes.string;
|
||||
params.context = this.field.get_context(this.record);
|
||||
Sao.Tab.create(params);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -2267,6 +2267,7 @@
|
||||
params.res_id = this.field.get(record);
|
||||
params.mode = ['form'];
|
||||
params.name = this.attributes.string;
|
||||
params.context = this.field.get_context(record);
|
||||
Sao.Tab.create(params);
|
||||
}.bind(this));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user