I'm going through the python development tutorial, and i'm trying to add some demo data to my real estate module. I have created a demo.xml file inside a separate directory 'demo' inside my module, and added the path inside the manifest file under the key 'demo'. the issue is, the demo file is not being loaded, I even checked the log while initiating the odoo session; all the files are being loaded but not the demo file as if i did not mention it at all inside the manifest file.
'name':'estate',
'application': True,
'installable':True,
'depends':['base'],
'category':'Real Estate/Brokerage',
'data':[
'./security/estate_security.xml',
'./security/ir.model.access.csv',
'./views/estate_property_views.xml',
'./views/property_type_views.xml',
'./views/property_tag_views.xml',
'./views/property_offer_views.xml',
'./views/estate_menus.xml',
'./views/res_users_inherited_view.xml',
'./data/estate.property.type.csv',
'./demo/demo.xml'
]
}
I'm using the following shell command to launch the odoo session:
./odoo --addons-path='/home/user/odoo_src/odoo/addons','/home/user/odoo_src/custom' -d rd-demo -u estate,estate_account --dev xml
What would the issue be? (NOTE: using Odoo 16.0)
When you created the DB did you select demo data check box?