Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
2743 มุมมอง

In esale_joomla module in openerp 5,I change some code in that file for need to install in openerp 7 from wizard folder py files it is showing errors.

Please any one help me.

 

class wiz_export(osv.osv_memory):
    states = {
        'init': {
            'actions': [_export_setup],
            'result': {
                'type': 'form',
                'arch': _export_select_form,
                'fields': _export_select_fields,
                'state': [('export', 'Export', 'gtk-execute'), ('end', 'Cancel', 'gtk-cancel')],
            },
        },
        'export': {
            'actions': [_export_from_shop],
            'result': {
                'type': 'form',
                'arch': _export_done_form,
                'fields': _export_done_fields,
                'state': [('end', 'End')],
            },
        },
    }

wiz_export()

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

You are using the wrong API.  The wizard API has changed since version 6.1.  You will need to rewrite the wizard with the current API.

 

Regards,

Jos

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Hi Jos De Graeve

Where I can get that API, can you please provide any link.

อวตาร
ละทิ้ง