How to remove demo data from the already installed module through code?
This question has been flagged
1
Respondre
10417
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-se| Related Posts | Respostes | Vistes | Activitat | |
|---|---|---|---|---|
|
|
3
d’abr. 26
|
5741 | ||
|
|
1
d’abr. 22
|
11741 | ||
|
|
2
de nov. 25
|
10770 | ||
|
|
1
de jul. 21
|
26273 | ||
|
|
2
de gen. 21
|
8777 |