[IMP] lunch, survery : Improvements
bzr revid: vir@tinyerp.com-20100928131615-nxslnafaf0r4v7ut
This commit is contained in:
parent
8850a41094
commit
6d2e4664e8
|
@ -99,7 +99,7 @@ class lunch_cashmove(osv.osv):
|
|||
'amount': fields.float('Amount', digits=(16, 2)),
|
||||
'box': fields.many2one('lunch.cashbox', 'Box Name', size=30, required=True),
|
||||
'active': fields.boolean('Active'),
|
||||
'create_date': fields.datetime('Created date', readonly=True),
|
||||
'create_date': fields.datetime('Creation Date', readonly=True),
|
||||
}
|
||||
|
||||
_defaults = {
|
||||
|
@ -141,7 +141,7 @@ class lunch_order(osv.osv):
|
|||
'state': fields.selection([('draft', 'Draft'), ('confirmed', 'Confirmed'), ], \
|
||||
'State', readonly=True, select=True),
|
||||
'price': fields.function(_price_get, method=True, string="Price"),
|
||||
'category': fields.many2one('lunch.category','Category',readonly=True),
|
||||
'category': fields.many2one('lunch.category','Category'),
|
||||
}
|
||||
|
||||
_defaults = {
|
||||
|
|
|
@ -265,7 +265,7 @@
|
|||
<field name="title" select="1"/>
|
||||
<field name="type" select="1" widget="selection"/>
|
||||
<field name="responsible_id" select="1" default="1">
|
||||
<filter string="MY" icon="terp-partner" domain="[('responsible_id','=',uid)]"/>
|
||||
<filter string="MY" icon="terp-personal" domain="[('responsible_id','=',uid)]" help="My Survey(s)"/>
|
||||
</field>
|
||||
</group>
|
||||
<newline/>
|
||||
|
|
Loading…
Reference in New Issue