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
- Comptabilitat
- Inventari
- PoS
- Project
- MRP
This question has been flagged
1
Respondre
8469
Vistes
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!
Registrar-seRelated Posts | Respostes | Vistes | Activitat | |
---|---|---|---|---|
|
1
d’abr. 22
|
9289 | ||
|
2
d’oct. 21
|
8564 | ||
|
1
de jul. 21
|
22417 | ||
|
2
de gen. 21
|
6221 | ||
V11 Connect with Shopware
Solved
|
|
6
d’ag. 20
|
5321 |