Thank you, we are using this method only in test staging not for Live Production, and this has helped us to speed up the testing process
@OdooMates2 жыл бұрын
Glad that it helps ❤️
@financial-accounting207 Жыл бұрын
@@OdooMates in oddooo 16 my cashier recorded payment in credit card i want to delete this posted payment how can i do so
@marcoskhabie96652 жыл бұрын
thank u so much, this is so great. so much time looking for this solution. can you explain how to change the status to CANCELLED for posted invoices, without deleting it for ODOO V14 thank you
@asimmalik4031 Жыл бұрын
Thank you so much for sharing this valuable knowledge🥰🥰🥰
@OdooMates Жыл бұрын
You are so welcome
@AHMADGALALHAIBA Жыл бұрын
I really big fan and thanks a lot for your sharing valuable information
@OdooMates Жыл бұрын
Thanks and welcome
@a7madj83 Жыл бұрын
@@OdooMates another request from you and I will appreciated if you could do it Could you make sessions or document for all coding that used in server actions and automated actions
@timmy72012 жыл бұрын
Didn't work for me, still shows the same "can't delete" message when using the new "Force delete" button. I'm still on Odoo 11, been using it a couple of years and the amount of canceled invoices are getting annoying. I'm a solo part-time freelancer, so I don't really care if my canceled invoices are deleted or just hidden/filtered-out my list with valid invoices. The point being, I don't like seeing the chaos... Started using Odoo expecting it to be faster and easier than using excel sheets for my invoicing and administration, yet carving my invoices in stone as a neanderthal would've been more time-efficient given the amount of time I've wasted using Odoo and getting things to actually work. An administrator account should be able to do anything they want, without workarounds as shown in this video.
@OdooMates2 жыл бұрын
sorry to say that, we realize the solution will work for odoo 13 and above versions
@timmy72012 жыл бұрын
@@OdooMates Thanks for the info, will try to update the Odoo I'm running on my server in the coming week. If you didn't notice, I'm a tech person and hate administrative tasks... :-)
@timmy72012 жыл бұрын
@@OdooMates Well... Couple of hours later and I somehow got a filter working by default. All canceled invoices are automatically hidden from the list now... It weirdly enough required a server reboot to get applied... At least the OCD part of my brain will rest well tonight... It's 11:53 PM over here, so even 7 minutes left of my Sunday to enjoy... 😅
@Mireda-wr3yc2 жыл бұрын
It's bad behaviour in accounting to delete posted entries, it's recommended to cancel it instead bro 😊
@OdooMates2 жыл бұрын
Yes i agree, you are right. But there might be some case, where user needs to delete it, so just need to share the knowledge that there is such an option available. Also when i see the purchase count for such apps in the odoo app store, seems there are people who looks for the same. Thanks again brother
@Mireda-wr3yc2 жыл бұрын
@@OdooMates yes it happens at starts, when client test in production 😅
@OdooMates2 жыл бұрын
Anyway hope people will do this only when it really needs and thanks brother for sharing it ❤️
@Mireda-wr3yc2 жыл бұрын
@@OdooMates thank you brother
@OdooMates2 жыл бұрын
@@Mireda-wr3yc
@andynacrur Жыл бұрын
Thank you very much, it works!. To delete duplicate Purchase orders, is the same procedure?
@OdooMates Жыл бұрын
Welcome and this cannot be done with purchase
@internetyoutube6912 жыл бұрын
i follow the same step to delete my pos posted order but force delete option is not appear with delete option please me to delete posted order
@KhalilulrahmanAG2 жыл бұрын
Can we add manually add invoice number for new invoice rather than next number
@OdooMates2 жыл бұрын
Yes, was possible in old versions by making the field move_name visible in the form view of invoice
@YuehliaKids2 жыл бұрын
Hello Brother, This doesn't work when selecting multiple records, is there anyway to make it work? I'm getting this error: "Record does not exist or has been deleted. (Record: account.move(478,), User: 2)" FYI: I'm made sure that the record exists and not deleted
@eptxtechnology2399 Жыл бұрын
Thank you sr.
@OdooMates Жыл бұрын
Most welcome
@jamesT0082 жыл бұрын
Very nice...thnks
@OdooMates2 жыл бұрын
@AhmedGamal-jw3yd6 ай бұрын
it's work for single invoice, could you explain how we can delete multiple selected posted invoices in one click
@OdooMates6 ай бұрын
from tree view, you can select multiple invoice and delete from there
@oanthatakealeboga571 Жыл бұрын
Is there a way you can delete it after payment is allocated to the invoice?
@tandontsomi53642 жыл бұрын
Thank you, this helped a lot
@OdooMates2 жыл бұрын
🤩
@findmeFriendful2 жыл бұрын
Hi, how to delete in bulk? appreciate your reply.
@rizkiaditya37032 жыл бұрын
its that posible use this way to delete the jurnal item
@AhmedGamal-jw3yd2 жыл бұрын
Thanks a lot pro
@OdooMates2 жыл бұрын
You're welcome!
@cheggour2 жыл бұрын
Thank you very much for your topics, but the code does not work with me in odoo 15
@OdooMates2 жыл бұрын
Welcome and this will work in odoo15, let us know how you tried it in v15 ?
@cheggour2 жыл бұрын
@@OdooMates I followed the same steps as you showed and I received this error message :IndentationError : expected an indented block at line 2 rec.with_context(force_delete=True).unlink() this is my code : for rec in records: rec.with_context(force_delete=True).unlink()
@OdooMates2 жыл бұрын
@@cheggour so the issue is indentation error, not with this method :p , can you adjust the indentation of added line ?
@cheggour2 жыл бұрын
@@OdooMates Oh ,that's works ,you are helpful thanks a lot
@OdooMates2 жыл бұрын
Glad to hear it ❤️❤️❤️
@FinanceLorient Жыл бұрын
hello thanks for this information haw i can delete all seals order or force delete for seals order please i need it urgent
@OdooMates Жыл бұрын
there is no such force_delete option for sale order, you can keep the sale order cancelled and cancel invoice and picking
@nirajbhalala7 ай бұрын
how to reset invoice sequence no after financial year change
@OdooMates6 ай бұрын
which version
@neptra977 Жыл бұрын
How to delete transfered done stock?
@Eltayar2 жыл бұрын
thank you, but it didn't work on 12CE
@OdooMates2 жыл бұрын
You received any exception or ?
@Eltayar2 жыл бұрын
folowed your steps and after choose force delete it showing the same massage "You cannot delete an invoice after it has been validated (and received a number). You can set it back to "Draft" state and modify its content, then re-confirm it."
@Eltayar2 жыл бұрын
this is the python code I have written for record in records: record.with_context(force_delete=True).unlink()
@OdooMates2 жыл бұрын
Yes you are right brother, seems the same will not work in v12 and below. Sorry for wrong information