How to remove demo data from the already installed module through code?
This question has been flagged
1
Reply
10420
Views
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!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
|
3
Apr 26
|
5741 | ||
|
|
1
Apr 22
|
11742 | ||
|
|
2
Nov 25
|
10771 | ||
|
|
1
Jul 21
|
26274 | ||
|
|
2
Jan 21
|
8777 |