How to remove demo data from the already installed module through code?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- Müşteri İlişkileri Yönetimi
- e-Commerce
- Muhasebe
- Envanter
- PoS
- Project
- MRP
Bu soru işaretlendi
1
Cevapla
8528
Görünümler
Hi,
Try this.
<delete model="your.model" search="[('id', '=', ref('module_name.demo_data_xml_id'))]"/> |
Thank you.
Thank you.It's work.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Olİlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
---|---|---|---|---|
|
1
Nis 22
|
9347 | ||
|
2
Eki 21
|
8630 | ||
|
1
Tem 21
|
22508 | ||
|
2
Oca 21
|
6292 | ||
V11 Connect with Shopware
Çözüldü
|
|
6
Ağu 20
|
5376 |