How to remove demo data from the already installed module through code?
This question has been flagged
1
Odpoveď
10428
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 | |
|---|---|---|---|---|
|
|
3
apr 26
|
5745 | ||
|
|
1
apr 22
|
11742 | ||
|
|
2
nov 25
|
10772 | ||
|
|
1
júl 21
|
26276 | ||
|
|
2
jan 21
|
8777 |