Hello Somesh and Niels, Well, this does not seem to be an issue that needs an OPW cover to get in to stable, rather it seems an improvement. Secondly, according to the current stable source the related vouchers are set to cancelled state when you cancel the bank statement and later if you confirm the bank statement again the same voucher will be in posted state. Which is so far good.
Now comes your case(@Niels) for which you have proposed a merge proposal https://code.launchpad.net/~openerp-community/openobject- addons/7.0-587621-opw-orphan-voucher/+merge/154932 where in you unlink the isolated vouchers that are result of changing the original amount on the bank statement line. But here if you look closely as soon as you change the original amount on the bank statement line the button on the line will turn *red* if the balance does not match that means you need to take care you are reconciling it with the correct amount. To Fix this you need to click on the button to and change the *Allocation* value to the actual value you want to reconcile. As soon as you correct that you see the button turns *Green* means everything is correctly setup and now you can proceed with reconciliation. In this case the previous voucher will be in cancelled state and a new entry will be created and reconciled(posted). Keeping the history of vouchers (altered ones) seems good. instead of setting them to draft and later unlinking them. However, we its still open to be discussed. Thanks, Naresh Soni, OpenERP Enterprise Services -- You received this bug notification because you are a member of OpenERP Indian Team, which is subscribed to OpenERP Addons. https://bugs.launchpad.net/bugs/1149116 Title: [7.0]Cancelling a bank statement does not set voucher to state draft Status in OpenERP Addons (modules): Fix Committed Bug description: If you look at the code here you can see the state of the bank statement is set to draft when cancelled . http://bazaar.launchpad.net/~openerp/openobject-addons/7.0/view/head:/account/account_bank_statement.py#L448 However each of the bank statement lines has an account.voucher linked to it which is set to state 'cancel' the result is that the user cannot alter any of the reconciliation on the bank statement. The preferred solution would be to reset the vouchers to the state 'draft' whenever the related bank statement is also set to draft. This is a bug that was not present in the 6.0/6.1 branches because you were unable to cancel a bank statement when any of the generated moves was reconciled, obviously it's a good improvement in v7.0 to allow cancelling but since the way the vouchers (for reconciling) are created was changed (also in v7.0) you can not just create a new voucher as you would have done in v6.x To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-addons/+bug/1149116/+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

