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
8463
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!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
1
Apr 22
|
9284 | ||
|
2
Okt 21
|
8559 | ||
|
1
Jul 21
|
22407 | ||
[v10] Open Form from Action in Readonly Mode
Diselesaikan
|
|
2
Jan 21
|
6221 | |
V11 Connect with Shopware
Diselesaikan
|
|
6
Agu 20
|
5318 |