Odoo Help
Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM
|
e-Commerce
|
Accounting
|
Inventory
|
PoS
|
Project management
|
MRP
|
etc.
ValueError The class wiz_export has to have a _name attribute
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()
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.
RegisterOdoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.
Test it nowQuestion tools
Stats
Asked: 5/22/14, 7:16 AM |
Seen: 778 times |
Last updated: 3/16/15, 8:10 AM |