コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
5418 ビュー

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
アバター
破棄
最善の回答

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

アバター
破棄
著作者

thank you it works

関連投稿 返信 ビュー 活動
2
3月 22
11820
2
1月 18
7965
2
4月 15
11568
1
3月 15
8475
1
11月 24
685