Odoo Help


How to delete "Order lines to invoice"

on 11/10/14, 4:48 AM 1,433 views

I have made a mistake trying to merge invoices from separate sales orders and I now have order lines to invoice under Sales/Invoicing/Order Lines To Invoice. Is there any change to delete those?

I can't change invoices anymore since those are entered in the accounts. 

Juan José Scarafía
On 11/11/14, 7:40 AM

HI Screener,

You can't delete an invoice, you have to cancel, but they will steel there. Then you will have to create a new invoice with the same information, and a credit note to return the cash that was in the invoice.


Juan José - Ing ADHOC

I am not deleting invoice i am trying to delete these lines which is generated by sales order but i have already made an invoices which beholds these lines.. i know i made a mistake but there must be a way to delete those lines.

on 11/12/14, 3:59 AM

Med Said BARA

--Med Said BARA--

| 5 5 7
--Med Said BARA--
Med Said BARA
On 11/11/14, 9:58 AM

Try to use invoice_cancel_and_return_picking or invoice_cancel_ex from http://bazaar.launchpad.net/~ecosoft-team/ecosoft-addons/7.0/files to cancel the invoice, put it it in draft state and edit it.

You'll probably need to install account_cancel from https://www.odoo.com/apps/account_cancel/

You could also try with https://www.odoo.com/apps/7.0/account_default_draft_move/

Response added After comments:

Are you able to cancel the Sale Order ? if so do it. Or try to cancel the Delivery Order https://www.odoo.com/apps/7.0/stock_cancel/   or https://github.com/ApuliaSoftware/multi_stock_cancel   or  https://www.odoo.com/apps/7.0/correct_deliver_bymistake/  or  https://www.odoo.com/apps/7.0/stock_return_on_delivery/   

I have account_cancel installed and I am able to cancel invoices in general but these invoices has already been paid by our customer but I have these lines in order lines telling me to make an invoice but i have already put them another invoice, i now know thats not a correct way but i really want to get rid of these lines.

on 11/12/14, 3:57 AM

If i understand, there are some "order lines" not yet invoiced, can you tell me in which state they are?

Med Said BARA
on 11/12/14, 5:11 AM

Sorry for late reply, but these lines are marked as READY.

on 11/13/14, 9:43 AM

Are you sure; cause i can't see the state READY in the Order Line to Invoice view form (but the 3 status "Draft, Confirmed and Done")

Med Said BARA
on 11/13/14, 10:38 AM

Are those Order Lines to Invoice linked to any Sale Order ?? Or to any Delivery Order ??

Med Said BARA
on 11/13/14, 11:06 AM

Sorry, Done is correct, I just mistraslated it.

on 11/13/14, 12:25 PM

Yeas, those are connected to sale order and delivery order also.

on 11/13/14, 12:25 PM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

3 follower(s)


Asked: 11/10/14, 4:48 AM
Seen: 1433 times
Last updated: 3/16/15, 8:10 AM