diff --git a/direct_send_email_template/README.rst b/direct_send_email_template/README.rst new file mode 100755 index 000000000..caee60fb1 --- /dev/null +++ b/direct_send_email_template/README.rst @@ -0,0 +1,51 @@ +.. image:: https://img.shields.io/badge/license-LGPL--3-green.svg + :target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 + +Direct Send Email +================= +* This module Send an email directly to the Customer/Vendor. + +Configuration +============= +No additional configuration required + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) + +Credits +------- +* Developer: + (V16) Gion D, + (v17) Jumana Haseen, + +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/direct_send_email_template/__init__.py b/direct_send_email_template/__init__.py new file mode 100644 index 000000000..27f7e5b5c --- /dev/null +++ b/direct_send_email_template/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Jumana Haseen () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import models diff --git a/direct_send_email_template/__manifest__.py b/direct_send_email_template/__manifest__.py new file mode 100644 index 000000000..b24bbc63c --- /dev/null +++ b/direct_send_email_template/__manifest__.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Jumana Haseen () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +{ + 'name': "Direct Send Email", + 'version': '17.0.1.0.0', + "category": "Sales", + 'summary': """Send an email directly to the Customer/Vendor.""", + 'description': """The Direct Send Email module helps you to send the + default email template directly to the Customer/Vendor.""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['base', 'sale_management', 'purchase', 'account'], + 'data': [ + 'views/res_config_settings_views.xml', + 'views/sale_order_views.xml', + 'views/account_move_views.xml', + 'views/purchase_order_views.xml', + ], + 'images': ['static/description/banner.png'], + 'license': "LGPL-3", + 'installable': True, + 'auto_install': False, + 'application': False +} diff --git a/direct_send_email_template/doc/RELEASE_NOTES.md b/direct_send_email_template/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..f18be2fdb --- /dev/null +++ b/direct_send_email_template/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 07.02.2024 +#### Version 17.0.1.0.0 +#### ADD +- Initial commit for Direct Send Email diff --git a/direct_send_email_template/models/__init__.py b/direct_send_email_template/models/__init__.py new file mode 100644 index 000000000..908e0cb6f --- /dev/null +++ b/direct_send_email_template/models/__init__.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Jumana Haseen () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from . import account_move +from . import purchase_order +from . import res_config_settings +from . import sale_order diff --git a/direct_send_email_template/models/account_move.py b/direct_send_email_template/models/account_move.py new file mode 100644 index 000000000..ff4e53217 --- /dev/null +++ b/direct_send_email_template/models/account_move.py @@ -0,0 +1,94 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Jumana Haseen () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import fields, models, _ +from odoo import exceptions + + +class AccountMove(models.Model): + """ Inheriting the account model to add the fields and direct send the + email button""" + _inherit = 'account.move' + _description = 'Account move' + + direct_send_inv = fields.Boolean( + "Direct Send Invoice", + help="Direct Send Customer Invoice by Mail.") + direct_send_crd = fields.Boolean( + "Direct Send Credit Note", + help="Direct Send Credit Note by Mail.") + direct_send_bill = fields.Boolean( + "Direct Send Bill", + help="Direct Send Vendor Bill by Mail.") + direct_send_ref = fields.Boolean( + "Direct Send Refund", + help="Direct Send Refund by Mail.") + + def direct_send_account(self): + """Sending a direct send accounts email to the customer.""" + is_direct_send_email_account = self.env[ + 'ir.config_parameter'].sudo().get_param( + 'direct_send_email_template.is_direct_send_email_account') + if is_direct_send_email_account: + move_type = { + 'out_invoice': { + 'template_key': 'direct_send_mailtemplate_inv', + 'field_key': 'direct_send_inv', + 'error_msg': _( + "Template not defined for Customer Invoice."), + }, + 'out_refund': { + 'template_key': 'direct_send_mailtemplate_credit', + 'field_key': 'direct_send_crd', + 'error_msg': _( + "Template not defined for Customer Credit Note."), + }, + 'in_invoice': { + 'template_key': 'direct_send_mailtemplate_bill', + 'field_key': 'direct_send_bill', + 'error_msg': _("Template not defined for Vendor Bill."), + }, + 'in_refund': { + 'template_key': 'direct_send_mailtemplate_refund', + 'field_key': 'direct_send_ref', + 'error_msg': _( + "Template not defined for Vendor Credit Note."), + } + } + if self.state == 'posted': + if self.move_type in move_type: + template = int( + self.env['ir.config_parameter'].sudo().get_param( + 'direct_send_email_template.' + + move_type[self.move_type]['template_key'])) + if template: + template_id = self.env['mail.template'].browse(template) + self.with_context( + force_send=True).message_post_with_source( + template_id) + self.write( + {move_type[self.move_type]['field_key']: True}) + else: + raise exceptions.ValidationError( + move_type[self.move_type]['error_msg']) + else: + raise exceptions.ValidationError( + _("Not Configured Direct Send Email Setting")) diff --git a/direct_send_email_template/models/purchase_order.py b/direct_send_email_template/models/purchase_order.py new file mode 100644 index 000000000..98e8c5fc7 --- /dev/null +++ b/direct_send_email_template/models/purchase_order.py @@ -0,0 +1,70 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Jumana Haseen () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import fields, models, _ +from odoo import exceptions + + +class PurchaseOrder(models.Model): + """ Inheriting the purchase order model to add the fields and direct send + the email button""" + _inherit = 'purchase.order' + _description = 'purchase order' + + direct_send_rfq = fields.Boolean( + "Direct Send Request for Quotation", + help="Direct Send Request for Quotation by Mail.") + direct_send_po = fields.Boolean( + "Direct Send Purchase Order", + help="Direct Send Purchase Order by Mail.") + + def direct_send_purchase(self): + """Sending a direct send purchase email to the customer.""" + is_direct_send_email_purchase = self.env[ + 'ir.config_parameter'].sudo().get_param( + 'direct_send_email_template.is_direct_send_email_purchase') + if is_direct_send_email_purchase: + purchase_state = { + 'draft': { + 'template_key': 'direct_send_mailtemplate_prfq', + 'field_key': 'direct_send_rfq', + 'error_msg': _("Template not defined for Request for Quotation."), + }, + 'purchase': { + 'template_key': 'direct_send_mailtemplate_po', + 'field_key': 'direct_send_po', + 'error_msg': _("Template not defined For Purchase Order."), + }, + } + if self.state in purchase_state: + template = int(self.env['ir.config_parameter'].sudo().get_param( + 'direct_send_email_template.' + purchase_state[self.state]['template_key'])) + if template: + template_id = self.env['mail.template'].browse(template) + self.with_context(force_send=True).message_post_with_source(template_id) + self.write({purchase_state[self.state]['field_key']: True}) + else: + raise exceptions.ValidationError(purchase_state[self.state]['error_msg']) + else: + raise exceptions.ValidationError( + _("Not Configured Direct Send Email Setting") + + ) diff --git a/direct_send_email_template/models/res_config_settings.py b/direct_send_email_template/models/res_config_settings.py new file mode 100644 index 000000000..f74ed37d8 --- /dev/null +++ b/direct_send_email_template/models/res_config_settings.py @@ -0,0 +1,78 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Jumana Haseen () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import fields, models + + +class ResConfig(models.TransientModel): + """ Inherit the base settings to add a direct send email + configuration fields """ + _inherit = 'res.config.settings' + + is_direct_send_email_sale = fields.Boolean(string="Direct Send Email Sale", + config_parameter="direct_send_email_template.is_direct_send_email_sale") + direct_send_mailtemplate_sq = fields.Many2one( + comodel_name='mail.template', string='Quotation Email Template', + domain="[('model', '=', 'sale.order')]", + help='Email Template for Sale Quoatation.', + config_parameter="direct_send_email_template.direct_send_mailtemplate_sq") + direct_send_mailtemplate_so = fields.Many2one( + comodel_name='mail.template', string='Sales Order Email Template', + domain="[('model', '=', 'sale.order')]", + help='Email Template for Sale Order.', + config_parameter="direct_send_email_template.direct_send_mailtemplate_so") + is_direct_send_email_purchase = fields.Boolean( + string="Direct Send Email Purchase", + config_parameter="direct_send_email_template.is_direct_send_email_purchase") + direct_send_mailtemplate_po = fields.Many2one( + comodel_name='mail.template', string='Purchase Order Email Template', + domain="[('model', '=', 'purchase.order')]", + help='Email Template for Purchase Order.', + config_parameter="direct_send_email_template.direct_send_mailtemplate_po") + direct_send_mailtemplate_prfq = fields.Many2one( + comodel_name='mail.template', + string='Request for Quotation Email Template', + domain="[('model', '=', 'purchase.order')]", + help='Email Template for Request For Quotation.', + config_parameter="direct_send_email_template.direct_send_mailtemplate_prfq") + is_direct_send_email_account = fields.Boolean( + string="Direct Send Email Invoice.", + config_parameter="direct_send_email_template.is_direct_send_email_account") + direct_send_mailtemplate_inv = fields.Many2one( + comodel_name='mail.template', string='Invoice Email Template', + domain="[('model', '=', 'account.move')]", + help='Email Template for Customer Invoice.', + config_parameter="direct_send_email_template.direct_send_mailtemplate_inv") + direct_send_mailtemplate_credit = fields.Many2one( + comodel_name='mail.template', string='Credit note Email Template', + domain="[('model', '=', 'account.move')]", + help='Email Template for Customer Credit Note.', + config_parameter="direct_send_email_template.direct_send_mailtemplate_credit") + direct_send_mailtemplate_bill = fields.Many2one( + comodel_name='mail.template', string='Bills Email Template', + domain="[('model', '=', 'account.move')]", + help='Email Template for Vendor Bill.', + config_parameter="direct_send_email_template.direct_send_mailtemplate_bill") + direct_send_mailtemplate_refund = fields.Many2one( + comodel_name='mail.template', string='Refund Email Template', + domain="[('model', '=', 'account.move')]", + help='Email Template for Vendor Refund.', + config_parameter="direct_send_email_template.direct_send_mailtemplate_refund") diff --git a/direct_send_email_template/models/sale_order.py b/direct_send_email_template/models/sale_order.py new file mode 100644 index 000000000..5a29ef922 --- /dev/null +++ b/direct_send_email_template/models/sale_order.py @@ -0,0 +1,66 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Jumana Haseen () +# +# You can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL 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 (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# (LGPL v3) along with this program. +# If not, see . +# +############################################################################# +from odoo import fields, models, _ +from odoo import exceptions + + +class SaleOrder(models.Model): + """ Inheriting the sale order model to add the fields and direct + send the email button""" + _inherit = 'sale.order' + _description = 'sale order' + + direct_send_quo = fields.Boolean( + "Direct Send Quotation", help="Direct Send Quotation by Mail.") + direct_send_so = fields.Boolean( + "Direct Send sale Order", help="Direct Send Sale Order by Mail.") + + def direct_send_sale(self): + """Sending a direct send sales email to the customer.""" + is_direct_send_email_sale = self.env[ + 'ir.config_parameter'].sudo().get_param( + 'direct_send_email_template.is_direct_send_email_sale') + if is_direct_send_email_sale: + sale_state = { + 'draft': { + 'template_key': 'direct_send_mailtemplate_sq', + 'field_key': 'direct_send_quo', + 'error_msg': _("Template not defined for Sale Order Quotation."), + }, + 'sale': { + 'template_key': 'direct_send_mailtemplate_so', + 'field_key': 'direct_send_so', + 'error_msg': _("Template not defined for Sale Order Confirmation."), + }, + } + if self.state in sale_state: + template = int(self.env['ir.config_parameter'].sudo().get_param( + 'direct_send_email_template.' + sale_state[self.state]['template_key'])) + if template: + template_id = self.env['mail.template'].browse(template) + self.with_context(force_send=True).message_post_with_source(template_id) + self.write({sale_state[self.state]['field_key']: True}) + else: + raise exceptions.ValidationError(sale_state[self.state]['error_msg']) + else: + raise exceptions.ValidationError( + _("Not Configured Direct Send Email Setting")) diff --git a/direct_send_email_template/static/description/assets/icons/capture (1).png b/direct_send_email_template/static/description/assets/icons/capture (1).png new file mode 100644 index 000000000..8824deafc Binary files /dev/null and b/direct_send_email_template/static/description/assets/icons/capture (1).png differ diff --git a/direct_send_email_template/static/description/assets/icons/check.png b/direct_send_email_template/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/direct_send_email_template/static/description/assets/icons/check.png differ diff --git a/direct_send_email_template/static/description/assets/icons/chevron.png b/direct_send_email_template/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/direct_send_email_template/static/description/assets/icons/chevron.png differ diff --git a/direct_send_email_template/static/description/assets/icons/cogs.png b/direct_send_email_template/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/direct_send_email_template/static/description/assets/icons/cogs.png differ diff --git a/direct_send_email_template/static/description/assets/icons/consultation.png b/direct_send_email_template/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/direct_send_email_template/static/description/assets/icons/consultation.png differ diff --git a/direct_send_email_template/static/description/assets/icons/ecom-black.png b/direct_send_email_template/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/direct_send_email_template/static/description/assets/icons/ecom-black.png differ diff --git a/direct_send_email_template/static/description/assets/icons/education-black.png b/direct_send_email_template/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/direct_send_email_template/static/description/assets/icons/education-black.png differ diff --git a/direct_send_email_template/static/description/assets/icons/hotel-black.png b/direct_send_email_template/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/direct_send_email_template/static/description/assets/icons/hotel-black.png differ diff --git a/direct_send_email_template/static/description/assets/icons/img.png b/direct_send_email_template/static/description/assets/icons/img.png new file mode 100644 index 000000000..70197f477 Binary files /dev/null and b/direct_send_email_template/static/description/assets/icons/img.png differ diff --git a/direct_send_email_template/static/description/assets/icons/license.png b/direct_send_email_template/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/direct_send_email_template/static/description/assets/icons/license.png differ diff --git a/direct_send_email_template/static/description/assets/icons/lifebuoy.png b/direct_send_email_template/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/direct_send_email_template/static/description/assets/icons/lifebuoy.png differ diff --git a/direct_send_email_template/static/description/assets/icons/manufacturing-black.png b/direct_send_email_template/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/direct_send_email_template/static/description/assets/icons/manufacturing-black.png differ diff --git a/direct_send_email_template/static/description/assets/icons/photo-capture.png b/direct_send_email_template/static/description/assets/icons/photo-capture.png new file mode 100644 index 000000000..06c111758 Binary files /dev/null and b/direct_send_email_template/static/description/assets/icons/photo-capture.png differ diff --git a/direct_send_email_template/static/description/assets/icons/pos-black.png b/direct_send_email_template/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/direct_send_email_template/static/description/assets/icons/pos-black.png differ diff --git a/direct_send_email_template/static/description/assets/icons/puzzle.png b/direct_send_email_template/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/direct_send_email_template/static/description/assets/icons/puzzle.png differ diff --git a/direct_send_email_template/static/description/assets/icons/restaurant-black.png b/direct_send_email_template/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/direct_send_email_template/static/description/assets/icons/restaurant-black.png differ diff --git a/direct_send_email_template/static/description/assets/icons/service-black.png b/direct_send_email_template/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/direct_send_email_template/static/description/assets/icons/service-black.png differ diff --git a/direct_send_email_template/static/description/assets/icons/trading-black.png b/direct_send_email_template/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/direct_send_email_template/static/description/assets/icons/trading-black.png differ diff --git a/direct_send_email_template/static/description/assets/icons/training.png b/direct_send_email_template/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/direct_send_email_template/static/description/assets/icons/training.png differ diff --git a/direct_send_email_template/static/description/assets/icons/update.png b/direct_send_email_template/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/direct_send_email_template/static/description/assets/icons/update.png differ diff --git a/direct_send_email_template/static/description/assets/icons/user.png b/direct_send_email_template/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/direct_send_email_template/static/description/assets/icons/user.png differ diff --git a/direct_send_email_template/static/description/assets/icons/wrench.png b/direct_send_email_template/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/direct_send_email_template/static/description/assets/icons/wrench.png differ diff --git a/direct_send_email_template/static/description/assets/misc/Cybrosys R.png b/direct_send_email_template/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/direct_send_email_template/static/description/assets/misc/Cybrosys R.png differ diff --git a/direct_send_email_template/static/description/assets/misc/email.svg b/direct_send_email_template/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/direct_send_email_template/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/direct_send_email_template/static/description/assets/misc/phone.svg b/direct_send_email_template/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/direct_send_email_template/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/direct_send_email_template/static/description/assets/misc/star (1) 2.svg b/direct_send_email_template/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/direct_send_email_template/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/direct_send_email_template/static/description/assets/misc/support (1) 1.svg b/direct_send_email_template/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/direct_send_email_template/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/direct_send_email_template/static/description/assets/misc/support-email.svg b/direct_send_email_template/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/direct_send_email_template/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/direct_send_email_template/static/description/assets/misc/tick-mark.svg b/direct_send_email_template/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/direct_send_email_template/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/direct_send_email_template/static/description/assets/misc/whatsapp 1.svg b/direct_send_email_template/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/direct_send_email_template/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/direct_send_email_template/static/description/assets/misc/whatsapp.svg b/direct_send_email_template/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/direct_send_email_template/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/direct_send_email_template/static/description/assets/modules/1.png b/direct_send_email_template/static/description/assets/modules/1.png new file mode 100644 index 000000000..af0e29abf Binary files /dev/null and b/direct_send_email_template/static/description/assets/modules/1.png differ diff --git a/direct_send_email_template/static/description/assets/modules/2.png b/direct_send_email_template/static/description/assets/modules/2.png new file mode 100644 index 000000000..df34f85a8 Binary files /dev/null and b/direct_send_email_template/static/description/assets/modules/2.png differ diff --git a/direct_send_email_template/static/description/assets/modules/3.png b/direct_send_email_template/static/description/assets/modules/3.png new file mode 100644 index 000000000..c54f8ae1a Binary files /dev/null and b/direct_send_email_template/static/description/assets/modules/3.png differ diff --git a/direct_send_email_template/static/description/assets/modules/4.png b/direct_send_email_template/static/description/assets/modules/4.png new file mode 100644 index 000000000..89003c0ca Binary files /dev/null and b/direct_send_email_template/static/description/assets/modules/4.png differ diff --git a/direct_send_email_template/static/description/assets/modules/5.gif b/direct_send_email_template/static/description/assets/modules/5.gif new file mode 100644 index 000000000..2a5f8e659 Binary files /dev/null and b/direct_send_email_template/static/description/assets/modules/5.gif differ diff --git a/direct_send_email_template/static/description/assets/modules/5.png b/direct_send_email_template/static/description/assets/modules/5.png new file mode 100644 index 000000000..acf8a6235 Binary files /dev/null and b/direct_send_email_template/static/description/assets/modules/5.png differ diff --git a/direct_send_email_template/static/description/assets/modules/6.png b/direct_send_email_template/static/description/assets/modules/6.png new file mode 100644 index 000000000..27e204390 Binary files /dev/null and b/direct_send_email_template/static/description/assets/modules/6.png differ diff --git a/direct_send_email_template/static/description/assets/screenshots/1.png b/direct_send_email_template/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..4f0019c99 Binary files /dev/null and b/direct_send_email_template/static/description/assets/screenshots/1.png differ diff --git a/direct_send_email_template/static/description/assets/screenshots/2.png b/direct_send_email_template/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..e3a05fac4 Binary files /dev/null and b/direct_send_email_template/static/description/assets/screenshots/2.png differ diff --git a/direct_send_email_template/static/description/assets/screenshots/3.png b/direct_send_email_template/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..60bff6f0e Binary files /dev/null and b/direct_send_email_template/static/description/assets/screenshots/3.png differ diff --git a/direct_send_email_template/static/description/assets/screenshots/4.png b/direct_send_email_template/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..e89f1a93c Binary files /dev/null and b/direct_send_email_template/static/description/assets/screenshots/4.png differ diff --git a/direct_send_email_template/static/description/assets/screenshots/5.png b/direct_send_email_template/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..211a3cb65 Binary files /dev/null and b/direct_send_email_template/static/description/assets/screenshots/5.png differ diff --git a/direct_send_email_template/static/description/assets/screenshots/6.png b/direct_send_email_template/static/description/assets/screenshots/6.png new file mode 100644 index 000000000..2f43d0a92 Binary files /dev/null and b/direct_send_email_template/static/description/assets/screenshots/6.png differ diff --git a/direct_send_email_template/static/description/assets/screenshots/7.png b/direct_send_email_template/static/description/assets/screenshots/7.png new file mode 100644 index 000000000..5d964ca1a Binary files /dev/null and b/direct_send_email_template/static/description/assets/screenshots/7.png differ diff --git a/direct_send_email_template/static/description/assets/screenshots/8.png b/direct_send_email_template/static/description/assets/screenshots/8.png new file mode 100644 index 000000000..a8c203127 Binary files /dev/null and b/direct_send_email_template/static/description/assets/screenshots/8.png differ diff --git a/direct_send_email_template/static/description/assets/screenshots/9.png b/direct_send_email_template/static/description/assets/screenshots/9.png new file mode 100644 index 000000000..27f16b836 Binary files /dev/null and b/direct_send_email_template/static/description/assets/screenshots/9.png differ diff --git a/direct_send_email_template/static/description/assets/screenshots/hero.gif b/direct_send_email_template/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..8feb76ba6 Binary files /dev/null and b/direct_send_email_template/static/description/assets/screenshots/hero.gif differ diff --git a/direct_send_email_template/static/description/banner.png b/direct_send_email_template/static/description/banner.png new file mode 100644 index 000000000..6c3cfcded Binary files /dev/null and b/direct_send_email_template/static/description/banner.png differ diff --git a/direct_send_email_template/static/description/icon.png b/direct_send_email_template/static/description/icon.png new file mode 100644 index 000000000..c936e190a Binary files /dev/null and b/direct_send_email_template/static/description/icon.png differ diff --git a/direct_send_email_template/static/description/index.html b/direct_send_email_template/static/description/index.html new file mode 100644 index 000000000..5d4e59f6f --- /dev/null +++ b/direct_send_email_template/static/description/index.html @@ -0,0 +1,834 @@ + + + + + + Odoo App 3 Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+
+

+ Direct Send Email

+

+ Send an email directly to the Customer/Vendor. +

+
+ +
+
+
+
+
+

+ Key Highlights +

+
+
+
+
+
+ +
+
+

+ Direct Mailing of Sale Quotation, Sale + Order.

+
+
+
+
+
+
+ +
+
+

+ Direct Mailing of Invoice, Credit note, Bill and + Refund.

+
+
+
+
+
+
+ +
+
+

+ Direct Mailing of Request for Quotation and + Purchase Order.

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

+ Sales +

+
+
+
+
+
+ +
+
+

+ Set default Sale email template

+

+ Go to Settings -> Enable "Direct Send By + Email" + -> Select Email Template for Quotation and + Sale Order.

+
+
+
+
+
+
+ +
+
+

+ Direct Send By Sale.

+

+ By clicking the " Direct Send" button, the + customer will receive an email with the + default sales template.

+
+
+
+
+
+
+ +
+
+

+ Email Send.

+

+ Email sent to customer/vendor based on set + default email template.

+
+
+
+
+
+

+ Purchases

+
+
+
+
+
+ +
+
+

+ Set default Purchase email template.

+

+ Go to Settings -> Enable "Direct Send By + Email" + -> Select Email Template for Request for + Quotation and Purchase Order.

+
+
+
+
+
+
+ +
+
+

+ Direct Send By Purchase.

+

+ By clicking the " Direct Send" button, the + customer will receive an email with the + default purchase template.

+
+
+
+
+
+
+ +
+
+

+ Email Send

+

+ Email sent to customer/vendor based on set + default email template.

+
+
+
+
+
+

+ Invoices +

+
+
+
+
+
+ +
+
+

+ Set default Invoice email template.

+

+ Go to Settings -> Enable "Direct Send By + Email" + -> Select Email Template for Customer + Invoice, Credit Note, Vendor Bill and + Refund.

+
+
+
+
+
+
+ +
+
+

+ Direct Send By Invoice.

+

+ By clicking the " Direct Send" button, the + customer will receive an email with the + default invoice template.

+
+
+
+
+
+
+ +
+
+

+ Email Send

+

+ Email sent to customer/vendor based on set + default email template.

+
+
+
+
+
+
+
    +
  • + Available in Odoo 17.0 Community and Enterprise. +
  • +
  • + Direct Send Email +
      +
    • The Direct Send Email module helps you + to send the default email template + directly to the Customer/Vendor. +
    • +
    +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:7th February 2024 +
+

+ Initial Commit for Direct Send Email +

+
+
+
+
+
+
+
+

+ Related Products

+
+
+ +
+
+

+ Our Services

+
+
+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Customization

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Support

+
+
+
+
+
+
+ service-icon +
+
+

Hire + Odoo Developer

+
+
+
+
+ +
+
+ service-icon +
+
+

Odoo + Integration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Migration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Consultancy

+
+
+
+
+
+
+ service-icon +
+
+

Odoo + Implementation

+
+
+
+
+
+
+ service-icon +
+
+

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 + 99456767686 +
+
+
+
+
+
+
+
+
+ + + + + + diff --git a/direct_send_email_template/views/account_move_views.xml b/direct_send_email_template/views/account_move_views.xml new file mode 100644 index 000000000..dc1803ece --- /dev/null +++ b/direct_send_email_template/views/account_move_views.xml @@ -0,0 +1,39 @@ + + + + + account.move.view.form.inherit.direct.send.email.template + account.move + + + +