diff --git a/direct_send_email_template/README.rst b/direct_send_email_template/README.rst new file mode 100755 index 000000000..df50c9d65 --- /dev/null +++ b/direct_send_email_template/README.rst @@ -0,0 +1,40 @@ +Direct Send Email +================= +* Direct Send Email module for Odoo 16. + +Installation +============ + - www.odoo.com/documentation/16.0/setup/install.html + - Install our custom addon + +License +------- +General Public License, Version 3 (LGPL v3). +(https://www.odoo.com/documentation/user/16.0/legal/licenses/licenses.html) + +Company +------- +* 'Cybrosys Techno Solutions '__ + +Credits +------- +* Developer: Gion D @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 +========== +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit https://www.cybrosys.com + +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..b604a293c --- /dev/null +++ b/direct_send_email_template/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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..9295664a9 --- /dev/null +++ b/direct_send_email_template/__manifest__.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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': '16.0.1.0.0', + 'summary': """Send an email directly to the Customer/Vendor.""", + "category": "Sales/Sales", + '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..caa322cff --- /dev/null +++ b/direct_send_email_template/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 11.04.2023 +#### Version 16.0.1.0.0 +#### ADD +- Initial commit for Direct Send Email Module \ No newline at end of file diff --git a/direct_send_email_template/models/__init__.py b/direct_send_email_template/models/__init__.py new file mode 100644 index 000000000..76f206f9f --- /dev/null +++ b/direct_send_email_template/models/__init__.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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 res_config_settings +from . import account_move +from . import purchase_order +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..f35767131 --- /dev/null +++ b/direct_send_email_template/models/account_move.py @@ -0,0 +1,80 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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_template(template_id.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..e50f954c7 --- /dev/null +++ b/direct_send_email_template/models/purchase_order.py @@ -0,0 +1,68 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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_template(template_id.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..dfe741bfe --- /dev/null +++ b/direct_send_email_template/models/res_config_settings.py @@ -0,0 +1,134 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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 api, 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") + direct_send_mailtemplate_sq = fields.Many2one( + comodel_name='mail.template', string='Quotation Email Template', + domain="[('model', '=', 'sale.order')]", + help='Email Template for Sale Quoatation') + 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') + is_direct_send_email_purchase = fields.Boolean(string="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') + 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') + is_direct_send_email_account = fields.Boolean(string="Direct Send Email Invoice") + direct_send_mailtemplate_inv = fields.Many2one( + comodel_name='mail.template', string='Invoice Email Template', + domain="[('model', '=', 'account.move')]", + help='Email Template for Customer Invoice') + 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') + direct_send_mailtemplate_bill = fields.Many2one( + comodel_name='mail.template', string='Bills Email Template', + domain="[('model', '=', 'account.move')]", + help='Email Template for Vendor 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') + + def set_values(self): + """ save values in the settings direct send email fields""" + super(ResConfig, self).set_values() + self.env['ir.config_parameter'].set_param( + 'direct_send_email_template.is_direct_send_email_sale', + self.is_direct_send_email_sale) + self.env['ir.config_parameter'].set_param( + 'direct_send_email_template.direct_send_mailtemplate_sq', + self.direct_send_mailtemplate_sq.id) + self.env['ir.config_parameter'].set_param( + 'direct_send_email_template.direct_send_mailtemplate_so', + self.direct_send_mailtemplate_so.id) + self.env['ir.config_parameter'].set_param( + 'direct_send_email_template.is_direct_send_email_purchase', + self.is_direct_send_email_purchase) + self.env['ir.config_parameter'].set_param( + 'direct_send_email_template.direct_send_mailtemplate_prfq', + self.direct_send_mailtemplate_prfq.id) + self.env['ir.config_parameter'].set_param( + 'direct_send_email_template.direct_send_mailtemplate_po', + self.direct_send_mailtemplate_po.id) + self.env['ir.config_parameter'].set_param( + 'direct_send_email_template.is_direct_send_email_account', + self.is_direct_send_email_account) + self.env['ir.config_parameter'].set_param( + 'direct_send_email_template.direct_send_mailtemplate_inv', + self.direct_send_mailtemplate_inv.id) + self.env['ir.config_parameter'].set_param( + 'direct_send_email_template.direct_send_mailtemplate_credit', + self.direct_send_mailtemplate_credit.id) + self.env['ir.config_parameter'].set_param( + 'direct_send_email_template.direct_send_mailtemplate_bill', + self.direct_send_mailtemplate_bill.id) + self.env['ir.config_parameter'].set_param( + 'direct_send_email_template.direct_send_mailtemplate_refund', + self.direct_send_mailtemplate_refund.id) + + @api.model + def get_values(self): + """ Get values for direct send email fields in the settings + and assign the value to that fields""" + res = super(ResConfig, self).get_values() + params = self.env['ir.config_parameter'].sudo() + res.update( + is_direct_send_email_sale=params.get_param( + 'direct_send_email_template.is_direct_send_email_sale'), + direct_send_mailtemplate_sq=int( + params.get_param('direct_send_email_template.direct_send_mailtemplate_sq')), + direct_send_mailtemplate_so=int( + params.get_param('direct_send_email_template.direct_send_mailtemplate_so')), + is_direct_send_email_purchase=params.get_param( + 'direct_send_email_template.is_direct_send_email_purchase'), + direct_send_mailtemplate_po=int( + params.get_param('direct_send_email_template.direct_send_mailtemplate_po')), + direct_send_mailtemplate_prfq=int( + params.get_param('direct_send_email_template.direct_send_mailtemplate_prfq')), + is_direct_send_email_account=params.get_param( + 'direct_send_email_template.is_direct_send_email_account'), + direct_send_mailtemplate_inv=int( + params.get_param('direct_send_email_template.direct_send_mailtemplate_inv')), + direct_send_mailtemplate_credit=int( + params.get_param('direct_send_email_template.direct_send_mailtemplate_credit')), + direct_send_mailtemplate_bill=int( + params.get_param('direct_send_email_template.direct_send_mailtemplate_bill')), + direct_send_mailtemplate_refund=int( + params.get_param('direct_send_email_template.direct_send_mailtemplate_refund')), + ) + return res 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..eab8ef10d --- /dev/null +++ b/direct_send_email_template/models/sale_order.py @@ -0,0 +1,66 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2023-TODAY Cybrosys Technologies() +# Author: Cybrosys Techno Solutions() +# +# 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_template(template_id.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/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/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/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/categories.png b/direct_send_email_template/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/direct_send_email_template/static/description/assets/misc/categories.png differ diff --git a/direct_send_email_template/static/description/assets/misc/check-box.png b/direct_send_email_template/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/direct_send_email_template/static/description/assets/misc/check-box.png differ diff --git a/direct_send_email_template/static/description/assets/misc/compass.png b/direct_send_email_template/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/direct_send_email_template/static/description/assets/misc/compass.png differ diff --git a/direct_send_email_template/static/description/assets/misc/corporate.png b/direct_send_email_template/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/direct_send_email_template/static/description/assets/misc/corporate.png differ diff --git a/direct_send_email_template/static/description/assets/misc/customer-support.png b/direct_send_email_template/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/direct_send_email_template/static/description/assets/misc/customer-support.png differ diff --git a/direct_send_email_template/static/description/assets/misc/cybrosys-logo.png b/direct_send_email_template/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/direct_send_email_template/static/description/assets/misc/cybrosys-logo.png differ diff --git a/direct_send_email_template/static/description/assets/misc/features.png b/direct_send_email_template/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/direct_send_email_template/static/description/assets/misc/features.png differ diff --git a/direct_send_email_template/static/description/assets/misc/logo.png b/direct_send_email_template/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/direct_send_email_template/static/description/assets/misc/logo.png differ diff --git a/direct_send_email_template/static/description/assets/misc/pictures.png b/direct_send_email_template/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/direct_send_email_template/static/description/assets/misc/pictures.png differ diff --git a/direct_send_email_template/static/description/assets/misc/pie-chart.png b/direct_send_email_template/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/direct_send_email_template/static/description/assets/misc/pie-chart.png differ diff --git a/direct_send_email_template/static/description/assets/misc/right-arrow.png b/direct_send_email_template/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/direct_send_email_template/static/description/assets/misc/right-arrow.png differ diff --git a/direct_send_email_template/static/description/assets/misc/star.png b/direct_send_email_template/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/direct_send_email_template/static/description/assets/misc/star.png differ diff --git a/direct_send_email_template/static/description/assets/misc/support.png b/direct_send_email_template/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/direct_send_email_template/static/description/assets/misc/support.png differ diff --git a/direct_send_email_template/static/description/assets/misc/whatsapp.png b/direct_send_email_template/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/direct_send_email_template/static/description/assets/misc/whatsapp.png differ 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..5238bdeab 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..1ae7cfe3b 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..3c3ff1afb 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..3fae4631e 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/6.png b/direct_send_email_template/static/description/assets/modules/6.png new file mode 100644 index 000000000..7f2815273 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/dse_1.png b/direct_send_email_template/static/description/assets/screenshots/dse_1.png new file mode 100644 index 000000000..9d056a713 Binary files /dev/null and b/direct_send_email_template/static/description/assets/screenshots/dse_1.png differ diff --git a/direct_send_email_template/static/description/assets/screenshots/dse_2.png b/direct_send_email_template/static/description/assets/screenshots/dse_2.png new file mode 100644 index 000000000..8b307cdb4 Binary files /dev/null and b/direct_send_email_template/static/description/assets/screenshots/dse_2.png differ diff --git a/direct_send_email_template/static/description/assets/screenshots/dse_3.png b/direct_send_email_template/static/description/assets/screenshots/dse_3.png new file mode 100644 index 000000000..d7aded3ab Binary files /dev/null and b/direct_send_email_template/static/description/assets/screenshots/dse_3.png differ diff --git a/direct_send_email_template/static/description/assets/screenshots/dse_4.png b/direct_send_email_template/static/description/assets/screenshots/dse_4.png new file mode 100644 index 000000000..3fb995081 Binary files /dev/null and b/direct_send_email_template/static/description/assets/screenshots/dse_4.png differ diff --git a/direct_send_email_template/static/description/assets/screenshots/dse_5.png b/direct_send_email_template/static/description/assets/screenshots/dse_5.png new file mode 100644 index 000000000..5182dd924 Binary files /dev/null and b/direct_send_email_template/static/description/assets/screenshots/dse_5.png differ diff --git a/direct_send_email_template/static/description/assets/screenshots/dse_6.png b/direct_send_email_template/static/description/assets/screenshots/dse_6.png new file mode 100644 index 000000000..f2b4b6de6 Binary files /dev/null and b/direct_send_email_template/static/description/assets/screenshots/dse_6.png differ diff --git a/direct_send_email_template/static/description/assets/screenshots/dse_7.png b/direct_send_email_template/static/description/assets/screenshots/dse_7.png new file mode 100644 index 000000000..2c2cf4648 Binary files /dev/null and b/direct_send_email_template/static/description/assets/screenshots/dse_7.png differ diff --git a/direct_send_email_template/static/description/assets/screenshots/dse_8.png b/direct_send_email_template/static/description/assets/screenshots/dse_8.png new file mode 100644 index 000000000..865f1fa0f Binary files /dev/null and b/direct_send_email_template/static/description/assets/screenshots/dse_8.png differ diff --git a/direct_send_email_template/static/description/assets/screenshots/dse_9.png b/direct_send_email_template/static/description/assets/screenshots/dse_9.png new file mode 100644 index 000000000..2b9868c5c Binary files /dev/null and b/direct_send_email_template/static/description/assets/screenshots/dse_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..07a03fd45 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..fa1717f3b 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..0174bcd8e 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..2b9a4d427 --- /dev/null +++ b/direct_send_email_template/static/description/index.html @@ -0,0 +1,628 @@ +
+ +
+ +
+
+ Community +
+ + + + + + + + + + +
+
+ +
+
+
+ +

+ Direct Send Email

+

Send an email directly to the Customer/Vendor.

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

Explore This + Module

+
+ + + + +
+
+ +
+

Overview +

+
+
+
+ The Direct Send Email module helps you to send the default email template directly to the Customer/Vendor.

+ +
+
+ + + +
+
+ +
+

Features +

+
+
+
+
+ + Direct Mail Sale Quotation Send + +
+
+ + Direct Mail Sale Order Send +
+ + + + +
+ + Direct Mail Invoice Send +
+
+ + Direct Mail Credit Note Send +
+
+
+ +
+ + Direct Mail Request for Quotation Send +
+ +
+ + Direct Mail Purchase Order Send +
+ + + + + + +
+ + Direct Mail Bill Send +
+ +
+ + Direct Mail Refund Send +
+ +
+
+ + + +
+
+ +
+

Screenshots +

+
+
+
+ +
+

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.

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

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/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..e75cd0ff0 --- /dev/null +++ b/direct_send_email_template/views/account_move_views.xml @@ -0,0 +1,30 @@ + + + + + account.move.button + account.move + + + +