i have a lot of products i didn`t use , 0 sale 0 purchase 0 qty . i want to delete all this products . which method should i use
code ORM unlike , or from database ?
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
This question has been flagged
Hi,
Always don't use DB if you don't know the consequences.
You can archive them, You will filter them from list view, select them and from actions menu select Archive.
If you want to delete them completely, You can filter them from list view, select them and from actions menu select delete.
If you can select them from list view, you can write code on product_template model and use ORM unlink.
thanks waleed
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
Nov 24
|
1858 | ||
|
2
Oct 24
|
345 | ||
|
2
Aug 24
|
362 | ||
|
3
Jul 24
|
6444 | ||
|
0
Apr 24
|
364 |