Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4 Trả lời
6310 Lượt xem

Hi,

        I download the third party software for account budget in that i seen a demo.xml. i dont know what is demo.xml file and its needed?

Here i share the link for code

 https://drive.google.com/file/d/0B_2KqaTWiC5LRXVGRGRPV05ORHM/view?usp=sharing                        // demo file

https://drive.google.com/file/d/0B_2KqaTWiC5LNzlUUlJIdUNsbmc/view?usp=sharing                              // view file

https://drive.google.com/file/d/0B_2KqaTWiC5LcTZ5NzJjMV95bTg/view?usp=sharing                               //workflow file

https://drive.google.com/file/d/0B_2KqaTWiC5LRGpSdHJBSjkzTW8/view?usp=sharing                            //py file


Thanks,

Ram

Ảnh đại diện
Huỷ bỏ

demo.xml create demo records in each model which willl be helpfull for understanding the working of the module. Demo files will be loaded only if load demonstration data checked while creating the db

Câu trả lời hay nhất

When you create a new Odoo database, you can check the option "Load demonstration data (Check this box to evaluate Odoo)".

This is where the demo.xml files are used - to add demonstration records so you can understand how the various modules work.

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Guys i didnt understand whether the demo.xml file is not there is it affect my code please clarify me.

Ảnh đại diện
Huỷ bỏ

if there is no demo.xml file ,no problem occurs