diff --git a/hide_cost_price/README.rst b/hide_cost_price/README.rst new file mode 100644 index 000000000..1faa54afe --- /dev/null +++ b/hide_cost_price/README.rst @@ -0,0 +1,48 @@ +.. 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 + +Hide Cost Price +=============== +Product cost price will be visible only for specified group + +Depends +======= +[product] addon Odoo + +Tech +==== +* [XML] - Odoo views + +Installation +============ +- www.odoo.com/documentation/16.0/setup/install.html +- Install our custom addon + +License +======= +GNU AGPL, Version 3 (AGPLv3) +(http://www.gnu.org/licenses/agpl.html) + +Bug Tracker +=========== + +Contact odoo@cybrosys.com + +Authors +------- +v16 - Sajna Sherin + + +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: ``__ \ No newline at end of file diff --git a/hide_cost_price/__init__.py b/hide_cost_price/__init__.py new file mode 100644 index 000000000..9d29a34ea --- /dev/null +++ b/hide_cost_price/__init__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2013-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions() +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) 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 . +# +############################################################################### diff --git a/hide_cost_price/__manifest__.py b/hide_cost_price/__manifest__.py new file mode 100644 index 000000000..2bc3283cf --- /dev/null +++ b/hide_cost_price/__manifest__.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +############################################################################### +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: Cybrosys Techno Solutions() +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) 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 . +# +############################################################################### +{ + 'name': 'Hide Cost Price', + 'summary': """Hide cost price of product for specified users""", + 'version': '16.0.1.0.0', + 'description': """Product cost price will be visible only for specified + group""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'category': 'Stock', + 'depends': ['base', 'product'], + 'license': 'AGPL-3', + 'data': [ + 'security/groups_view_cost_price.xml', + 'views/product_product_view.xml', + 'views/product_template_view.xml' + ], + 'images': ['static/description/banner.png'], + 'installable': True, + 'auto_install': False, + +} diff --git a/hide_cost_price/doc/RELEASE_NOTES.md b/hide_cost_price/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..889db7a5c --- /dev/null +++ b/hide_cost_price/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 18.05.2023 +#### Version 16.0.1.0.0 +##### ADD + +- Initial commit for Hide Cost Price \ No newline at end of file diff --git a/hide_cost_price/security/groups_view_cost_price.xml b/hide_cost_price/security/groups_view_cost_price.xml new file mode 100644 index 000000000..120570619 --- /dev/null +++ b/hide_cost_price/security/groups_view_cost_price.xml @@ -0,0 +1,11 @@ + + + + + + View Cost Price + + + + diff --git a/hide_cost_price/static/description/assets/icons/check.png b/hide_cost_price/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/check.png differ diff --git a/hide_cost_price/static/description/assets/icons/chevron.png b/hide_cost_price/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/chevron.png differ diff --git a/hide_cost_price/static/description/assets/icons/cogs.png b/hide_cost_price/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/cogs.png differ diff --git a/hide_cost_price/static/description/assets/icons/consultation.png b/hide_cost_price/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/consultation.png differ diff --git a/hide_cost_price/static/description/assets/icons/ecom-black.png b/hide_cost_price/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/ecom-black.png differ diff --git a/hide_cost_price/static/description/assets/icons/education-black.png b/hide_cost_price/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/education-black.png differ diff --git a/hide_cost_price/static/description/assets/icons/hotel-black.png b/hide_cost_price/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/hotel-black.png differ diff --git a/hide_cost_price/static/description/assets/icons/license.png b/hide_cost_price/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/license.png differ diff --git a/hide_cost_price/static/description/assets/icons/lifebuoy.png b/hide_cost_price/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/lifebuoy.png differ diff --git a/hide_cost_price/static/description/assets/icons/manufacturing-black.png b/hide_cost_price/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/manufacturing-black.png differ diff --git a/hide_cost_price/static/description/assets/icons/pos-black.png b/hide_cost_price/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/pos-black.png differ diff --git a/hide_cost_price/static/description/assets/icons/puzzle.png b/hide_cost_price/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/puzzle.png differ diff --git a/hide_cost_price/static/description/assets/icons/restaurant-black.png b/hide_cost_price/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/restaurant-black.png differ diff --git a/hide_cost_price/static/description/assets/icons/service-black.png b/hide_cost_price/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/service-black.png differ diff --git a/hide_cost_price/static/description/assets/icons/trading-black.png b/hide_cost_price/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/trading-black.png differ diff --git a/hide_cost_price/static/description/assets/icons/training.png b/hide_cost_price/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/training.png differ diff --git a/hide_cost_price/static/description/assets/icons/update.png b/hide_cost_price/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/update.png differ diff --git a/hide_cost_price/static/description/assets/icons/user.png b/hide_cost_price/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/user.png differ diff --git a/hide_cost_price/static/description/assets/icons/wrench.png b/hide_cost_price/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/hide_cost_price/static/description/assets/icons/wrench.png differ diff --git a/hide_cost_price/static/description/assets/misc/categories.png b/hide_cost_price/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/hide_cost_price/static/description/assets/misc/categories.png differ diff --git a/hide_cost_price/static/description/assets/misc/check-box.png b/hide_cost_price/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/hide_cost_price/static/description/assets/misc/check-box.png differ diff --git a/hide_cost_price/static/description/assets/misc/compass.png b/hide_cost_price/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/hide_cost_price/static/description/assets/misc/compass.png differ diff --git a/hide_cost_price/static/description/assets/misc/corporate.png b/hide_cost_price/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/hide_cost_price/static/description/assets/misc/corporate.png differ diff --git a/hide_cost_price/static/description/assets/misc/customer-support.png b/hide_cost_price/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/hide_cost_price/static/description/assets/misc/customer-support.png differ diff --git a/hide_cost_price/static/description/assets/misc/cybrosys-logo.png b/hide_cost_price/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/hide_cost_price/static/description/assets/misc/cybrosys-logo.png differ diff --git a/hide_cost_price/static/description/assets/misc/features.png b/hide_cost_price/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/hide_cost_price/static/description/assets/misc/features.png differ diff --git a/hide_cost_price/static/description/assets/misc/logo.png b/hide_cost_price/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/hide_cost_price/static/description/assets/misc/logo.png differ diff --git a/hide_cost_price/static/description/assets/misc/pictures.png b/hide_cost_price/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/hide_cost_price/static/description/assets/misc/pictures.png differ diff --git a/hide_cost_price/static/description/assets/misc/pie-chart.png b/hide_cost_price/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/hide_cost_price/static/description/assets/misc/pie-chart.png differ diff --git a/hide_cost_price/static/description/assets/misc/right-arrow.png b/hide_cost_price/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/hide_cost_price/static/description/assets/misc/right-arrow.png differ diff --git a/hide_cost_price/static/description/assets/misc/star.png b/hide_cost_price/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/hide_cost_price/static/description/assets/misc/star.png differ diff --git a/hide_cost_price/static/description/assets/misc/support.png b/hide_cost_price/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/hide_cost_price/static/description/assets/misc/support.png differ diff --git a/hide_cost_price/static/description/assets/misc/whatsapp.png b/hide_cost_price/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/hide_cost_price/static/description/assets/misc/whatsapp.png differ diff --git a/hide_cost_price/static/description/assets/modules/1.png b/hide_cost_price/static/description/assets/modules/1.png new file mode 100644 index 000000000..b21837312 Binary files /dev/null and b/hide_cost_price/static/description/assets/modules/1.png differ diff --git a/hide_cost_price/static/description/assets/modules/2.png b/hide_cost_price/static/description/assets/modules/2.png new file mode 100644 index 000000000..eb3f8652f Binary files /dev/null and b/hide_cost_price/static/description/assets/modules/2.png differ diff --git a/hide_cost_price/static/description/assets/modules/3.png b/hide_cost_price/static/description/assets/modules/3.png new file mode 100644 index 000000000..a9c4ec82c Binary files /dev/null and b/hide_cost_price/static/description/assets/modules/3.png differ diff --git a/hide_cost_price/static/description/assets/modules/4.png b/hide_cost_price/static/description/assets/modules/4.png new file mode 100644 index 000000000..17ba4d75f Binary files /dev/null and b/hide_cost_price/static/description/assets/modules/4.png differ diff --git a/hide_cost_price/static/description/assets/modules/5.png b/hide_cost_price/static/description/assets/modules/5.png new file mode 100644 index 000000000..489f44e86 Binary files /dev/null and b/hide_cost_price/static/description/assets/modules/5.png differ diff --git a/hide_cost_price/static/description/assets/modules/6.png b/hide_cost_price/static/description/assets/modules/6.png new file mode 100644 index 000000000..ed11bd818 Binary files /dev/null and b/hide_cost_price/static/description/assets/modules/6.png differ diff --git a/hide_cost_price/static/description/assets/screenshots/1.png b/hide_cost_price/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..191b953fd Binary files /dev/null and b/hide_cost_price/static/description/assets/screenshots/1.png differ diff --git a/hide_cost_price/static/description/assets/screenshots/2.png b/hide_cost_price/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..dfc534e5e Binary files /dev/null and b/hide_cost_price/static/description/assets/screenshots/2.png differ diff --git a/hide_cost_price/static/description/assets/screenshots/3.png b/hide_cost_price/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..fbcf4cdda Binary files /dev/null and b/hide_cost_price/static/description/assets/screenshots/3.png differ diff --git a/hide_cost_price/static/description/assets/screenshots/4.png b/hide_cost_price/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..5059bcfc1 Binary files /dev/null and b/hide_cost_price/static/description/assets/screenshots/4.png differ diff --git a/hide_cost_price/static/description/assets/screenshots/5.png b/hide_cost_price/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..9cdf6ab0b Binary files /dev/null and b/hide_cost_price/static/description/assets/screenshots/5.png differ diff --git a/hide_cost_price/static/description/assets/screenshots/hero.gif b/hide_cost_price/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..0305ab205 Binary files /dev/null and b/hide_cost_price/static/description/assets/screenshots/hero.gif differ diff --git a/hide_cost_price/static/description/banner.png b/hide_cost_price/static/description/banner.png new file mode 100644 index 000000000..16a8a156a Binary files /dev/null and b/hide_cost_price/static/description/banner.png differ diff --git a/hide_cost_price/static/description/icon.png b/hide_cost_price/static/description/icon.png new file mode 100644 index 000000000..2134df9d5 Binary files /dev/null and b/hide_cost_price/static/description/icon.png differ diff --git a/hide_cost_price/static/description/index.html b/hide_cost_price/static/description/index.html new file mode 100644 index 000000000..69ab2f5de --- /dev/null +++ b/hide_cost_price/static/description/index.html @@ -0,0 +1,583 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+ +

+ Hide Cost Price

+

Cost price will be visible only for selected users

+ + +
+
+
+ + +
+ + +
+
+ +
+

Explore This + Module

+
+ + + + +
+
+ +
+

Overview +

+
+
+
+ With the module create a custom new group, add users to this group and only the memebers of this group can view the cost price of the product. +
+
+ + + +
+
+ +
+

Features +

+
+
+
+
+ + Cost price visibility restricted. +
+
+ + Visible only for the users in the group. +
+
+ + By default administrator will be added to this group. +
+
+
+ + + +
+
+ +
+

Screenshots +

+
+
+
+ +
+

Adding user to the View Cost Price group +

+

User will see the product cost price only if he is added in this group.

+ +
+ +
+

Product form view with cost price +

+

Product form view with cost price.

+ +
+ +
+

Product tree view with cost price +

+

Product tree view with cost price.

+ +
+ +
+

Product view for users not in the group +

+

Product view for users not in the group.

+ +
+ +
+

Product tree view without cost price +

+

+ Product tree view without cost price.

+ +
+ +
+
+ + + +
+
+ +
+

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

+
+
+
+
+
+
+
+ +
+
+
+ diff --git a/hide_cost_price/views/product_product_view.xml b/hide_cost_price/views/product_product_view.xml new file mode 100644 index 000000000..c7bea7790 --- /dev/null +++ b/hide_cost_price/views/product_product_view.xml @@ -0,0 +1,38 @@ + + + + + + product.product.view.form.inherited.hide.cost.price + + product.product + + + + hide_cost_price.groups_view_cost_price + + + + hide_cost_price.view_cost_price + + + + + + + + product.product.view.tree.inherited.hide.cost.price + + product.product + + + + hide_cost_price.groups_view_cost_price + + + + + diff --git a/hide_cost_price/views/product_template_view.xml b/hide_cost_price/views/product_template_view.xml new file mode 100644 index 000000000..0365d3d30 --- /dev/null +++ b/hide_cost_price/views/product_template_view.xml @@ -0,0 +1,39 @@ + + + + + + product.template.view.form.inherit.hide.cost.price + + product.template + + + + hide_cost_price.groups_view_cost_price + + + + hide_cost_price.groups_view_cost_price + + + + + + + + product.template.view.tree.inherit.hide.cost.price + + product.template + + + + hide_cost_price.groups_iew_cost_price + + + + + diff --git a/work_anniversary_reminder/README.rst b/work_anniversary_reminder/README.rst new file mode 100755 index 000000000..c8d9f0a54 --- /dev/null +++ b/work_anniversary_reminder/README.rst @@ -0,0 +1,37 @@ +.. 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 + +Work Anniversary Reminder +========================= +This module helps to Automatically Send Work Anniversary Email to Employee on Their Joining date. + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +Developer: JANISH BABU @cybrosys, Contact: odoo@cybrosys.com + +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/work_anniversary_reminder/__init__.py b/work_anniversary_reminder/__init__.py new file mode 100644 index 000000000..4311793aa --- /dev/null +++ b/work_anniversary_reminder/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: JANISH BABU (odoo@cybrosys.com) +# +# 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/work_anniversary_reminder/__manifest__.py b/work_anniversary_reminder/__manifest__.py new file mode 100644 index 000000000..4dbc29c7c --- /dev/null +++ b/work_anniversary_reminder/__manifest__.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: JANISH BABU (odoo@cybrosys.com) +# +# 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': "Work Anniversary Reminder", + 'version': '16.0.1.0.0', + 'category': 'Human Resources/Employees', + 'summary': """Automatically send work anniversary emails to + employees on their joining date.""", + 'description': """Module helps to Automatically Send Work + Anniversary Email to Employee on Their Joining date""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'images': ['static/description/banner.jpg'], + 'website': 'https://www.cybrosys.com', + 'depends': ['hr', 'mail', 'hr_contract'], + 'data': ['data/work_anniversary_cron_reminder.xml', + 'data/anniversary_reminder_template.xml', + 'views/hr_employee.xml'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/work_anniversary_reminder/data/anniversary_reminder_template.xml b/work_anniversary_reminder/data/anniversary_reminder_template.xml new file mode 100644 index 000000000..7dde3d313 --- /dev/null +++ b/work_anniversary_reminder/data/anniversary_reminder_template.xml @@ -0,0 +1,38 @@ + + + + + + Anniversary Wishes...!! + Happy Work Anniversary {{object.name or ''}} + ! + + + {{user.email}} + {{object.work_email}} + + +
+
+

+ Happy +

+
+
+

+ Work Anniversary +

+
+
+

+ +

+
+
+
+
+
+
\ No newline at end of file diff --git a/work_anniversary_reminder/data/work_anniversary_cron_reminder.xml b/work_anniversary_reminder/data/work_anniversary_cron_reminder.xml new file mode 100644 index 000000000..501c898a1 --- /dev/null +++ b/work_anniversary_reminder/data/work_anniversary_cron_reminder.xml @@ -0,0 +1,16 @@ + + + + + + Anniversary Reminder + + 1 + days + -1 + + code + model._cron_anniversary_reminder() + + + \ No newline at end of file diff --git a/work_anniversary_reminder/doc/RELEASE_NOTES.md b/work_anniversary_reminder/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..94a53fece --- /dev/null +++ b/work_anniversary_reminder/doc/RELEASE_NOTES.md @@ -0,0 +1,7 @@ +## Module + +#### 17.04.2023 +#### Version 16.0.1.0.0 +#### ADD + +- Initial commit for Work Anniversary Reminder diff --git a/work_anniversary_reminder/models/__init__.py b/work_anniversary_reminder/models/__init__.py new file mode 100644 index 000000000..bdbb9b48b --- /dev/null +++ b/work_anniversary_reminder/models/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: JANISH BABU (odoo@cybrosys.com) +# +# 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 hr_employee diff --git a/work_anniversary_reminder/models/hr_employee.py b/work_anniversary_reminder/models/hr_employee.py new file mode 100644 index 000000000..d8575d8dc --- /dev/null +++ b/work_anniversary_reminder/models/hr_employee.py @@ -0,0 +1,52 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies(). +# Author: JANISH BABU (odoo@cybrosys.com) +# +# 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 api, fields, models + +"""Inherited hr.employee to add field Joining Date""" + + +class HrEmployee(models.Model): + _inherit = "hr.employee" + + joining_date = fields.Date(string='Joining Date', + help="Employee joining date", + compute='_compute_joining_date') + + @api.depends('contract_id') + def _compute_joining_date(self): + """ Methode for computing the Joining date from Contract """ + for rec in self: + rec.joining_date = min(rec.contract_id.mapped('date_start')) \ + if rec.contract_id else False + + @api.model + def _cron_anniversary_reminder(self): + """Sending wishes email to employees""" + for employee in self.search([]): + today_month = fields.Date.today().month + today_day = fields.Date.today().day + if employee.joining_date and \ + employee.joining_date.day == today_day and \ + employee.joining_date.month == today_month: + mail_template = self.env.ref( + 'work_anniversary_reminder.email_template_anniversary_reminder') + mail_template.send_mail(employee.id, force_send=True) diff --git a/work_anniversary_reminder/static/description/assets/icons/check.png b/work_anniversary_reminder/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/icons/check.png differ diff --git a/work_anniversary_reminder/static/description/assets/icons/chevron.png b/work_anniversary_reminder/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/icons/chevron.png differ diff --git a/work_anniversary_reminder/static/description/assets/icons/cogs.png b/work_anniversary_reminder/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/icons/cogs.png differ diff --git a/work_anniversary_reminder/static/description/assets/icons/consultation.png b/work_anniversary_reminder/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/icons/consultation.png differ diff --git a/work_anniversary_reminder/static/description/assets/icons/ecom-black.png b/work_anniversary_reminder/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/icons/ecom-black.png differ diff --git a/work_anniversary_reminder/static/description/assets/icons/education-black.png b/work_anniversary_reminder/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/icons/education-black.png differ diff --git a/work_anniversary_reminder/static/description/assets/icons/hotel-black.png b/work_anniversary_reminder/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/icons/hotel-black.png differ diff --git a/work_anniversary_reminder/static/description/assets/icons/license.png b/work_anniversary_reminder/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/icons/license.png differ diff --git a/work_anniversary_reminder/static/description/assets/icons/lifebuoy.png b/work_anniversary_reminder/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/icons/lifebuoy.png differ diff --git a/work_anniversary_reminder/static/description/assets/icons/manufacturing-black.png b/work_anniversary_reminder/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/icons/manufacturing-black.png differ diff --git a/work_anniversary_reminder/static/description/assets/icons/pos-black.png b/work_anniversary_reminder/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/icons/pos-black.png differ diff --git a/work_anniversary_reminder/static/description/assets/icons/puzzle.png b/work_anniversary_reminder/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/icons/puzzle.png differ diff --git a/work_anniversary_reminder/static/description/assets/icons/restaurant-black.png b/work_anniversary_reminder/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/icons/restaurant-black.png differ diff --git a/work_anniversary_reminder/static/description/assets/icons/service-black.png b/work_anniversary_reminder/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/icons/service-black.png differ diff --git a/work_anniversary_reminder/static/description/assets/icons/trading-black.png b/work_anniversary_reminder/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/icons/trading-black.png differ diff --git a/work_anniversary_reminder/static/description/assets/icons/training.png b/work_anniversary_reminder/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/icons/training.png differ diff --git a/work_anniversary_reminder/static/description/assets/icons/update.png b/work_anniversary_reminder/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/icons/update.png differ diff --git a/work_anniversary_reminder/static/description/assets/icons/user.png b/work_anniversary_reminder/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/icons/user.png differ diff --git a/work_anniversary_reminder/static/description/assets/icons/wrench.png b/work_anniversary_reminder/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/icons/wrench.png differ diff --git a/work_anniversary_reminder/static/description/assets/misc/categories.png b/work_anniversary_reminder/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/misc/categories.png differ diff --git a/work_anniversary_reminder/static/description/assets/misc/check-box.png b/work_anniversary_reminder/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/misc/check-box.png differ diff --git a/work_anniversary_reminder/static/description/assets/misc/compass.png b/work_anniversary_reminder/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/misc/compass.png differ diff --git a/work_anniversary_reminder/static/description/assets/misc/corporate.png b/work_anniversary_reminder/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/misc/corporate.png differ diff --git a/work_anniversary_reminder/static/description/assets/misc/customer-support.png b/work_anniversary_reminder/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/misc/customer-support.png differ diff --git a/work_anniversary_reminder/static/description/assets/misc/cybrosys-logo.png b/work_anniversary_reminder/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/misc/cybrosys-logo.png differ diff --git a/work_anniversary_reminder/static/description/assets/misc/features.png b/work_anniversary_reminder/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/misc/features.png differ diff --git a/work_anniversary_reminder/static/description/assets/misc/logo.png b/work_anniversary_reminder/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/misc/logo.png differ diff --git a/work_anniversary_reminder/static/description/assets/misc/pictures.png b/work_anniversary_reminder/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/misc/pictures.png differ diff --git a/work_anniversary_reminder/static/description/assets/misc/pie-chart.png b/work_anniversary_reminder/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/misc/pie-chart.png differ diff --git a/work_anniversary_reminder/static/description/assets/misc/right-arrow.png b/work_anniversary_reminder/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/misc/right-arrow.png differ diff --git a/work_anniversary_reminder/static/description/assets/misc/star.png b/work_anniversary_reminder/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/misc/star.png differ diff --git a/work_anniversary_reminder/static/description/assets/misc/support.png b/work_anniversary_reminder/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/misc/support.png differ diff --git a/work_anniversary_reminder/static/description/assets/misc/whatsapp.png b/work_anniversary_reminder/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/misc/whatsapp.png differ diff --git a/work_anniversary_reminder/static/description/assets/modules/1.png b/work_anniversary_reminder/static/description/assets/modules/1.png new file mode 100644 index 000000000..3415917c2 Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/modules/1.png differ diff --git a/work_anniversary_reminder/static/description/assets/modules/2.png b/work_anniversary_reminder/static/description/assets/modules/2.png new file mode 100644 index 000000000..31ed46762 Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/modules/2.png differ diff --git a/work_anniversary_reminder/static/description/assets/modules/3.png b/work_anniversary_reminder/static/description/assets/modules/3.png new file mode 100644 index 000000000..25ed3e0b6 Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/modules/3.png differ diff --git a/work_anniversary_reminder/static/description/assets/modules/4.png b/work_anniversary_reminder/static/description/assets/modules/4.png new file mode 100644 index 000000000..359d3e4d6 Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/modules/4.png differ diff --git a/work_anniversary_reminder/static/description/assets/modules/5.png b/work_anniversary_reminder/static/description/assets/modules/5.png new file mode 100644 index 000000000..3add135c3 Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/modules/5.png differ diff --git a/work_anniversary_reminder/static/description/assets/modules/6.png b/work_anniversary_reminder/static/description/assets/modules/6.png new file mode 100644 index 000000000..be454ea44 Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/modules/6.png differ diff --git a/work_anniversary_reminder/static/description/assets/screenshots/1.png b/work_anniversary_reminder/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..5cdd0d6d4 Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/screenshots/1.png differ diff --git a/work_anniversary_reminder/static/description/assets/screenshots/2.png b/work_anniversary_reminder/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..30b4ba36a Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/screenshots/2.png differ diff --git a/work_anniversary_reminder/static/description/assets/screenshots/3.png b/work_anniversary_reminder/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..42305462d Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/screenshots/3.png differ diff --git a/work_anniversary_reminder/static/description/assets/screenshots/hero.gif b/work_anniversary_reminder/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..9dd79f85b Binary files /dev/null and b/work_anniversary_reminder/static/description/assets/screenshots/hero.gif differ diff --git a/work_anniversary_reminder/static/description/banner.jpg b/work_anniversary_reminder/static/description/banner.jpg new file mode 100644 index 000000000..85ecac50a Binary files /dev/null and b/work_anniversary_reminder/static/description/banner.jpg differ diff --git a/work_anniversary_reminder/static/description/icon.png b/work_anniversary_reminder/static/description/icon.png new file mode 100644 index 000000000..513632823 Binary files /dev/null and b/work_anniversary_reminder/static/description/icon.png differ diff --git a/work_anniversary_reminder/static/description/index.html b/work_anniversary_reminder/static/description/index.html new file mode 100644 index 000000000..1adef317d --- /dev/null +++ b/work_anniversary_reminder/static/description/index.html @@ -0,0 +1,644 @@ +
+ +
+ +
+
+ Community +
+
+ Enterprise +
+
+
+ +
+
+
+ +

+ Work Anniversary Reminder

+

+ Automated Employee Based Work Anniversary Reminder

+ + +
+
+
+ + +
+ + +
+
+ +
+

+ Explore This + Module

+
+ + + + +
+
+ +
+

+ Overview +

+
+
+
+ Module helps to Automatically Send Work Anniversary Email to Employee + on Their Joining date. +
+
+ + + +
+
+ +
+

+ Features +

+
+
+
+
+ + Track Employee Joining Date +
+
+
+
+ + Automatically Send Employee + Anniversary Wishes +
+
+
+
+ + Automatic Email +
+
+
+ + + +
+
+ +
+

+ Screenshots +

+
+
+
+ +
+

+ Employee +

+

+ Set the Joining date of the Employees.

+ +
+ +
+

+ Sheduled Action +

+

+ Settings >>> Technical >>> Scheduled Actions >>> Anniversary + Reminder.

+ +
+ +
+

+ Email +

+

+ This is how a greetings email to the Employee will be + generated.

+ +
+
+
+ + + +
+
+ +
+

+ 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/work_anniversary_reminder/views/hr_employee.xml b/work_anniversary_reminder/views/hr_employee.xml new file mode 100644 index 000000000..cd7aa4a83 --- /dev/null +++ b/work_anniversary_reminder/views/hr_employee.xml @@ -0,0 +1,15 @@ + + + + + hr.employee.view.form.inherit.work.anniversary + + hr.employee + + + + + + + + \ No newline at end of file