How to remove demo data from the already installed module through code?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilitate
- Inventar
- PoS
- Project
- MRP
Această întrebare a fost marcată
1
Răspunde
8476
Vizualizări
Hi,
Try this.
<delete model="your.model" search="[('id', '=', ref('module_name.demo_data_xml_id'))]"/> |
Thank you.
Thank you.It's work.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Înscrie-teRelated Posts | Răspunsuri | Vizualizări | Activitate | |
---|---|---|---|---|
|
1
apr. 22
|
9294 | ||
|
2
oct. 21
|
8571 | ||
|
1
iul. 21
|
22422 | ||
|
2
ian. 21
|
6234 | ||
V11 Connect with Shopware
Rezolvat
|
|
6
aug. 20
|
5326 |