Mohammed Shekha(Open ERP) has proposed merging
lp:~openerp-dev/openobject-client-web/6.0-opw-515706-msh into
lp:openobject-client-web.
Requested reviews:
OpenERP Core Team (openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-client-web/6.0-opw-515706-msh/+merge/95854
Hello,
Fixed the issue of many2many which displays wrong pager count when same record
is selected from many2many which is already exist in many2many.
Open any form in which there is many2many field, say for e.g. Product form ->
Accounting Tab -> Account Tax field.
Select any one record in many2many which is already exist in many2many
list(Note select the many2many record by clicking on row, not by selecting the
check box and then click on select button otherwise this will not generated,
this only generated when we select a record by simply clicking on row).
Here you will see pager count is increased as well as when you try to save this
record integrity error will come.
Hence changed the code to fix this issue.
Thanks.
--
https://code.launchpad.net/~openerp-dev/openobject-client-web/6.0-opw-515706-msh/+merge/95854
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-client-web/6.0-opw-515706-msh.
=== modified file 'addons/openerp/controllers/templates/search.mako'
--- addons/openerp/controllers/templates/search.mako 2011-01-03 07:27:33 +0000
+++ addons/openerp/controllers/templates/search.mako 2012-03-05 07:40:23 +0000
@@ -72,7 +72,7 @@
}
function do_select(id) {
jQuery.m2m('close',
- id ? [id]
+ id ? [parseInt(id)]
: ListView('_terp_list').$getSelectedItems().map(function () {
return parseInt(this.value, 10); }).get()
);
_______________________________________________
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