Odoo Help

0

What does "noupdate" mean in the following xml statement? <data noupdate="1">

By
E.M.
on 7/11/15, 4:07 AM 1,199 views

For a custom module I had to define some sequences in XML.

I saw an example using the following attribute:

<data noupdate="1">....</data>

What   is ...noupdate="1"...  used for?

6

Hello all,

noupdate means when second time this module will upgraded, this record will not be updated again. The record which is inside noupdate="1" will be initialized only at installation time.  

Tip : In case if you delete the record then at next update system will Re-create it. Usually those kind of records which are having possibility of modification from front end, given inside noupdate=1. For example, automatic scheduler records. 

Hope this will help,

0
Dairidi
On 7/13/15, 5:28 AM

This record will never be updated. Not only second time.
It's also used for demo data in modules for example.

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

Question tools

1 follower(s)

Stats

Asked: 7/11/15, 4:07 AM
Seen: 1199 times
Last updated: 8/1/15, 1:12 AM