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:
- सीआरएम
- e-Commerce
- लेखांकन
- इन्वेंटरी
- PoS
- Project
- MRP
This question has been flagged
1
Reply
8471
Views
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!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
अप्रैल 22
|
9291 | ||
|
2
अक्तू॰ 21
|
8566 | ||
|
1
जुल॰ 21
|
22417 | ||
|
2
जन॰ 21
|
6222 | ||
V11 Connect with Shopware
Solved
|
|
6
अग॰ 20
|
5323 |