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
8623 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
9496
2
říj 21
8797
1
čvc 21
22814
2
led 21
6489
6
srp 20
5505