> Why received id is not an id of the database? What is the origin of the bug?

In this issue we do on_change on records of one2many list(unsaved records) than
according to code it will pass id of that particular record, and that record 
has fake/virtual id(as record is still not saved in database so it will not 
have id).Which is wrong.

As 6.1 web also passing wrong id but gtk not passing any id.

If you have check video than u can see there,
when we go to warehouse -> income shipments -> create new record
in that add item in product tab.and re-open that and edit column field 
*product* many2one it call on_change and passes virtual id.At that time we 
don't have any real id so why passes virtual/fake id to server?

as onchange handle by web, for this type of scenario no code available to check 
ids.




-- 
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-traceback_issues6-vme/+merge/138726
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openerp-web/trunk-traceback_issues6-vme.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : openerp-dev-gtk@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to