[7.0]Cancelling a bank statement does not set voucher to state draft
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Low
|
OpenERP Publisher's Warranty Team |
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://
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
Related branches
- Naresh(OpenERP) (community): Needs Information
- Niels Huylebroeck (community): Needs Fixing
-
Diff: 11 lines (+1/-0)1 file modifiedaccount_voucher/account_voucher.py (+1/-0)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in openobject-addons: | |
assignee: | OpenERP R&D Addons Team 3 (openerp-dev-addons3) → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
Hello Niels,
This is because of the current behaviour in OpenERP in stable 7, What actually happen is when you cancel the Bank statement its related voucher's state also set as cancel and a button visible on the voucher as "Set as Draft" (if need to change the state manually). So from the current behaviour you can use button "Set as Draft" to change the state of the voucher as "Draft".
As this is a normal behaviour so here we will not consider this as a bug because this is neither a blocking issue nor a real bug but can be consider as a usability improvement for the future version of OpenERP, This is why I am setting the state of this bug as wishlist so that R&D will decide the behaviour of state on voucher when Bank statement is cancelled.