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
                
            
        
        
            
                9049
                
                    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  | 9994 | ||
|  | 2 Eki 21  | 9350 | ||
|  | 1 Tem 21  | 23724 | ||
|  | 2 Oca 21  | 7086 | ||
| 
            
                V11 Connect with Shopware
            
            
                    Çözüldü
            
         |  | 6 Ağu 20  | 5962 | 
