summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsbh (Open ERP) <sbh@tinyerp.com>2010-06-03 16:00:23 +0530
committersbh (Open ERP) <sbh@tinyerp.com>2010-06-03 16:00:23 +0530
commita94a5a9266c0b090b6b25e1702de6926155fe112 (patch)
tree0e500ed0f380b7c9e60d1521870028eb3bd98f75
parent52528cc984065aa3a90ae912abadc6aa96359a49 (diff)
[IMP] sale_margin: Move the report file in folder
bzr revid: sbh@tinyerp.com-20100603103023-u0bcuwh4fpcoswfh
-rw-r--r--addons/sale_margin/__init__.py2
-rw-r--r--addons/sale_margin/__openerp__.py (renamed from addons/sale_margin/__terp__.py)0
-rw-r--r--addons/sale_margin/report/__init__.py23
-rw-r--r--addons/sale_margin/report/report_margin.py (renamed from addons/sale_margin/report_margin.py)0
-rw-r--r--addons/sale_margin/report/report_margin_view.xml (renamed from addons/sale_margin/report_margin_view.xml)0
-rw-r--r--addons/sale_margin/security/ir.model.access.csv4
6 files changed, 24 insertions, 5 deletions
diff --git a/addons/sale_margin/__init__.py b/addons/sale_margin/__init__.py
index 9cb3c8383e8..ff24fd198d9 100644
--- a/addons/sale_margin/__init__.py
+++ b/addons/sale_margin/__init__.py
@@ -19,7 +19,7 @@
##############################################################################
import invoice_margin
-import report_margin
+import report
import sale_margin
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/sale_margin/__terp__.py b/addons/sale_margin/__openerp__.py
index 5b1b6ac8c60..5b1b6ac8c60 100644
--- a/addons/sale_margin/__terp__.py
+++ b/addons/sale_margin/__openerp__.py
diff --git a/addons/sale_margin/report/__init__.py b/addons/sale_margin/report/__init__.py
new file mode 100644
index 00000000000..2ec61a1e939
--- /dev/null
+++ b/addons/sale_margin/report/__init__.py
@@ -0,0 +1,23 @@
+# -*- coding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+import report_margin
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/sale_margin/report_margin.py b/addons/sale_margin/report/report_margin.py
index a318a6c17b8..a318a6c17b8 100644
--- a/addons/sale_margin/report_margin.py
+++ b/addons/sale_margin/report/report_margin.py
diff --git a/addons/sale_margin/report_margin_view.xml b/addons/sale_margin/report/report_margin_view.xml
index b22c2e28801..b22c2e28801 100644
--- a/addons/sale_margin/report_margin_view.xml
+++ b/addons/sale_margin/report/report_margin_view.xml
diff --git a/addons/sale_margin/security/ir.model.access.csv b/addons/sale_margin/security/ir.model.access.csv
index 77b73303ec8..6cab8a4c33d 100644
--- a/addons/sale_margin/security/ir.model.access.csv
+++ b/addons/sale_margin/security/ir.model.access.csv
@@ -1,6 +1,2 @@
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
"access_report_account_invoice_product","report.account.invoice.product","model_report_account_invoice_product","account.group_account_invoice",1,1,1,1
-"access_report_account_invoice_category","report.account.invoice.category","model_report_account_invoice_category","account.group_account_invoice",1,1,1,1
-"access_report_account_invoice_partner","report.account.invoice.partner","model_report_account_invoice_partner","account.group_account_invoice",1,1,1,1
-"access_report_account_invoice_partner_product","report.account.invoice.partner.product","model_report_account_invoice_partner_product","account.group_account_invoice",1,1,1,1
-"access_report_account_invoice","report.account.invoice","model_report_account_invoice","account.group_account_invoice",1,1,1,1