Also removed some dead code, fixed views, and changed deprecated dependency on HR module to CRM module. The latter was only used to select a department, i.e. a group of users. Using sales teams from CRM is more suited, as the goal is to make Sales Forecast. bzr revid: odo@openerp.com-20110916203230-pm5qtmbmw6x5lfg2