From 3c4d5f8f4f5d9cc67b29647cfaa0be744deda3f8 Mon Sep 17 00:00:00 2001 From: x620 Date: Thu, 24 Mar 2016 10:44:13 +0500 Subject: [PATCH] Removed unused security, controllers.py and demo.xml --- res_partner_mails_count/__init__.py | 1 - res_partner_mails_count/__openerp__.py | 4 --- res_partner_mails_count/controllers.py | 20 --------------- res_partner_mails_count/demo.xml | 25 ------------------- .../security/ir.model.access.csv | 2 -- 5 files changed, 52 deletions(-) delete mode 100644 res_partner_mails_count/controllers.py delete mode 100644 res_partner_mails_count/demo.xml delete mode 100644 res_partner_mails_count/security/ir.model.access.csv diff --git a/res_partner_mails_count/__init__.py b/res_partner_mails_count/__init__.py index c7a6ca6..0f7cb6b 100644 --- a/res_partner_mails_count/__init__.py +++ b/res_partner_mails_count/__init__.py @@ -1,3 +1,2 @@ # -*- coding: utf-8 -*- -import controllers import models \ No newline at end of file diff --git a/res_partner_mails_count/__openerp__.py b/res_partner_mails_count/__openerp__.py index 0af6711..1d71078 100644 --- a/res_partner_mails_count/__openerp__.py +++ b/res_partner_mails_count/__openerp__.py @@ -28,8 +28,4 @@ 'views/res_partner_mails_count.xml', 'templates.xml', ], - # only loaded in demonstration mode - 'demo': [ - 'demo.xml', - ], } \ No newline at end of file diff --git a/res_partner_mails_count/controllers.py b/res_partner_mails_count/controllers.py deleted file mode 100644 index a1262c1..0000000 --- a/res_partner_mails_count/controllers.py +++ /dev/null @@ -1,20 +0,0 @@ -# -*- 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//', auth='public') -# def object(self, obj, **kw): -# return http.request.render('res_partner_mails_count.object', { -# 'object': obj -# }) \ No newline at end of file diff --git a/res_partner_mails_count/demo.xml b/res_partner_mails_count/demo.xml deleted file mode 100644 index 94953d2..0000000 --- a/res_partner_mails_count/demo.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/res_partner_mails_count/security/ir.model.access.csv b/res_partner_mails_count/security/ir.model.access.csv deleted file mode 100644 index 99d8f27..0000000 --- a/res_partner_mails_count/security/ir.model.access.csv +++ /dev/null @@ -1,2 +0,0 @@ -id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink -access_res_partner_mails_count_res_partner_mails_count,res_partner_mails_count.res_partner_mails_count,model_res_partner_mails_count_res_partner_mails_count,,1,0,0,0 \ No newline at end of file