- clean the planner style - add specific class per planner crm (avoiding collisions) - create .o_planner_white_box class used in all planners - add planner for project module
14 lines
339 B
Python
14 lines
339 B
Python
# -*- coding: utf-8 -*-
|
|
from openerp import api, models
|
|
|
|
|
|
class PlannerProject(models.Model):
|
|
|
|
_inherit = 'web.planner'
|
|
|
|
@api.model
|
|
def _get_planner_application(self):
|
|
planner = super(PlannerProject, self)._get_planner_application()
|
|
planner.append(['planner_project', 'Project Planner'])
|
|
return planner
|