Browse Source

Removed unused security, controllers.py and demo.xml

pull/3/head
x620 9 years ago
parent
commit
3c4d5f8f4f
  1. 1
      res_partner_mails_count/__init__.py
  2. 4
      res_partner_mails_count/__openerp__.py
  3. 20
      res_partner_mails_count/controllers.py
  4. 25
      res_partner_mails_count/demo.xml
  5. 2
      res_partner_mails_count/security/ir.model.access.csv

1
res_partner_mails_count/__init__.py

@ -1,3 +1,2 @@
# -*- coding: utf-8 -*-
import controllers
import models

4
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',
],
}

20
res_partner_mails_count/controllers.py

@ -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/<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
# })

25
res_partner_mails_count/demo.xml

@ -1,25 +0,0 @@
<openerp>
<data>
<!-- -->
<!-- <record id="object0" model="res_partner_mails_count.res_partner_mails_count"> -->
<!-- <field name="name">Object 0</field> -->
<!-- </record> -->
<!-- -->
<!-- <record id="object1" model="res_partner_mails_count.res_partner_mails_count"> -->
<!-- <field name="name">Object 1</field> -->
<!-- </record> -->
<!-- -->
<!-- <record id="object2" model="res_partner_mails_count.res_partner_mails_count"> -->
<!-- <field name="name">Object 2</field> -->
<!-- </record> -->
<!-- -->
<!-- <record id="object3" model="res_partner_mails_count.res_partner_mails_count"> -->
<!-- <field name="name">Object 3</field> -->
<!-- </record> -->
<!-- -->
<!-- <record id="object4" model="res_partner_mails_count.res_partner_mails_count"> -->
<!-- <field name="name">Object 4</field> -->
<!-- </record> -->
<!-- -->
</data>
</openerp>

2
res_partner_mails_count/security/ir.model.access.csv

@ -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
Loading…
Cancel
Save