Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
8818 Zobrazení

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

Avatar
Zrušit
Nejlepší odpověď

Hi,

Try this.

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

Thank you.

Avatar
Zrušit
Autor

Thank you.It's work.

Related Posts Odpovědi Zobrazení Aktivita
1
dub 22
9724
2
říj 21
9087
1
čvc 21
23270
2
led 21
6797
6
srp 20
5751