diff --git a/partner_emails_history/README.rst b/partner_emails_history/README.rst new file mode 100755 index 000000000..377ab47cb --- /dev/null +++ b/partner_emails_history/README.rst @@ -0,0 +1,51 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--1-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Partner Email and SMS History +============================= + +This module developed to record partner sms and email history . + +Installation +============ + +Just select it from available modules to install it, there is no need to extra installations. + +Configuration +============= + +Nothing to configure. + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +* Developer: V13 Vinaya S B @ cybrosys + V14 Minhaj T @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/partner_emails_history/__init__.py b/partner_emails_history/__init__.py new file mode 100644 index 000000000..d890954ba --- /dev/null +++ b/partner_emails_history/__init__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2020-TODAY Cybrosys Technologies(). +# Author: Vinaya S B() +# you can modify it under the terms of the GNU LESSER +# 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 LESSER GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# GENERAL PUBLIC LICENSE (AGPL v3) along with this program. +# If not, see . +# +############################################################################## + +from . import models diff --git a/partner_emails_history/__manifest__.py b/partner_emails_history/__manifest__.py new file mode 100644 index 000000000..bf859a9cf --- /dev/null +++ b/partner_emails_history/__manifest__.py @@ -0,0 +1,37 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2020-TODAY Cybrosys Technologies(). +# Author: Vinaya S B() +# you can modify it under the terms of the GNU LESSER +# 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 LESSER GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# GENERAL PUBLIC LICENSE (AGPL v3) along with this program. +# If not, see . +# +############################################################################## +{ + 'name': "Partner Email and SMS History", + 'version': '14.0.1.0.0', + 'summary': """ Send/Received Emails and SMS History From Partner Form""", + 'description': """Send/Received Emails and SMS History From Partner Form""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'category': 'Tools', + 'depends': ['contacts', 'sms'], + 'data': ['views/partner_emails_history_view.xml'], + 'images': ['static/description/banner.png'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} \ No newline at end of file diff --git a/partner_emails_history/doc/RELEASE_NOTES.md b/partner_emails_history/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..2ef11ef0a --- /dev/null +++ b/partner_emails_history/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 09.10.2020 +#### Version 14.0.1.0.0 +#### ADD +- Initial Commit for partner_emails_history diff --git a/partner_emails_history/models/__init__.py b/partner_emails_history/models/__init__.py new file mode 100644 index 000000000..8b29c8f77 --- /dev/null +++ b/partner_emails_history/models/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2020-TODAY Cybrosys Technologies(). +# Author: Vinaya S B() +# you can modify it under the terms of the GNU LESSER +# 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 LESSER GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# GENERAL PUBLIC LICENSE (AGPL v3) along with this program. +# If not, see . +# +############################################################################## + +from . import partner_emails_history + + diff --git a/partner_emails_history/models/partner_emails_history.py b/partner_emails_history/models/partner_emails_history.py new file mode 100644 index 000000000..614d3e04f --- /dev/null +++ b/partner_emails_history/models/partner_emails_history.py @@ -0,0 +1,50 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2020-TODAY Cybrosys Technologies(). +# Author: Vinaya S B() +# you can modify it under the terms of the GNU LESSER +# 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 LESSER GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# GENERAL PUBLIC LICENSE (AGPL v3) along with this program. +# If not, see . +# +############################################################################## + +from odoo import api, fields, models + + +class PartnerEmailSMSHistory(models.Model): + _inherit = 'res.partner' + + def action_view_partner_sms(self): + self.ensure_one() + action = self.env.ref('sms.sms_sms_action').read()[0] + action['domain'] = [ + ('partner_id', '=', self.id)] + return action + + def sent_email_history(self): + action = self.env.ref('mail.action_view_mail_mail') + result = action.read()[0] + result['domain'] = [('email_from', '=', self.email)] + return result + + def received_email_history(self): + action = self.env.ref('mail.action_view_mail_mail') + result = action.read()[0] + result['domain'] = ['|', ('email_to', '=', self.email), ('recipient_ids', '=', self.email)] + return result + + +class ResConfigSettings(models.TransientModel): + _inherit = 'res.config.settings' + + sms_history = fields.Boolean('SMS History', config_parameter='partner_emails_history.default_sms_history', default=False) \ No newline at end of file diff --git a/partner_emails_history/static/description/banner.png b/partner_emails_history/static/description/banner.png new file mode 100644 index 000000000..5b38ba0f8 Binary files /dev/null and b/partner_emails_history/static/description/banner.png differ diff --git a/partner_emails_history/static/description/cybro_logo.png b/partner_emails_history/static/description/cybro_logo.png new file mode 100644 index 000000000..bb309114c Binary files /dev/null and b/partner_emails_history/static/description/cybro_logo.png differ diff --git a/partner_emails_history/static/description/icon.png b/partner_emails_history/static/description/icon.png new file mode 100644 index 000000000..84365394a Binary files /dev/null and b/partner_emails_history/static/description/icon.png differ diff --git a/partner_emails_history/static/description/images/access_restriction_by_ip.png b/partner_emails_history/static/description/images/access_restriction_by_ip.png new file mode 100644 index 000000000..157c313a2 Binary files /dev/null and b/partner_emails_history/static/description/images/access_restriction_by_ip.png differ diff --git a/partner_emails_history/static/description/images/checked.png b/partner_emails_history/static/description/images/checked.png new file mode 100644 index 000000000..578cedb80 Binary files /dev/null and b/partner_emails_history/static/description/images/checked.png differ diff --git a/partner_emails_history/static/description/images/cybrosys.png b/partner_emails_history/static/description/images/cybrosys.png new file mode 100644 index 000000000..d76b5bafb Binary files /dev/null and b/partner_emails_history/static/description/images/cybrosys.png differ diff --git a/partner_emails_history/static/description/images/email-sms.png b/partner_emails_history/static/description/images/email-sms.png new file mode 100644 index 000000000..c9e2f2b78 Binary files /dev/null and b/partner_emails_history/static/description/images/email-sms.png differ diff --git a/partner_emails_history/static/description/images/employee_history.png b/partner_emails_history/static/description/images/employee_history.png new file mode 100644 index 000000000..b1e879667 Binary files /dev/null and b/partner_emails_history/static/description/images/employee_history.png differ diff --git a/partner_emails_history/static/description/images/history.png b/partner_emails_history/static/description/images/history.png new file mode 100644 index 000000000..bcbd3c237 Binary files /dev/null and b/partner_emails_history/static/description/images/history.png differ diff --git a/partner_emails_history/static/description/images/module_image.png b/partner_emails_history/static/description/images/module_image.png new file mode 100644 index 000000000..bb21eb8d8 Binary files /dev/null and b/partner_emails_history/static/description/images/module_image.png differ diff --git a/partner_emails_history/static/description/images/partner_dynamic_fields.png b/partner_emails_history/static/description/images/partner_dynamic_fields.png new file mode 100644 index 000000000..bb21eb8d8 Binary files /dev/null and b/partner_emails_history/static/description/images/partner_dynamic_fields.png differ diff --git a/partner_emails_history/static/description/images/partnersms.png b/partner_emails_history/static/description/images/partnersms.png new file mode 100644 index 000000000..abbf571b2 Binary files /dev/null and b/partner_emails_history/static/description/images/partnersms.png differ diff --git a/partner_emails_history/static/description/images/received_mail.png b/partner_emails_history/static/description/images/received_mail.png new file mode 100644 index 000000000..b09711a14 Binary files /dev/null and b/partner_emails_history/static/description/images/received_mail.png differ diff --git a/partner_emails_history/static/description/images/sale_purchase.png b/partner_emails_history/static/description/images/sale_purchase.png new file mode 100644 index 000000000..784503869 Binary files /dev/null and b/partner_emails_history/static/description/images/sale_purchase.png differ diff --git a/partner_emails_history/static/description/images/salesperson.png b/partner_emails_history/static/description/images/salesperson.png new file mode 100644 index 000000000..170d067c6 Binary files /dev/null and b/partner_emails_history/static/description/images/salesperson.png differ diff --git a/partner_emails_history/static/description/images/sent-email.png b/partner_emails_history/static/description/images/sent-email.png new file mode 100644 index 000000000..ce5bd8e95 Binary files /dev/null and b/partner_emails_history/static/description/images/sent-email.png differ diff --git a/partner_emails_history/static/description/images/sms.png b/partner_emails_history/static/description/images/sms.png new file mode 100644 index 000000000..cca224b26 Binary files /dev/null and b/partner_emails_history/static/description/images/sms.png differ diff --git a/partner_emails_history/static/description/images/user_login_alert.png b/partner_emails_history/static/description/images/user_login_alert.png new file mode 100644 index 000000000..5e56890bb Binary files /dev/null and b/partner_emails_history/static/description/images/user_login_alert.png differ diff --git a/partner_emails_history/static/description/index.html b/partner_emails_history/static/description/index.html new file mode 100644 index 000000000..f955bb526 --- /dev/null +++ b/partner_emails_history/static/description/index.html @@ -0,0 +1,304 @@ +
cybrosys-logo
+
+
+
+

Partner Email and SMS History

+

Maintains Email and SMS History(Sent mail and Received mail) In Partner Form

+
+

Key Highlights

+
    +
  • Partner Email History.
  • +
  • Partner SMS History.
  • +
+
+
+
+
+
+
+
+ +
+
+ +

Overview

+
+

+ Provides SMS and Email history in partner form. +

+
+
+ +

Partner Email and SMS History

+
+
    +
  • + Sent emails of partner. +
  • +
  • + Received emails of partner. +
  • +
  • + SMS history of partner. +
  • + +
+
+ +
+
+

Screenshots

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

Suggested Products

+
+ +
+
+

Our Service

+
+ +
+
+
+

Our Industries

+
+ +
+
+
+ +
+
+

Trading

+

Easily procure and sell your products.

+
+
+
+
+ +
+
+

Manufacturing

+

Plan, track and schedule your operations.

+
+
+
+
+ +
+
+

Restaurant

+

Run your bar or restaurant methodical.

+
+
+
+
+ +
+
+

POS

+

Easy configuring and convivial selling.

+
+
+
+
+ +
+
+

E-commerce & Website

+

Mobile friendly, awe-inspiring product pages.

+
+
+
+
+ +
+
+

Hotel Management

+

An all-inclusive hotel management application.

+
+
+
+
+ +
+
+

Education

+

A Collaborative platform for educational management.

+
+
+
+
+ +
+
+

Service Management

+

Keep track of services and invoice accordingly.

+
+
+
+
+
+ +
+
+
+

Need Any Help?

+
+

If you have anything to share with us based on your use of this module, please let us know. We are ready to offer our support.

+
+

Email us

+

odoo@cybrosys.com / info@cybrosys.com

+
+
+

Contact Us

+ www.cybrosys.com +
+
+
+
+
+
+
+
+
+ +
+ + + + + + + +
+
+
+ \ No newline at end of file diff --git a/partner_emails_history/views/partner_emails_history_view.xml b/partner_emails_history/views/partner_emails_history_view.xml new file mode 100644 index 000000000..ac88b1ef8 --- /dev/null +++ b/partner_emails_history/views/partner_emails_history_view.xml @@ -0,0 +1,51 @@ + + + + res.partner.form.inherit + res.partner + + + +