diff --git a/membership_card/README.rst b/membership_card/README.rst deleted file mode 100644 index 24cfb797d..000000000 --- a/membership_card/README.rst +++ /dev/null @@ -1,50 +0,0 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/AGPL-3.0-standalone.html - :alt: License: AGPL-3 - -Membership Card -================================= -This module helps you to print membership card. - -Configuration -============= -* No additional configurations needed - -Company -------- -* `Cybrosys Techno Solutions `__ - -License -------- -General Public License, Version 3 (AGPL v3). -(https://www.odoo.com/documentation/user/16.0/legal/licenses/licenses.html) - -Credits -------- -* Developers: Cybrosys Techno Solutions odoo@cybrosys.com - Version 16: Rahna Rasheed @cybrosys - - -Contacts --------- -* Mail Contact : odoo@cybrosys.com -* Website : https://cybrosys.com - -Bug Tracker ------------ -Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. - -Maintainer -========== -.. image:: https://cybrosys.com/images/logo.png - :target: https://cybrosys.com - -This module is maintained by Cybrosys Technologies. - -For support and more information, please visit `Our Website `__ - -Further information -=================== -HTML Description: ``__ - - diff --git a/membership_card/__init__.py b/membership_card/__init__.py deleted file mode 100644 index 44cf08ee1..000000000 --- a/membership_card/__init__.py +++ /dev/null @@ -1,22 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2023-TODAY Cybrosys Technologies() -# Author: Rahna Rasheed () -# -# You can modify it under the terms of the GNU AFFERO -# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. -# -# 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 (AGPL v3) for more details. -# -# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE -# (AGPL v3) along with this program. -# If not, see . -# -############################################################################# -from . import models diff --git a/membership_card/__manifest__.py b/membership_card/__manifest__.py deleted file mode 100644 index 16c32703c..000000000 --- a/membership_card/__manifest__.py +++ /dev/null @@ -1,49 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2023-TODAY Cybrosys Technologies() -# Author: Rahna Rasheed () -# -# You can modify it under the terms of the GNU AFFERO -# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. -# -# 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 (AGPL v3) for more details. -# -# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE -# (AGPL v3) along with this program. -# If not, see . -# -############################################################################# -{ - 'name': 'Membership Card', - 'version': "16.0.1.0.0", - 'category': 'Extra Tools', - 'summary': """Print Membership Card either with membership - product or free member""", - 'description': """This module helps to Print Membership Card - wisely if customer is having - membership product it will print card according to membership - product if not it will print card as free member.""", - 'author': 'Cybrosys Techno Solutions', - 'company': 'Cybrosys Techno Solutions', - 'maintainer': 'Cybrosys Techno Solutions', - 'website': 'https://www.cybrosys.com', - 'license': 'AGPL-3', - 'depends': [ - 'base', - 'membership', - ], - 'data': [ - 'report/membership_card.xml', - 'views/res_partner_views.xml', - ], - 'images': ['static/description/banner.png'], - 'installable': True, - 'auto_install': False, - 'application': False, -} diff --git a/membership_card/doc/RELEASE_NOTES.md b/membership_card/doc/RELEASE_NOTES.md deleted file mode 100644 index 40664d9fe..000000000 --- a/membership_card/doc/RELEASE_NOTES.md +++ /dev/null @@ -1,11 +0,0 @@ -## Module - -#### 06.04.2023 -#### Version 16.0.1.0.0 -#### ADD -Initial Commit for Membership Card - - - - - diff --git a/membership_card/models/__init__.py b/membership_card/models/__init__.py deleted file mode 100644 index 2a9f0c7b7..000000000 --- a/membership_card/models/__init__.py +++ /dev/null @@ -1,22 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2023-TODAY Cybrosys Technologies() -# Author: Rahna Rasheed () -# -# You can modify it under the terms of the GNU AFFERO -# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. -# -# 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 (AGPL v3) for more details. -# -# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE -# (AGPL v3) along with this program. -# If not, see . -# -############################################################################# -from . import res_partner diff --git a/membership_card/models/res_partner.py b/membership_card/models/res_partner.py deleted file mode 100644 index b183d4f66..000000000 --- a/membership_card/models/res_partner.py +++ /dev/null @@ -1,67 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################# -# -# Cybrosys Technologies Pvt. Ltd. -# -# Copyright (C) 2023-TODAY Cybrosys Technologies() -# Author: Rahna Rasheed () -# -# You can modify it under the terms of the GNU AFFERO -# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. -# -# 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 (AGPL v3) for more details. -# -# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE -# (AGPL v3) along with this program. -# If not, see . -# -############################################################################# -from odoo import fields, models -from odoo.exceptions import ValidationError - - -class ResPartner(models.Model): - """ Inherit the res. partner to make existing field required. """ - _inherit = 'res.partner' - - image_1920 = fields.Image(max_width=1920, max_height=1920, - required=True, string="Image", - help="The field hold the image of customer") - phone = fields.Char(unaccent=False, required=True, - string="Phone", - help="The field hold the phone number of customer") - function = fields.Char(string='Job Position', - help="The field hold the job position of customer") - - def server_action_get_card(self): - """ Used to fetch data from res. partner to pass in template""" - partner_id = self.env['res.partner'] \ - .browse(self.env.context.get('active_ids')) - company_id = self.env.company - if self.free_member or partner_id.member_lines: - data = { - 'name': partner_id.name, - 'image': partner_id.image_1920, - 'phone': partner_id.phone, - 'function': partner_id.function, - 'free_member': partner_id.free_member, - 'membership_product': partner_id.member_lines. - mapped('membership_id.name'), - 'start_date': partner_id.membership_start, - 'end_date': partner_id.membership_stop, - 'company_name': company_id.name, - 'company_address': company_id.street, - 'city': company_id.city, - 'country': company_id.country_id.name, - 'state': company_id.state_id.name, - 'company_email': company_id.email, - 'company_phone': company_id.phone, - 'website': company_id.website, - } - return self.env.ref('membership_card.action_membership_card').\ - report_action(None, data=data) - else: - raise ValidationError('Need to buy membership inorder to print membership card') diff --git a/membership_card/report/membership_card.xml b/membership_card/report/membership_card.xml deleted file mode 100644 index d38b65755..000000000 --- a/membership_card/report/membership_card.xml +++ /dev/null @@ -1,132 +0,0 @@ - - - - - Custom Paper - - custom - 95 - 60 - Landscape - 5.00 - 5.00 - 5.0 - 5.0 - - 35 - 125 - - - Membership Card - res.partner - qweb-pdf - membership_card.print_member_ship_card - membership_card.print_member_ship_card - - - - - \ No newline at end of file diff --git a/membership_card/static/description/assets/icons/check.png b/membership_card/static/description/assets/icons/check.png deleted file mode 100644 index c8e85f51d..000000000 Binary files a/membership_card/static/description/assets/icons/check.png and /dev/null differ diff --git a/membership_card/static/description/assets/icons/chevron.png b/membership_card/static/description/assets/icons/chevron.png deleted file mode 100644 index 2089293d6..000000000 Binary files a/membership_card/static/description/assets/icons/chevron.png and /dev/null differ diff --git a/membership_card/static/description/assets/icons/cogs.png b/membership_card/static/description/assets/icons/cogs.png deleted file mode 100644 index 95d0bad62..000000000 Binary files a/membership_card/static/description/assets/icons/cogs.png and /dev/null differ diff --git a/membership_card/static/description/assets/icons/consultation.png b/membership_card/static/description/assets/icons/consultation.png deleted file mode 100644 index 8319d4baa..000000000 Binary files a/membership_card/static/description/assets/icons/consultation.png and /dev/null differ diff --git a/membership_card/static/description/assets/icons/ecom-black.png b/membership_card/static/description/assets/icons/ecom-black.png deleted file mode 100644 index a9385ff13..000000000 Binary files a/membership_card/static/description/assets/icons/ecom-black.png and /dev/null differ diff --git a/membership_card/static/description/assets/icons/education-black.png b/membership_card/static/description/assets/icons/education-black.png deleted file mode 100644 index 3eb09b27b..000000000 Binary files a/membership_card/static/description/assets/icons/education-black.png and /dev/null differ diff --git a/membership_card/static/description/assets/icons/hotel-black.png b/membership_card/static/description/assets/icons/hotel-black.png deleted file mode 100644 index 130f613be..000000000 Binary files a/membership_card/static/description/assets/icons/hotel-black.png and /dev/null differ diff --git a/membership_card/static/description/assets/icons/license.png b/membership_card/static/description/assets/icons/license.png deleted file mode 100644 index a5869797e..000000000 Binary files a/membership_card/static/description/assets/icons/license.png and /dev/null differ diff --git a/membership_card/static/description/assets/icons/lifebuoy.png b/membership_card/static/description/assets/icons/lifebuoy.png deleted file mode 100644 index 658d56ccc..000000000 Binary files a/membership_card/static/description/assets/icons/lifebuoy.png and /dev/null differ diff --git a/membership_card/static/description/assets/icons/manufacturing-black.png b/membership_card/static/description/assets/icons/manufacturing-black.png deleted file mode 100644 index 697eb0e9f..000000000 Binary files a/membership_card/static/description/assets/icons/manufacturing-black.png and /dev/null differ diff --git a/membership_card/static/description/assets/icons/pos-black.png b/membership_card/static/description/assets/icons/pos-black.png deleted file mode 100644 index 97c0f90c1..000000000 Binary files a/membership_card/static/description/assets/icons/pos-black.png and /dev/null differ diff --git a/membership_card/static/description/assets/icons/puzzle.png b/membership_card/static/description/assets/icons/puzzle.png deleted file mode 100644 index 65cf854e7..000000000 Binary files a/membership_card/static/description/assets/icons/puzzle.png and /dev/null differ diff --git a/membership_card/static/description/assets/icons/restaurant-black.png b/membership_card/static/description/assets/icons/restaurant-black.png deleted file mode 100644 index 4a35eb939..000000000 Binary files a/membership_card/static/description/assets/icons/restaurant-black.png and /dev/null differ diff --git a/membership_card/static/description/assets/icons/service-black.png b/membership_card/static/description/assets/icons/service-black.png deleted file mode 100644 index 301ab51cb..000000000 Binary files a/membership_card/static/description/assets/icons/service-black.png and /dev/null differ diff --git a/membership_card/static/description/assets/icons/trading-black.png b/membership_card/static/description/assets/icons/trading-black.png deleted file mode 100644 index 9398ba2f1..000000000 Binary files a/membership_card/static/description/assets/icons/trading-black.png and /dev/null differ diff --git a/membership_card/static/description/assets/icons/training.png b/membership_card/static/description/assets/icons/training.png deleted file mode 100644 index 884ca024d..000000000 Binary files a/membership_card/static/description/assets/icons/training.png and /dev/null differ diff --git a/membership_card/static/description/assets/icons/update.png b/membership_card/static/description/assets/icons/update.png deleted file mode 100644 index ecbc5a01a..000000000 Binary files a/membership_card/static/description/assets/icons/update.png and /dev/null differ diff --git a/membership_card/static/description/assets/icons/user.png b/membership_card/static/description/assets/icons/user.png deleted file mode 100644 index 6ffb23d9f..000000000 Binary files a/membership_card/static/description/assets/icons/user.png and /dev/null differ diff --git a/membership_card/static/description/assets/icons/wrench.png b/membership_card/static/description/assets/icons/wrench.png deleted file mode 100644 index 6c04dea0f..000000000 Binary files a/membership_card/static/description/assets/icons/wrench.png and /dev/null differ diff --git a/membership_card/static/description/assets/misc/categories.png b/membership_card/static/description/assets/misc/categories.png deleted file mode 100644 index bedf1e0b1..000000000 Binary files a/membership_card/static/description/assets/misc/categories.png and /dev/null differ diff --git a/membership_card/static/description/assets/misc/check-box.png b/membership_card/static/description/assets/misc/check-box.png deleted file mode 100644 index 42caf24b9..000000000 Binary files a/membership_card/static/description/assets/misc/check-box.png and /dev/null differ diff --git a/membership_card/static/description/assets/misc/compass.png b/membership_card/static/description/assets/misc/compass.png deleted file mode 100644 index d5fed8faa..000000000 Binary files a/membership_card/static/description/assets/misc/compass.png and /dev/null differ diff --git a/membership_card/static/description/assets/misc/corporate.png b/membership_card/static/description/assets/misc/corporate.png deleted file mode 100644 index 2eb13edbf..000000000 Binary files a/membership_card/static/description/assets/misc/corporate.png and /dev/null differ diff --git a/membership_card/static/description/assets/misc/customer-support.png b/membership_card/static/description/assets/misc/customer-support.png deleted file mode 100644 index 79efc72ed..000000000 Binary files a/membership_card/static/description/assets/misc/customer-support.png and /dev/null differ diff --git a/membership_card/static/description/assets/misc/cybrosys-logo.png b/membership_card/static/description/assets/misc/cybrosys-logo.png deleted file mode 100644 index cc3cc0ccf..000000000 Binary files a/membership_card/static/description/assets/misc/cybrosys-logo.png and /dev/null differ diff --git a/membership_card/static/description/assets/misc/features.png b/membership_card/static/description/assets/misc/features.png deleted file mode 100644 index b41769f77..000000000 Binary files a/membership_card/static/description/assets/misc/features.png and /dev/null differ diff --git a/membership_card/static/description/assets/misc/logo.png b/membership_card/static/description/assets/misc/logo.png deleted file mode 100644 index 478462d3e..000000000 Binary files a/membership_card/static/description/assets/misc/logo.png and /dev/null differ diff --git a/membership_card/static/description/assets/misc/pictures.png b/membership_card/static/description/assets/misc/pictures.png deleted file mode 100644 index 56d255fe9..000000000 Binary files a/membership_card/static/description/assets/misc/pictures.png and /dev/null differ diff --git a/membership_card/static/description/assets/misc/pie-chart.png b/membership_card/static/description/assets/misc/pie-chart.png deleted file mode 100644 index 426e05244..000000000 Binary files a/membership_card/static/description/assets/misc/pie-chart.png and /dev/null differ diff --git a/membership_card/static/description/assets/misc/right-arrow.png b/membership_card/static/description/assets/misc/right-arrow.png deleted file mode 100644 index 730984a06..000000000 Binary files a/membership_card/static/description/assets/misc/right-arrow.png and /dev/null differ diff --git a/membership_card/static/description/assets/misc/star.png b/membership_card/static/description/assets/misc/star.png deleted file mode 100644 index 2eb9ab29f..000000000 Binary files a/membership_card/static/description/assets/misc/star.png and /dev/null differ diff --git a/membership_card/static/description/assets/misc/support.png b/membership_card/static/description/assets/misc/support.png deleted file mode 100644 index 4f18b8b82..000000000 Binary files a/membership_card/static/description/assets/misc/support.png and /dev/null differ diff --git a/membership_card/static/description/assets/misc/whatsapp.png b/membership_card/static/description/assets/misc/whatsapp.png deleted file mode 100644 index d513a5356..000000000 Binary files a/membership_card/static/description/assets/misc/whatsapp.png and /dev/null differ diff --git a/membership_card/static/description/assets/modules/1.png b/membership_card/static/description/assets/modules/1.png deleted file mode 100644 index 489f44e86..000000000 Binary files a/membership_card/static/description/assets/modules/1.png and /dev/null differ diff --git a/membership_card/static/description/assets/modules/2.png b/membership_card/static/description/assets/modules/2.png deleted file mode 100644 index fd1f87699..000000000 Binary files a/membership_card/static/description/assets/modules/2.png and /dev/null differ diff --git a/membership_card/static/description/assets/modules/3.png b/membership_card/static/description/assets/modules/3.png deleted file mode 100644 index 5514bb8d4..000000000 Binary files a/membership_card/static/description/assets/modules/3.png and /dev/null differ diff --git a/membership_card/static/description/assets/modules/4.png b/membership_card/static/description/assets/modules/4.png deleted file mode 100644 index b55ddc812..000000000 Binary files a/membership_card/static/description/assets/modules/4.png and /dev/null differ diff --git a/membership_card/static/description/assets/modules/5.png b/membership_card/static/description/assets/modules/5.png deleted file mode 100644 index 347c97957..000000000 Binary files a/membership_card/static/description/assets/modules/5.png and /dev/null differ diff --git a/membership_card/static/description/assets/modules/6.png b/membership_card/static/description/assets/modules/6.png deleted file mode 100644 index ac5cbdc80..000000000 Binary files a/membership_card/static/description/assets/modules/6.png and /dev/null differ diff --git a/membership_card/static/description/assets/screenshots/hero.gif b/membership_card/static/description/assets/screenshots/hero.gif deleted file mode 100644 index 2a1c21577..000000000 Binary files a/membership_card/static/description/assets/screenshots/hero.gif and /dev/null differ diff --git a/membership_card/static/description/assets/screenshots/membership_card_01.png b/membership_card/static/description/assets/screenshots/membership_card_01.png deleted file mode 100644 index 1a5f34454..000000000 Binary files a/membership_card/static/description/assets/screenshots/membership_card_01.png and /dev/null differ diff --git a/membership_card/static/description/assets/screenshots/membership_card_02.png b/membership_card/static/description/assets/screenshots/membership_card_02.png deleted file mode 100644 index 72731e42e..000000000 Binary files a/membership_card/static/description/assets/screenshots/membership_card_02.png and /dev/null differ diff --git a/membership_card/static/description/assets/screenshots/membership_card_03.png b/membership_card/static/description/assets/screenshots/membership_card_03.png deleted file mode 100644 index e7e2a2bee..000000000 Binary files a/membership_card/static/description/assets/screenshots/membership_card_03.png and /dev/null differ diff --git a/membership_card/static/description/assets/screenshots/membership_card_04.png b/membership_card/static/description/assets/screenshots/membership_card_04.png deleted file mode 100644 index a37e5a7c1..000000000 Binary files a/membership_card/static/description/assets/screenshots/membership_card_04.png and /dev/null differ diff --git a/membership_card/static/description/banner.png b/membership_card/static/description/banner.png deleted file mode 100644 index 5e4657322..000000000 Binary files a/membership_card/static/description/banner.png and /dev/null differ diff --git a/membership_card/static/description/icon.png b/membership_card/static/description/icon.png deleted file mode 100644 index dd5be811c..000000000 Binary files a/membership_card/static/description/icon.png and /dev/null differ diff --git a/membership_card/static/description/index.html b/membership_card/static/description/index.html deleted file mode 100644 index 78c9add1f..000000000 --- a/membership_card/static/description/index.html +++ /dev/null @@ -1,559 +0,0 @@ -
- -
- -
-
- Community -
-
- Enterprise -
-
- Odoo.sh -
-
-
- -
-
-
- -

- Membership - Card

-

Print Membership - Card.

- - -
-
-
- - -
- - -
-
- -
-

Explore This - Module

-
- - - - -
-
- -
-

Overview -

-
-
-
- This module helps you to print Membership Card.If He/She is having a membership product a card with membership product will be printed or a card of free member will be printed. -
-
- - - -
-
- -
-

Features -

-
-
-
-
- - Community & - Enterprise Support. -
-
- - Print Membership Card -
-
- - Free and Paid Membership Card -
-
-
- -
- - Available in Odoo 16.0 - Community and Enterprise. -
- - -
-
- - - -
-
- -
-

Screenshots -

-
-
-
-
-

Membership Card -

-

Go to Members Module-> - Choose a Member-> - Based on the condition Free or Paid this will allow you to print Membership Card.If it is Free. - Enable Free member->Click Action ->Print Membership Card.

- -
-
-

Free Member Card -

-

Result of free - membership card which includes member details in front part and company details in other side.

- -
-
-

Paid Member Card -

-

If he/she is paid - member.Click Buy Membership->Action->Print Membership Card.

- -
-
-

Result of paid - membership card

- -
-
-
- - - -
-
- -
-

Related - Products -

-
-
-
- -
-
- - - - -
-
- -
-

Our Services -

-
- -
-
-
-
- -
-
- Odoo - Customization
-
-
-
- -
-
- Odoo - Implementation
-
-
-
- -
-
- Odoo - Support
-
-
-
- -
-
- Hire - Odoo - Developer
-
- -
-
- -
-
- Odoo - Integration
-
- -
-
- -
-
- Odoo - Migration
-
- - -
-
- -
-
- Odoo - Consultancy
-
- -
-
- -
-
- Odoo - Implementation
-
- -
-
- -
-
- Odoo - Licensing Consultancy
-
-
- -
- - - - - -
-
- -
-

Our - Industries -

-
- -
-
-
-
- -
- Trading -
-

- Easily procure - and - sell your products

-
-
- -
-
- -
- POS -
-

- Easy - configuration - and convivial experience

-
-
- -
-
- -
- Education -
-

- A platform for - educational management

-
-
- -
-
- -
- Manufacturing -
-

- Plan, track and - schedule your operations

-
-
- -
-
- -
- E-commerce & Website -
-

- Mobile - friendly, - awe-inspiring product pages

-
-
- -
-
- -
- Service Management -
-

- Keep track of - services and invoice

-
-
- -
-
- -
- Restaurant -
-

- Run your bar or - restaurant methodically

-
-
- -
-
- -
- Hotel Management -
-

- An - all-inclusive - hotel management application

-
-
-
-
- - - - -
-
- -
-

Support -

-
-
-
-
-
-
- -
-
-

Need Help?

-

Got questions or need help? Get in touch.

- -

- odoo@cybrosys.com

-
-
-
-
-
-
-
- -
-
-

WhatsApp

-

Say hi to us on WhatsApp!

- -

+91 86068 - 27707

-
-
-
-
-
-
-
- -
-
-
- \ No newline at end of file diff --git a/membership_card/views/res_partner_views.xml b/membership_card/views/res_partner_views.xml deleted file mode 100644 index 68390cbe1..000000000 --- a/membership_card/views/res_partner_views.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - Print Membership Card - - - code - action = records.server_action_get_card() - - - \ No newline at end of file