[MOD/IMP] idea, subscription : Improvements in tooltip
bzr revid: vir@tinyerp.com-20100921070736-pdszbx65t36ha1w3
This commit is contained in:
parent
76ca2a7134
commit
523161552e
|
@ -31,15 +31,15 @@
|
|||
<group>
|
||||
<filter icon="terp-go-year" string=" Year "
|
||||
domain="[('date','<=', time.strftime('%%Y-%%m-%%d')),('date','>=',time.strftime('%%Y-01-01'))]"
|
||||
help="Idea Vote created last 365 days"/>
|
||||
help="Idea Vote created in curren year"/>
|
||||
<filter icon="terp-go-month" string=" Month "
|
||||
domain="[('date','<=', time.strftime('%%Y-%%m-%%d')),('date','>=',time.strftime('%%Y-%%m-01'))]"
|
||||
help="Idea Vote created in last 30 days"/>
|
||||
help="Idea Vote created in current month"/>
|
||||
<filter icon="terp-go-month"
|
||||
string=" Month-1 "
|
||||
separator="1"
|
||||
domain="[('date','<=', (datetime.date (int(time.strftime('%%Y')), datetime.date.today().month, 1) - datetime.timedelta (days = 1)).strftime('%%Y-%%m-%%d')),('date','>',(datetime.date (int(time.strftime('%%Y')), datetime.date.today().month-1, 1)).strftime('%%Y-%%m-%%d'))]"
|
||||
help="Idea Vote created last 7 days"/>
|
||||
help="Idea Vote created last month"/>
|
||||
<separator orientation="vertical"/>
|
||||
<filter icon="terp-go-today"
|
||||
string=" Today "
|
||||
|
@ -60,12 +60,12 @@
|
|||
domain="[('idea_state','=',('cancel'))]"/>
|
||||
<separator orientation="vertical"/>
|
||||
<field name="idea_id" string="Idea"/>
|
||||
<field name="creater_id" string="creater"/>
|
||||
<field name="creater_id" string="creator"/>
|
||||
<field name="user_id"/>
|
||||
</group>
|
||||
<newline/>
|
||||
<group expand="0" string="Group By..." colspan="10" col="12">
|
||||
<filter string="creater" icon="terp-personal" context="{'group_by':'creater_id'}"/>
|
||||
<filter string="creator" icon="terp-personal" context="{'group_by':'creater_id'}"/>
|
||||
<filter string="User" icon="terp-personal" name="User" context="{'group_by':'user_id'}"/>
|
||||
<separator orientation="vertical"/>
|
||||
<filter string="Idea" icon="terp-idea" context="{'group_by':'idea_id'}"/>
|
||||
|
|
|
@ -53,7 +53,7 @@ class subscription_document_fields(osv.osv):
|
|||
_rec_name = 'field'
|
||||
_columns = {
|
||||
'field': fields.many2one('ir.model.fields', 'Field', domain="[('model_id', '=', parent.model)]", required=True),
|
||||
'value': fields.selection([('false','False'),('date','Current Date')], 'Default Value', size=40, help="User can set new values for the field when new document is generated"),
|
||||
'value': fields.selection([('false','False'),('date','Current Date')], 'Default Value', size=40, help="Default value is considered for field when new document is generated."),
|
||||
'document_id': fields.many2one('subscription.document', 'Subscription Document', ondelete='cascade'),
|
||||
}
|
||||
_defaults = {}
|
||||
|
@ -79,7 +79,7 @@ class subscription_subscription(osv.osv):
|
|||
'state': fields.selection([('draft','Draft'),('running','Running'),('done','Done')], 'State'),
|
||||
'doc_source': fields.reference('Source Document', required=True, selection=_get_document_types, size=128, help="User can choose the source document on which he wants to create documents"),
|
||||
'doc_lines': fields.one2many('subscription.subscription.history', 'subscription_id', 'Documents created', readonly=True),
|
||||
'cron_id': fields.many2one('ir.cron', 'Cron Job', help="Scheduler which run on subscription"),
|
||||
'cron_id': fields.many2one('ir.cron', 'Cron Job', help="Scheduler which runs on subscription"),
|
||||
'note': fields.text('Notes', help="Description or Summary of Subscription"),
|
||||
}
|
||||
_defaults = {
|
||||
|
|
Loading…
Reference in New Issue