c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #26864
[Bug 797083] Re: deleting an invoice from accounting-invoices, does not reset the check mark in the Sales order, for that line
Hello,
There are two possibilities, as per the bug, when we delete the customer invoice:
1. Invoice created for the whole sale order
2. Invoice created using the Make Invoice button sale order line.
Now we can achieve the solution by overriding the unlink method of invoice object,
-> For the first possibility what we have thought is, we can put the sale order in Invoice Exception state, where we manually cancel the Invoice first and then delete it.
-> For the second possibility we just simply change the state of sale order line and make the boolean field again False.
Overriding the unlink method can cause many other problems, so before
applying this change we would like to ask the experts to share their
views on this.
Thanks,
Ujjvala
** Changed in: openobject-addons
Status: Fix Committed => Confirmed
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/797083
Title:
deleting an invoice from accounting-invoices, does not reset the check
mark in the Sales order, for that line
Status in OpenERP Modules (addons):
Confirmed
Bug description:
Create a sales order with one or many lines
Confirm the sale,
go to one of the lines of the sale, double click and press "Make
Invoice"
Go to Accounting->Clients-Invoices,
Delete the invoice
The state of the line is still invoiced!!
I expected that the check mark from the lines of the sale in front of
the "Make Invoice"button, would be gone, but is not
Also in the Sales-> Lines to invoice the related line has the Invoiced
check mark.
Thanks,
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/797083/+subscriptions
References