Odoo Help

2

2
1 Answer
1
Avatar

Omal Bastin India

--Omal Bastin--

2158
| 7 7 10
Kochi, Kerala, India
--Omal Bastin--

Swiming deep into openERP/ODOO

Omal Bastin India
4/23/13, 12:32 PM

you can use <delete> tag to delete already created record in xml.

<delete model='model.name' search="your search domain in list of tuples"/>
3 Comments
Obay Albadri Sudan
4/25/13, 7:31 AM

Thanks Omal, after more googling I found another way to delete/replace data: <record model="res.user" id="user_id"> <field name="groups_id" eval="[(6, 0, [])]" /> </record>

Obay Albadri Sudan
4/25/13, 7:33 AM

another Question what about: <data noupdate="0/1">?

Omal Bastin India
4/25/13, 8:10 AM

if noupdate="1" is provided then the xml part comes under <data noupdate="1"><!--xml code --></data>will be loaded only the first time when loading the file. what ever change in the xml code will not be loaded after that. by default, noupdate='0'

Ask a Question
Writer
Tags
Keep Informed
0 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now