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
- Apskaita
- Atsarga
- PoS
- Projektas
- MRP
This question has been flagged
1
Atsakyti
9257
Rodiniai
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!
Registracija| Related Posts | Replies | Rodiniai | Veikla | |
|---|---|---|---|---|
|
|
1
bal. 22
|
10232 | ||
|
|
2
lapkr. 25
|
9499 | ||
|
|
1
liep. 21
|
24145 | ||
|
|
2
saus. 21
|
7330 | ||
|
V11 Connect with Shopware
Solved
|
|
6
rugp. 20
|
6163 |