Files
odoo_source/addons/website/models/web_planner.py
T
Darshan Kalola 50a043d979 [IMP] website, website_sale, crm, web_planner : add planner for website modules
This commit impact crm, website, website_sale and web_planner modules because it
- add planner for website and website_sale
- improve planner notebook by setting texterea and input size to 100% and using col-md-* class
- split js code into common part (used in backend and frontend) and backend part (only for backend)
- adapt some tour, since every page will have the planner modal in its DOM, the tour selectors msut be more accurate
- introduce some style fixes and adaptations
- ...
2015-05-15 10:59:42 +02:00

15 lines
351 B
Python

# -*- coding: utf-8 -*-
import json
from openerp import api, models
class WebsitePlanner(models.Model):
_inherit = 'web.planner'
@api.model
def _get_planner_application(self):
planner = super(WebsitePlanner, self)._get_planner_application()
planner.append(['planner_website', 'Website Planner'])
return planner