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:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
1
Balas
8989
Tampilan
Hi,
Try this.
| <delete model="your.model" search="[('id', '=', ref('module_name.demo_data_xml_id'))]"/> |
Thank you.
Thank you.It's work.
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
|
1
Apr 22
|
9941 | ||
|
|
2
Okt 21
|
9324 | ||
|
|
1
Jul 21
|
23641 | ||
|
[v10] Open Form from Action in Readonly Mode
Diselesaikan
|
|
2
Jan 21
|
7053 | |
|
V11 Connect with Shopware
Diselesaikan
|
|
6
Agu 20
|
5932 |