Hello my friends!!
Please, i want to delete the records of different types of contracts in odoo.
So that, i want to use the xml file.
But, i didnt know how to proceed.
Can anyone help me please.
THanks a lot in advance.
Best regards.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello my friends!!
Please, i want to delete the records of different types of contracts in odoo.
So that, i want to use the xml file.
But, i didnt know how to proceed.
Can anyone help me please.
THanks a lot in advance.
Best regards.
you can try any on these syntax
<delete model='product.product' search="[('id','=',ref('product.product_product_4b'))]" />
<delete model="target_model" search="[('id','=',target_id)]"/>
you can also use id = ref('target_module.target_id') in the delete tag
where am i goin to put this???
create a file data.xml (marked noupdate="1" )and place it reference in openerp.py
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
Sep 21
|
3553 | ||
|
1
Nov 19
|
5676 | ||
|
0
Mar 15
|
2623 | ||
|
1
Jun 23
|
2172 | ||
|
3
Nov 22
|
2251 |