Cannot cancel an Invoice

Bug #618703 reported by James Jesudason
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Invalid
Undecided
Unassigned

Bug Description

When you create an Invoice and then try to cancel it, you get the following message:

"You can not modify a posted entry of this journal !
You should set the journal to allow cancelling entries if you want to do that."

When going to Accounting > Configuration > Financial Accounting > Accounts > Journals and looking at the 'Sale Journal' (or any journal), there is no option to allow cancelling. This option exists on version 5.0, but does not appear on version 6.0. Has this been deliberately removed? If so, the Invoice screen shouldn't have a 'Cancel' button. However, my preferred solution would be to put back the old functionality of allowing users to be able to set a journal to allow cancellations.

Version: trunk
bzr addons version: 4594

Revision history for this message
Ravindra Mekhiya(OpenERP) (rme-openerp) wrote :

Hello James,

Version 6 has a bit different workaround to cancel the invoice using that option.

You will need to install 'account_cancel' module.

Thanks.

Changed in openobject-addons:
status: New → Invalid
Revision history for this message
James Jesudason (jamesj) wrote :

Is there any documentation on this? If this is the new approach then you should change the message to mention the account_cancel module, as currently it doesn't make sense.

Changed in openobject-addons:
milestone: none → 6.0
Revision history for this message
James Jesudason (jamesj) wrote :

From a user point of view, having a 'Cancel' button that will never work doesn't make sense. A suggested approach is:

1. Check to see if the account_cancel module is installed.
2. If installed:
        Use the existing message about the Journal.
    else:
        Submit a message saying that the account_cancel module needs to be installed to allow cancellation of posted invoices.

This approach will help to make the system self-documenting.

Revision history for this message
Borja López Soilán (NeoPolus) (borjals) wrote :

+1 to James approach.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.