Daily updates from Odoo
Wednesday, November 30, 2016
1 change · master
Resolved issues and error corrections
This fix adds a proper cancelled status for payments instead of sending cancelled payments back to draft. It helps users distinguish real drafts from cancelled payments and avoids misleading accounting records.
Original PR description
Commit b17e4a0f6b0a prevents gaps in payment numbering by keeping tack of the account move name used. It also prevents the unlinking of a payment which already generated an account move. However, no 'Cancelled' state has been introduced for the payments. It means that the cancellation of a payment will set it to a draft state, and it won't be possible to delete or flag it as 'Cancelled' later on. It will therefore be a misleading entry for the users. opw-694351