** Summary changed: - Wrong currency field behaviour in manual invoice + onchange functions get called when editing existing object
** Description changed: 6.0 rc2 - I have accounting installed with EUR as reference currency + When editing existing objects, onchange functions get called which can + lose information configured by the user, even when no field has been + manually changed since opening the object. + + Example: I have accounting installed with EUR as reference currency Create a manual invoice and manually change the currency to USD and then press "Save and Edit" the currency is changed back to EUR but if you go straight away in the "List View " it shows still as USD - If you do the same scenario and press "Save" instead of "Save and Edit" everything is fine + If you do the same scenario and press "Save" instead of "Save and Edit" everything is fine, but if you Edit from there, it gets changed back to EUR again. + + Issue is journal_id field has onchange, onchange_journal_id gets called + and it sets currency to currency of the journal (EUR here), even though + I already set the data I want on the object. Regards Maurice -- You received this bug notification because you are a member of OpenERP SA's Web Client R&D, which is a bug assignee. https://bugs.launchpad.net/bugs/698002 Title: onchange functions get called when editing existing object Status in OpenObject Web Client: In Progress Bug description: 6.0 rc2 When editing existing objects, onchange functions get called which can lose information configured by the user, even when no field has been manually changed since opening the object. Example: I have accounting installed with EUR as reference currency Create a manual invoice and manually change the currency to USD and then press "Save and Edit" the currency is changed back to EUR but if you go straight away in the "List View " it shows still as USD If you do the same scenario and press "Save" instead of "Save and Edit" everything is fine, but if you Edit from there, it gets changed back to EUR again. Issue is journal_id field has onchange, onchange_journal_id gets called and it sets currency to currency of the journal (EUR here), even though I already set the data I want on the object. Regards Maurice _______________________________________________ Mailing list: https://launchpad.net/~openerp-dev-web Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-dev-web More help : https://help.launchpad.net/ListHelp

