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
- Účtovníctvo
- Sklady
- PoS
- Projektové riadenie
- MRP
This question has been flagged
1
Odpoveď
9217
Zobrazenia
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!
Registrácia| Related Posts | Replies | Zobrazenia | Aktivita | |
|---|---|---|---|---|
|
|
1
apr 22
|
10172 | ||
|
|
2
nov 25
|
9463 | ||
|
|
1
júl 21
|
24055 | ||
|
|
2
jan 21
|
7304 | ||
|
V11 Connect with Shopware
Solved
|
|
6
aug 20
|
6127 |