How to remove demo data from the already installed module through code?
La domanda è stata contrassegnata
1
Rispondi
10425
Visualizzazioni
Hi,
Try this.
| <delete model="your.model" search="[('id', '=', ref('module_name.demo_data_xml_id'))]"/> |
Thank you.
Thank you.It's work.
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
Registrati| Post correlati | Risposte | Visualizzazioni | Attività | |
|---|---|---|---|---|
|
|
3
apr 26
|
5741 | ||
|
|
1
apr 22
|
11742 | ||
|
|
2
nov 25
|
10772 | ||
|
|
1
lug 21
|
26274 | ||
|
|
2
gen 21
|
8777 |