跳至內容
選單
此問題已被標幟
1 回覆
8485 瀏覽次數

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

頭像
捨棄
最佳答案

Hi,

Try this.

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

Thank you.

頭像
捨棄
作者

Thank you.It's work.

相關帖文 回覆 瀏覽次數 活動
1
4月 22
9298
2
10月 21
8576
1
7月 21
22427
2
1月 21
6244
6
8月 20
5330