[IMP] small fix
bzr revid: fp@openerp.com-20120806200710-mkqimou9tdz8h6f2
This commit is contained in:
parent
6ff3e790ec
commit
de4fb4d740
|
@ -1325,6 +1325,12 @@ class account_analytic_account(osv.osv):
|
||||||
raise osv.except_osv(_('Warning !'), _('Please delete the project linked with this account first.'))
|
raise osv.except_osv(_('Warning !'), _('Please delete the project linked with this account first.'))
|
||||||
return super(account_analytic_account, self).unlink(cr, uid, ids, *args, **kwargs)
|
return super(account_analytic_account, self).unlink(cr, uid, ids, *args, **kwargs)
|
||||||
|
|
||||||
|
class project_project(osv.osv):
|
||||||
|
_inherit = 'project.project'
|
||||||
|
_defaults = {
|
||||||
|
'use_tasks': True
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Tasks History, used for cumulative flow charts (Lean/Agile)
|
# Tasks History, used for cumulative flow charts (Lean/Agile)
|
||||||
|
|
|
@ -591,4 +591,10 @@ class account_analytic_account(osv.osv):
|
||||||
|
|
||||||
account_analytic_account()
|
account_analytic_account()
|
||||||
|
|
||||||
|
class project_project(osv.osv):
|
||||||
|
_inherit = 'project.project'
|
||||||
|
_defaults = {
|
||||||
|
'use_issues': True
|
||||||
|
}
|
||||||
|
|
||||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||||
|
|
Loading…
Reference in New Issue