Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Short answer - you cannot - for your own good.
This is a fundamental of double entry bookkeeping, every movement has a credit and a debit. It makes it easier to track where your money is going.
It is poor accounting practices to just re-write entries in the ledger. If you made a mistake, make a correcting entry that cancels out the old stock move. Like if you shipped it to a partner in the computer by mistake, create a return with a note that this was just a computer error.
If your database is getting too big, I would see about exporting the information somehow.
update stock_move set state = 'draft' where id = ?;
Then you can delete them from within OpenERP safely. Or if safety is not a concern...
delete from stock_move where id = ?;
I don't recommend the latter but I've had to do it when a CSV upload test generated several hundred test records and I needed them gone for the next iteration of testing.
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 3/8/13, 2:26 PM|
|Seen: 7876 times|
|Last updated: 4/13/16, 4:50 PM|