Mohammed Shekha(Open ERP) has proposed merging 
lp:~openerp-dev/openerp-web/6.1-opw-578593-msh into lp:openerp-web/6.1.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #1042766 in OpenERP Web: "The "Set Default" wizard shares default values 
between companies"
  https://bugs.launchpad.net/openerp-web/+bug/1042766

For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/6.1-opw-578593-msh/+merge/121760

Hello,

Fixed the issue of set_default wizard which sets the value for all companies, 
the default_value should not be shared between companies, hence passed true for 
company_id so that it will only sets the value for current user's company.

Thanks.
-- 
https://code.launchpad.net/~openerp-dev/openerp-web/6.1-opw-578593-msh/+merge/121760
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openerp-web/6.1-opw-578593-msh.
=== modified file 'addons/web/static/src/js/view_form.js'
--- addons/web/static/src/js/view_form.js	2012-08-14 14:53:50 +0000
+++ addons/web/static/src/js/view_form.js	2012-08-29 06:59:59 +0000
@@ -747,7 +747,7 @@
                             field_to_set,
                             self.fields[field_to_set].get_value(),
                             all_users,
-                            false,
+                            true,
                             condition || false
                     ]).then(function () { d.close(); });
                 }}

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to