Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
5742 Zobrazení

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
Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Autor

thank you it works

Related Posts Odpovědi Zobrazení Aktivita
1
čvn 25
387
2
bře 22
12089
2
led 18
8210
2
dub 15
11919
1
bře 15
8780