From fe12b146b1ab64971f928e1c882c929632fcaa20 Mon Sep 17 00:00:00 2001 From: houssine Date: Fri, 10 May 2019 18:14:24 +0200 Subject: [PATCH] [IMP] move the website part of easy my coop to a dedicated module --- easy_my_coop_website/__init__.py | 1 + easy_my_coop_website/__manifest__.py | 48 +++++++++++++++++++ .../controllers/__init__.py | 0 .../controllers/main.py | 1 - .../views}/subscription_template.xml | 0 5 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 easy_my_coop_website/__init__.py create mode 100644 easy_my_coop_website/__manifest__.py rename {easy_my_coop => easy_my_coop_website}/controllers/__init__.py (100%) rename {easy_my_coop => easy_my_coop_website}/controllers/main.py (99%) rename {easy_my_coop/view => easy_my_coop_website/views}/subscription_template.xml (100%) diff --git a/easy_my_coop_website/__init__.py b/easy_my_coop_website/__init__.py new file mode 100644 index 0000000..4dfcdd1 --- /dev/null +++ b/easy_my_coop_website/__init__.py @@ -0,0 +1 @@ +from . import controllers diff --git a/easy_my_coop_website/__manifest__.py b/easy_my_coop_website/__manifest__.py new file mode 100644 index 0000000..c96db33 --- /dev/null +++ b/easy_my_coop_website/__manifest__.py @@ -0,0 +1,48 @@ +# Copyright 2013-2018 Open Architects Consulting SPRL. +# Copyright 2018-Coop IT Easy SCRLfs () +# - Houssine BAKKALI - +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). + +{ + "name": "Easy My Coop Website", + "version": "'12.0.1.0.0'", + "depends": ["easy_my_coop", + "website", + "website_form_recaptcha", + ], + "author": "Coop IT Easy SCRLfs", + "category": "Cooperative management", + "website": "www.coopiteasy.be", + "license": "AGPL-3", + "description": """ + This module adds the cooperator subscription form allowing to subscribe for + shares online. + """, + 'data': [ + 'security/easy_my_coop_security.xml', + 'security/ir.model.access.csv', + 'wizard/create_subscription_from_partner.xml', + 'wizard/update_partner_info.xml', + 'wizard/validate_subscription_request.xml', + 'wizard/update_share_line.xml', + 'view/subscription_request_view.xml', + 'view/email_template_view.xml', + 'view/res_partner_view.xml', + 'view/cooperator_register_view.xml', + 'view/operation_request_view.xml', + 'view/account_invoice_view.xml', + # 'view/subscription_template.xml', + 'view/product_view.xml', + 'view/res_company_view.xml', + 'view/account_journal_view.xml', + 'data/easy_my_coop_data.xml', + 'report/easy_my_coop_report.xml', + 'report/cooperator_invoice_G002.xml', + 'report/cooperator_certificat_G001.xml', + 'report/cooperator_subscription_G001.xml', + 'report/cooperator_register_G001.xml', + 'data/mail_template_data.xml', + ], + 'installable': True, + 'application': True, +} diff --git a/easy_my_coop/controllers/__init__.py b/easy_my_coop_website/controllers/__init__.py similarity index 100% rename from easy_my_coop/controllers/__init__.py rename to easy_my_coop_website/controllers/__init__.py diff --git a/easy_my_coop/controllers/main.py b/easy_my_coop_website/controllers/main.py similarity index 99% rename from easy_my_coop/controllers/main.py rename to easy_my_coop_website/controllers/main.py index ce6382c..02eb128 100644 --- a/easy_my_coop/controllers/main.py +++ b/easy_my_coop_website/controllers/main.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- import base64 from datetime import datetime import re diff --git a/easy_my_coop/view/subscription_template.xml b/easy_my_coop_website/views/subscription_template.xml similarity index 100% rename from easy_my_coop/view/subscription_template.xml rename to easy_my_coop_website/views/subscription_template.xml