[v6.x] [account] _reconciled method for account.invoice method does not take into account the invoice state 'paid' when the result is False
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
High
|
OpenERP Publisher's Warranty Team |
Bug Description
I would like to point out regarding taking into account the workflow service for the invoice
in Bug#928616
https:/
This means that invoice workflow is missing a transition from paid to re-open,
I am reporting this as a bug because this is just being tackle from account_voucher
but other modules/models are not aware of that being happening,
If you unreconcile payments not by account_voucher, but through account_move_line
action unreconcile entries, then invoices affected will remain in paid state.
So as it happens with test_paid trasition that keeps aware of account.move.line records
It should happen the same for aml being unreconciled that affects the state of other invoices
Thanks a lot
Related branches
- Raphael Collet (OpenERP) (community): Approve
- Naresh(OpenERP) (community): Approve
-
Diff: 17 lines (+5/-2)1 file modifiedaccount/invoice.py (+5/-2)
summary: |
- [v6.x] [account] workflow transition missing for invoice + [v6.x] [account] _reconciled method for account.invoice method does not + take into account the invoice state 'paid' when the result is False |
Changed in openobject-addons: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in openobject-addons: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
I decide to change the name to this bug to better address the issue
that I was previously pointed out.
And now I come to you with a patch that addresses this problem.
Applying this patch better addresses the latest lines added to the branch that
fixed the bug#928616 where it was call a wf_service,
Whenever the invoice is not quite reconciled it will change the state from 'paid' to' re-open'