Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
6044 Vizualizări

I have created the demo_xml file to load the data and also added in openerp.py file but its loading demodata what to do?

'data': [
    'wizard/wizard_ecommerce_mailsend_finish_view.xml',
    'wizard/wizard_mailsend_view.xml',
    #'ecommerce_wizard.xml',
    'ecommerce_view.xml',
    'partner/partner_view.xml',
    'catalog/catalog_view.xml',       
    'sale_order/sale_order_view.xml',
    'sale_order/sale_order_sequence.xml',
    'ecommerce_report.xml', 
    'security/ir.model.access.csv'
],
'demo': ['ecommerce_demo.xml'],
'installable': True,
'active': False
Imagine profil
Abandonează
Cel mai bun răspuns

Hi Mr. Maniganda

you can put your demo.xml inside update_xml parameter in __openerp__.py (OpenERP decriptor)

'update_xml': ['your_view.xml','your_demo.xml'],

thanks

Imagine profil
Abandonează
Autor

thank you it works

Related Posts Răspunsuri Vizualizări Activitate
1
iun. 25
757
2
mar. 22
12407
2
ian. 18
8520
2
apr. 15
12433
1
mar. 15
9073