Skip to Content
Menu
This question has been flagged
1 Reply
7396 Views

How to remove demo data from the already installed module through code?

Avatar
Discard
Best Answer

Hi,

Try this.

<delete model="your.model" search="[('id', '=', ref('module_name.demo_data_xml_id'))]"/>

Thank you.

Avatar
Discard
Author

Thank you.It's work.

Related Posts Replies Views Activity
1
Apr 22
8063
2
Oct 21
7023
1
Jul 21
18893
2
Jan 21
4552
6
Aug 20
4309