diff options
| author | Xavier Morel <xmo@openerp.com> | 2012-10-11 18:35:18 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2012-10-11 18:35:18 +0200 |
| commit | 47db6f3e45351b9e5e2d59a8ff6d2a4eea5d1ee7 (patch) | |
| tree | 45f5c44dc3b6b23f8b7621dd9bce0c6d02c977f8 /addons | |
| parent | 5f55a091fac7894d8ea843b724587f0ca2ecc6ec (diff) | |
| parent | 7096a336c084bab9f12aa1d13ae96e82cbf12d7d (diff) | |
[FIX] restrict set_default values to the current user's company, courtesy of Guewen Baconnier
bzr revid: xmo@openerp.com-20121011163518-iyewcncrfvqm6o7a
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/web/static/src/js/view_form.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index 75e48334f5c..08c071c7d0e 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -1096,7 +1096,7 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM field_to_set, self.fields[field_to_set].get_value(), all_users, - false, + true, condition || false ]).then(function () { d.close(); }); }} |
