[IMP] make fields required in widget res

bzr revid: xmo@openerp.com-20101008083928-30ivjz573xgxykhk
This commit is contained in:
Xavier Morel 2010-10-08 10:39:28 +02:00
parent bae78575c8
commit 560ccd262a
1 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@ class res_widget(osv.osv):
_name = "res.widget"
_rec_name = "title"
_columns = {
'title' : fields.char('Title', size=64),
'content': fields.text('Content')
}
res_widget()
'title' : fields.char('Title', size=64, required=True),
'content': fields.text('Content', required=True)
}
res_widget()