[IMP]improve code and add tooltip on task_management

bzr revid: sgo@tinyerp.com-20120625063233-9w7pf3eg16ok4kyj
This commit is contained in:
Sanjay Gohel (Open ERP) 2012-06-25 12:02:33 +05:30
parent 96a7642669
commit fdc196343f
2 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ class account_analytic_account(osv.osv):
if template_id and 'value' in res:
template = self.browse(cr, uid, template_id, context=context)
res['value']['charge_expenses'] = template.charge_expenses
res['value']['expense_max'] = template.expense_max
res['value']['est_expenses'] = template.est_expenses
return res
def open_hr_expense(self, cr, uid, ids, context=None):

View File

@ -1219,7 +1219,7 @@ class account_analytic_account(osv.osv):
_inherit = 'account.analytic.account'
_description = 'Analytic Account'
_columns = {
'use_tasks': fields.boolean('Tasks Management'),
'use_tasks': fields.boolean('Tasks Management',help="If check,this contract will be available in the project menu and you will be able to manage tasks or track issues"),
'company_uom_id': fields.related('company_id', 'project_time_mode_id', type='many2one', relation='product.uom'),
}