[trunk] on_change not passing ids

Asked by John B

Not sure when this occurred, exactly, but it looks like on_change is passing an empty ids list to the method. The workaround for non-osv_memory objects is to use active_ids, but if trying to use an on_change in a wizard there's no way to get the id of the object.

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo GTK Client (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was originally filed as bug #713489.

Revision history for this message
DBR (OpenERP) (dbr-openerp) said :
#1

Hello,

The ids field only have value when we save the records.
And osv memory wizard can not save the values.
Just because of that osv memory wizard's on_change have blank ids.

Thanks.

Can you help with this problem?

Provide an answer of your own, or ask John B for more information if necessary.

To post a message you must log in.