Odoo Help

1

0
1 Answer
2
Avatar

Vasiliy Birukov

--Vasiliy Birukov--
3591
| 8 6 10
Togliatty, Russian Federation
--Vasiliy Birukov--

Help develop and implement any project on base Odoo.

Vasiliy Birukov
1/8/13 04:11

init_xml and update_xml deprcated parameters, use for new modules data instead.

  • init_xml - list of XML files with data that will load to DB at moment when you install module.
  • update_xml - list of XML files with data that will load to DB at moment when you install or update module.
  • data - list of XML, CSV or YAML files with data that will load to DB at moment when you install or update module. XML data file can have as install data and update data. It control by attribute noupdate of tag data.

    <openerp>
        <data>
            {install and update}
        </data>
        <data noupdate="1">
            {only install}
        </data>
    </openerp>
    
3 Comments
Anuradha
1/8/13 06:31

Thank you wowas

Pooja Zankhariya
23/1/14 07:26

Hello wowas, It means both 'update_xml' and 'data' loads your data during installation of module as well as updation of module the only difference is 'data' provides facility to load data in either case. Is it true or am i misunderstood? Thanx.

Limitless Virtual Enterprise, Andre de Kock
14/8/15 04:42

But if you only use the "data" tag, how do you say noupdate on a csv?

Ask a Question
Writer
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 eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now