[IMP] make fields required in widget res
bzr revid: xmo@openerp.com-20101008083928-30ivjz573xgxykhk
This commit is contained in:
parent
bae78575c8
commit
560ccd262a
|
@ -25,7 +25,7 @@ class res_widget(osv.osv):
|
||||||
_name = "res.widget"
|
_name = "res.widget"
|
||||||
_rec_name = "title"
|
_rec_name = "title"
|
||||||
_columns = {
|
_columns = {
|
||||||
'title' : fields.char('Title', size=64),
|
'title' : fields.char('Title', size=64, required=True),
|
||||||
'content': fields.text('Content')
|
'content': fields.text('Content', required=True)
|
||||||
}
|
}
|
||||||
res_widget()
|
res_widget()
|
||||||
|
|
Loading…
Reference in New Issue