Review: Needs Fixing
I'd prefer an alternate way:
In KanbanRecord#set_record()
add something like this :
set_record: function(record) {
this.id = record.id;
if id is not in dataset.ids {
push the id in datase.ids
}
this.record = this.transform_record(record);
},
This way it will also work if we add a single record.
Please don't use underscore.js for this, I'd prefer to keep the instance of
dataset.ids intact.
--
https://code.launchpad.net/~openerp-dev/openerp-web/6.1-opw-573705-msh/+merge/101684
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openerp-web/6.1-opw-573705-msh.
_______________________________________________
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