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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
5089
查看
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
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
0
7月 25
|
1636 | ||
|
2
11月 24
|
6864 | ||
|
2
10月 24
|
3738 | ||
|
2
8月 24
|
2104 | ||
|
3
7月 24
|
8513 |