How to remove demo data from the already installed module through code?
This question has been flagged
1
Odpovědět
10445
Zobrazení
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!
Přihlásit se| Related Posts | Odpovědi | Zobrazení | Aktivita | |
|---|---|---|---|---|
|
|
3
dub 26
|
5747 | ||
|
|
1
dub 22
|
11743 | ||
|
|
2
lis 25
|
10773 | ||
|
|
1
čvc 21
|
26284 | ||
|
|
2
led 21
|
8778 |