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
- Účetnictví
- Sklad
- PoS
- Projekty
- MRP
This question has been flagged
1
Odpovědět
9186
Zobrazení
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!
Přihlásit se| Related Posts | Odpovědi | Zobrazení | Aktivita | |
|---|---|---|---|---|
|
|
1
dub 22
|
10146 | ||
|
|
2
lis 25
|
9439 | ||
|
|
1
čvc 21
|
23994 | ||
|
|
2
led 21
|
7265 | ||
|
V11 Connect with Shopware
Vyřešeno
|
|
6
srp 20
|
6083 |