You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
939 B

# -*- coding: utf-8 -*-
from openerp import http
# class ResPartnerMailsCount(http.Controller):
# @http.route('/res_partner_mails_count/res_partner_mails_count/', auth='public')
# def index(self, **kw):
# return "Hello, world"
# @http.route('/res_partner_mails_count/res_partner_mails_count/objects/', auth='public')
# def list(self, **kw):
# return http.request.render('res_partner_mails_count.listing', {
# 'root': '/res_partner_mails_count/res_partner_mails_count',
# 'objects': http.request.env['res_partner_mails_count.res_partner_mails_count'].search([]),
# })
# @http.route('/res_partner_mails_count/res_partner_mails_count/objects/<model("res_partner_mails_count.res_partner_mails_count"):obj>/', auth='public')
# def object(self, obj, **kw):
# return http.request.render('res_partner_mails_count.object', {
# 'object': obj
# })