How to remove demo data from the already installed module through code?
This question has been flagged
1
Odgovori
10440
Prikazi
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!
Prijavi| Related Posts | Odgovori | Prikazi | Aktivnost | |
|---|---|---|---|---|
|
|
3
apr. 26
|
5746 | ||
|
|
1
apr. 22
|
11743 | ||
|
|
2
nov. 25
|
10773 | ||
|
|
1
jul. 21
|
26279 | ||
|
|
2
jan. 21
|
8777 |