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
- Бухоблік
- Склад
- PoS
- Project
- MRP
Це запитання позначене
1
Відповісти
8550
Переглядів
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!
РеєстраціяRelated Posts | Відповіді | Переглядів | Дія | |
---|---|---|---|---|
|
1
квіт. 22
|
9352 | ||
|
2
жовт. 21
|
8640 | ||
|
1
лип. 21
|
22519 | ||
|
2
січ. 21
|
6315 | ||
V11 Connect with Shopware
Вирішено
|
|
6
серп. 20
|
5394 |