** Attachment added: "test_example.png" https://bugs.launchpad.net/openobject-server/+bug/1086052/+attachment/3474092/+files/test_example.png
-- You received this bug notification because you are a member of OpenERP Indian Team, which is subscribed to OpenERP Server. https://bugs.launchpad.net/bugs/1086052 Title: osv memory wizard image widget not possible for defaults Status in OpenERP Server: Incomplete Bug description: I created an osv memory wizard to process Carrier shipments. In the wizard I have defaults that are populated based on active_id passed in the context upon initial loading of the wizard. This is on the picking. It works very well. I wanted to add an image on the wizard to show the shipment carriers logo like FedEx UPS, USPS. When I add the widget="image" something funny happens. I added the binary field to the memory object columns. I put a default that's value is populated from a function. The function uses context to get its data. When the function is called to populate the image field the function is called twice before the windows appears. First time the context passed contains active_id. Second time it only passes user id and language. The result is that it is not possible to have a default image in a memory wizard because an exception occurs stating active_id key is not found in dictionary. I do not understand that when a regular field is populated on context it works, but when I put specifically an image widget it tries to do the function twice. To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-server/+bug/1086052/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~openerp-india Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-india More help : https://help.launchpad.net/ListHelp

