Hai Friends ,
Having doubt while creating custom module in OpenERP v7 . The field label not displayed after module install . These are my custom code ..
1. __init__.py
import notebook
2.__openerp__.py
{
"name" : "notebook",
"version" : "0.1",
"author" : "prakash",
"website" : "http://www.test.com/",
"category" : "Generic Modules/Others",
"depends" : ["base"],
"description" : "Simple demo module",
"init_xml" : ["notebook_view.xml"],
"demo_xml" : [],
"update_xml" : [],
"active": False,
"installable": True
}
3.notebook.py
from osv import fields, osv
import time
class notebook(osv.osv):
_name = "notebook"
_description = "Simple Notebook"
_columns = {
'title' : fields.char('Title', size=30, required=True),
'note' : fields.text('Note'),
'note_date' : fields.date('Date'),
}
notebook()
4. notebook_view.xml
notebook.tree notebook tree notebook.form notebook form notebook notebook
AFTER INSTALLATION COMPLETE : MODULE LIKE
http://s1309.photobucket.com/user/omprakashzeabalane/media/image_zps60b15f73.jpg.html
Is there any wrong ? Please clarify my doubt .
Thanks & Regards
OMPRAKASH.A
↧