Hi I am trying to create a simple filed in my custom openerp 7 module. I am using win 7 and eclipse IDE. But the problem is when I am creating my .py file as my code is as follows
" from openerp.osv import fields,osv
import time
class formview(osv.osv):
_columns = {'name': fields.char('name',size=64) }
formview() "
I am receiving an error
" _columns = {'name': fields.char('name',size=64) }
^
IndentationError: expected an indented block "
What am I missing I dont know . Plz guide me as I am new to openerp and python.
Hopes for suggestion