@ -0,0 +1 @@ |
|||||
|
.wickedpicker{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-shadow:0 0 0 1px rgba(14,41,57,.12),0 2px 5px rgba(14,41,57,.44),inset 0 -1px 2px rgba(14,41,57,.15);background:#fefefe;margin:0 auto;border-radius:.1px;width:270px;height:130px;font-size:14px;display:none}.wickedpicker__title{background-image:-webkit-linear-gradient(top,#fff 0,#f2f2f2 100%);position:relative;background:#f2f2f2;margin:0 auto;border-bottom:1px solid #e5e5e5;padding:12px 11px 10px 15px;color:#4C4C4C;font-size:inherit}.wickedpicker__close{-webkit-transform:translateY(-25%);-moz-transform:translateY(-25%);-ms-transform:translateY(-25%);-o-transform:translateY(-25%);transform:translateY(-25%);position:absolute;top:25%;right:10px;color:#34495e;cursor:pointer}.wickedpicker__close:before{content:'\00d7'}.wickedpicker__controls{padding:10px 0;line-height:normal;margin:0}.wickedpicker__controls__control,.wickedpicker__controls__control--separator{vertical-align:middle;display:inline-block;font-size:inherit;margin:0 auto;width:35px;letter-spacing:1.3px}.wickedpicker__controls__control-down,.wickedpicker__controls__control-up{color:#34495e;position:relative;display:block;margin:3px auto;font-size:18px;cursor:pointer}.wickedpicker__controls__control-up:before{content:'\e800'}.wickedpicker__controls__control-down:after{content:'\e801'}.wickedpicker__controls__control--separator{width:5px}.text-center,.wickedpicker__controls,.wickedpicker__controls__control,.wickedpicker__controls__control--separator,.wickedpicker__controls__control-down,.wickedpicker__controls__control-up,.wickedpicker__title{text-align:center}.hover-state{color:#3498db}@font-face{font-family:fontello;src:url(../fonts/fontello.eot?52602240);src:url(../fonts/fontello.eot?52602240#iefix) format("embedded-opentype"),url(../fonts/fontello.woff?52602240) format("woff"),url(../fonts/fontello.ttf?52602240) format("truetype"),url(../fonts/fontello.svg?52602240#fontello) format("svg");font-weight:400;font-style:normal}.fontello-after:after,.fontello:before,.wickedpicker__controls__control-down:after,.wickedpicker__controls__control-up:before{font-family:fontello;font-style:normal;font-weight:400;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale} |
@ -0,0 +1,315 @@ |
|||||
|
! function($, window, document) { |
||||
|
"use strict"; |
||||
|
|
||||
|
function Wickedpicker(e, t) { |
||||
|
this.element = $(e), this.options = $.extend({}, defaults, t), this.element.addClass("hasWickedpicker"), this.element.attr("onkeypress", "return false;"), this.element.attr("aria-showingpicker", "false"), this.createPicker(), this.timepicker = $(".wickedpicker"), this.up = $("." + this.options.upArrow.split(/\s+/) |
||||
|
.join(".")), this.down = $("." + this.options.downArrow.split(/\s+/) |
||||
|
.join(".")), this.separator = $(".wickedpicker__controls__control--separator"), this.hoursElem = $(".wickedpicker__controls__control--hours"), this.minutesElem = $(".wickedpicker__controls__control--minutes"), this.secondsElem = $(".wickedpicker__controls__control--seconds"), this.meridiemElem = $(".wickedpicker__controls__control--meridiem"), this.close = $("." + this.options.close.split(/\s+/) |
||||
|
.join(".")); |
||||
|
var i = this.timeArrayFromString(this.options.now); |
||||
|
this.options.now = new Date(today.getFullYear(), today.getMonth(), today.getDate(), i[0], i[1], i[2]), this.selectedHour = this.parseHours(this.options.now.getHours()), this.selectedMin = this.parseSecMin(this.options.now.getMinutes()), this.selectedSec = this.parseSecMin(this.options.now.getSeconds()), this.selectedMeridiem = this.parseMeridiem(this.options.now.getHours()), this.setHoverState(), this.attach(e), this.setText(e) |
||||
|
} |
||||
|
"function" != typeof String.prototype.endsWith && (String.prototype.endsWith = function(e) { |
||||
|
return e.length > 0 && this.substring(this.length - e.length, this.length) === e |
||||
|
}); |
||||
|
var isMobile = function() { |
||||
|
return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) |
||||
|
}, |
||||
|
today = new Date, |
||||
|
pluginName = "wickedpicker", |
||||
|
defaults = { |
||||
|
now: today.getHours() + ":" + today.getMinutes(), |
||||
|
twentyFour: !1, |
||||
|
upArrow: "wickedpicker__controls__control-up", |
||||
|
downArrow: "wickedpicker__controls__control-down", |
||||
|
close: "wickedpicker__close", |
||||
|
hoverState: "hover-state", |
||||
|
title: "Timepicker", |
||||
|
showSeconds: !1, |
||||
|
timeSeparator: " : ", |
||||
|
secondsInterval: 1, |
||||
|
minutesInterval: 1, |
||||
|
beforeShow: null, |
||||
|
afterShow: null, |
||||
|
show: null, |
||||
|
clearable: !1, |
||||
|
closeOnClickOutside: !0, |
||||
|
onClickOutside: function() {} |
||||
|
}; |
||||
|
$.extend(Wickedpicker.prototype, { |
||||
|
showPicker: function(e) { |
||||
|
"function" == typeof this.options.beforeShow && this.options.beforeShow(e, this.timepicker); |
||||
|
var t = $(e) |
||||
|
.offset(); |
||||
|
if($(e) |
||||
|
.attr({ |
||||
|
"aria-showingpicker": "true", |
||||
|
tabindex: -1 |
||||
|
}), this.setText(e), this.showHideMeridiemControl(), this.getText(e) !== this.getTime()) { |
||||
|
var i = this.getText(e), |
||||
|
s = /\s[ap]m$/i, |
||||
|
o = s.test(i) ? i.substr(-2, 2) : null, |
||||
|
n = i.replace(s, "") |
||||
|
.split(this.options.timeSeparator), |
||||
|
r = {}; |
||||
|
r.hours = n[0], r.minutes = n[1], r.meridiem = o, this.options.showSeconds && (r.seconds = n[2]), this.setTime(r) |
||||
|
} |
||||
|
this.timepicker.css({ |
||||
|
"z-index": this.element.css("z-index") + 1, |
||||
|
position: "absolute", |
||||
|
left: t.left, |
||||
|
top: t.top + $(e)[0].offsetHeight |
||||
|
}) |
||||
|
.show(), "function" == typeof this.options.show && this.options.show(e, this.timepicker), this.handleTimeAdjustments(e) |
||||
|
}, |
||||
|
hideTimepicker: function(e) { |
||||
|
this.timepicker.hide(), "function" == typeof this.options.afterShow && this.options.afterShow(e, this.timepicker), { |
||||
|
start: function() { |
||||
|
var e = $.Deferred(); |
||||
|
return $('[aria-showingpicker="true"]') |
||||
|
.attr("aria-showingpicker", "false"), e.promise() |
||||
|
} |
||||
|
}.start() |
||||
|
.then(function(e) { |
||||
|
setTimeout(function() { |
||||
|
$('[aria-showingpicker="false"]') |
||||
|
.attr("tabindex", e) |
||||
|
}, 400) |
||||
|
}(0)) |
||||
|
}, |
||||
|
createPicker: function() { |
||||
|
if(0 === $(".wickedpicker") |
||||
|
.length) { |
||||
|
var e = '<div class="wickedpicker"><p class="wickedpicker__title">' + this.options.title + '<span class="wickedpicker__close"></span></p><ul class="wickedpicker__controls"><li class="wickedpicker__controls__control"><span class="' + this.options.upArrow + '"></span><span class="wickedpicker__controls__control--hours" tabindex="-1">00</span><span class="' + this.options.downArrow + '"></span></li><li class="wickedpicker__controls__control--separator"><span class="wickedpicker__controls__control--separator-inner">:</span></li><li class="wickedpicker__controls__control"><span class="' + this.options.upArrow + '"></span><span class="wickedpicker__controls__control--minutes" tabindex="-1">00</span><span class="' + this.options.downArrow + '"></span></li>'; |
||||
|
this.options.showSeconds && (e += '<li class="wickedpicker__controls__control--separator"><span class="wickedpicker__controls__control--separator-inner">:</span></li><li class="wickedpicker__controls__control"><span class="' + this.options.upArrow + '"></span><span class="wickedpicker__controls__control--seconds" tabindex="-1">00</span><span class="' + this.options.downArrow + '"></span> </li>'), e += '<li class="wickedpicker__controls__control"><span class="' + this.options.upArrow + '"></span><span class="wickedpicker__controls__control--meridiem" tabindex="-1">AM</span><span class="' + this.options.downArrow + '"></span></li></ul></div>', $("body") |
||||
|
.append(e), this.attachKeyboardEvents() |
||||
|
} |
||||
|
}, |
||||
|
showHideMeridiemControl: function() { |
||||
|
!1 === this.options.twentyFour ? $(this.meridiemElem) |
||||
|
.parent() |
||||
|
.show() : $(this.meridiemElem) |
||||
|
.parent() |
||||
|
.hide() |
||||
|
}, |
||||
|
showHideSecondsControl: function() { |
||||
|
this.options.showSeconds ? $(this.secondsElem) |
||||
|
.parent() |
||||
|
.show() : $(this.secondsElem) |
||||
|
.parent() |
||||
|
.hide() |
||||
|
}, |
||||
|
attach: function(e) { |
||||
|
var t = this; |
||||
|
this.options.clearable && t.makePickerInputClearable(e), $(e) |
||||
|
.attr("tabindex", 0), $(e) |
||||
|
.on("click focus", function(e) { |
||||
|
$(t.timepicker) |
||||
|
.is(":hidden") && (t.showPicker($(this)), window.lastTimePickerControl = $(this), $(t.hoursElem) |
||||
|
.focus()) |
||||
|
}); |
||||
|
var i = function(e) { |
||||
|
if($(t.timepicker) |
||||
|
.is(":visible")) { |
||||
|
if($(e.target) |
||||
|
.is(t.close)) t.hideTimepicker(window.lastTimePickerControl); |
||||
|
else if($(e.target) |
||||
|
.closest(t.timepicker) |
||||
|
.length || $(e.target) |
||||
|
.closest($(".hasWickedpicker")) |
||||
|
.length) e.stopPropagation(); |
||||
|
else { |
||||
|
if("function" == typeof t.options.onClickOutside ? t.options.onClickOutside() : console.warn("Type of onClickOutside must be a function"), !t.options.closeOnClickOutside) return; |
||||
|
t.hideTimepicker(window.lastTimePickerControl) |
||||
|
} |
||||
|
window.lastTimePickerControl = null |
||||
|
} |
||||
|
}; |
||||
|
$(document) |
||||
|
.off("click", i) |
||||
|
.on("click", i) |
||||
|
}, |
||||
|
attachKeyboardEvents: function() { |
||||
|
$(document) |
||||
|
.on("keydown", $.proxy(function(e) { |
||||
|
switch(e.keyCode) { |
||||
|
case 9: |
||||
|
"hasWickedpicker" !== e.target.className && $(this.close) |
||||
|
.trigger("click"); |
||||
|
break; |
||||
|
case 27: |
||||
|
$(this.close) |
||||
|
.trigger("click"); |
||||
|
break; |
||||
|
case 37: |
||||
|
e.target.className !== this.hoursElem[0].className ? $(e.target) |
||||
|
.parent() |
||||
|
.prevAll("li") |
||||
|
.not(this.separator.selector) |
||||
|
.first() |
||||
|
.children()[1].focus() : $(e.target) |
||||
|
.parent() |
||||
|
.siblings(":last") |
||||
|
.children()[1].focus(); |
||||
|
break; |
||||
|
case 39: |
||||
|
e.target.className !== this.meridiemElem[0].className ? $(e.target) |
||||
|
.parent() |
||||
|
.nextAll("li") |
||||
|
.not(this.separator.selector) |
||||
|
.first() |
||||
|
.children()[1].focus() : $(e.target) |
||||
|
.parent() |
||||
|
.siblings(":first") |
||||
|
.children()[1].focus(); |
||||
|
break; |
||||
|
case 38: |
||||
|
$(":focus") |
||||
|
.prev() |
||||
|
.trigger("click"); |
||||
|
break; |
||||
|
case 40: |
||||
|
$(":focus") |
||||
|
.next() |
||||
|
.trigger("click") |
||||
|
} |
||||
|
}, this)) |
||||
|
}, |
||||
|
setTime: function(e) { |
||||
|
this.setHours(e.hours), this.setMinutes(e.minutes), this.setMeridiem(e.meridiem), this.options.showSeconds && this.setSeconds(e.seconds) |
||||
|
}, |
||||
|
getTime: function() { |
||||
|
return [this.formatTime(this.getHours(), this.getMinutes(), this.getMeridiem(), this.getSeconds())] |
||||
|
}, |
||||
|
setHours: function(e) { |
||||
|
var t = new Date; |
||||
|
t.setHours(e); |
||||
|
var i = this.parseHours(t.getHours()); |
||||
|
this.hoursElem.text(i), this.selectedHour = i |
||||
|
}, |
||||
|
getHours: function() { |
||||
|
var e = new Date; |
||||
|
return e.setHours(this.hoursElem.text()), e.getHours() |
||||
|
}, |
||||
|
parseHours: function(e) { |
||||
|
return !1 === this.options.twentyFour ? (e + 11) % 12 + 1 : e < 10 ? "0" + e : e |
||||
|
}, |
||||
|
setMinutes: function(e) { |
||||
|
var t = new Date; |
||||
|
t.setMinutes(e); |
||||
|
var i = t.getMinutes(), |
||||
|
s = this.parseSecMin(i); |
||||
|
this.minutesElem.text(s), this.selectedMin = s |
||||
|
}, |
||||
|
getMinutes: function() { |
||||
|
var e = new Date; |
||||
|
return e.setMinutes(this.minutesElem.text()), e.getMinutes() |
||||
|
}, |
||||
|
parseSecMin: function(e) { |
||||
|
return (e < 10 ? "0" : "") + e |
||||
|
}, |
||||
|
setMeridiem: function(e) { |
||||
|
var t = ""; |
||||
|
t = void 0 === e ? "PM" === this.getMeridiem() ? "AM" : "PM" : e, this.meridiemElem.text(t), this.selectedMeridiem = t |
||||
|
}, |
||||
|
getMeridiem: function() { |
||||
|
return this.meridiemElem.text() |
||||
|
}, |
||||
|
setSeconds: function(e) { |
||||
|
var t = new Date; |
||||
|
t.setSeconds(e); |
||||
|
var i = t.getSeconds(), |
||||
|
s = this.parseSecMin(i); |
||||
|
this.secondsElem.text(s), this.selectedSec = s |
||||
|
}, |
||||
|
getSeconds: function() { |
||||
|
var e = new Date; |
||||
|
return e.setSeconds(this.secondsElem.text()), e.getSeconds() |
||||
|
}, |
||||
|
parseMeridiem: function(e) { |
||||
|
return e > 11 ? "PM" : "AM" |
||||
|
}, |
||||
|
handleTimeAdjustments: function(e) { |
||||
|
var t = 0; |
||||
|
$(this.up) |
||||
|
.add(this.down) |
||||
|
.off("mousedown click touchstart") |
||||
|
.on("mousedown click", { |
||||
|
Wickedpicker: this, |
||||
|
input: e |
||||
|
}, function(e) { |
||||
|
if(1 != e.which) return !1; |
||||
|
var i = this.className.indexOf("up") > -1 ? "+" : "-", |
||||
|
s = e.data; |
||||
|
"mousedown" == e.type ? t = setInterval($.proxy(function(e) { |
||||
|
e.Wickedpicker.changeValue(i, e.input, this) |
||||
|
}, this, { |
||||
|
Wickedpicker: s.Wickedpicker, |
||||
|
input: s.input |
||||
|
}), 200) : s.Wickedpicker.changeValue(i, s.input, this) |
||||
|
}) |
||||
|
.bind("mouseup touchend", function() { |
||||
|
clearInterval(t) |
||||
|
}) |
||||
|
}, |
||||
|
changeValue: function(operator, input, clicked) { |
||||
|
var target = "+" === operator ? clicked.nextSibling : clicked.previousSibling, |
||||
|
targetClass = $(target) |
||||
|
.attr("class"); |
||||
|
targetClass.endsWith("hours") ? this.setHours(eval(this.getHours() + operator + 1)) : targetClass.endsWith("minutes") ? this.setMinutes(eval(this.getMinutes() + operator + this.options.minutesInterval)) : targetClass.endsWith("seconds") ? this.setSeconds(eval(this.getSeconds() + operator + this.options.secondsInterval)) : this.setMeridiem(), this.setText(input) |
||||
|
}, |
||||
|
setText: function(e) { |
||||
|
$(e) |
||||
|
.val(this.formatTime(this.selectedHour, this.selectedMin, this.selectedMeridiem, this.selectedSec)) |
||||
|
.change() |
||||
|
}, |
||||
|
getText: function(e) { |
||||
|
return $(e) |
||||
|
.val() |
||||
|
}, |
||||
|
formatTime: function(e, t, i, s) { |
||||
|
var o = e + this.options.timeSeparator + t; |
||||
|
return this.options.showSeconds && (o += this.options.timeSeparator + s), !1 === this.options.twentyFour && (o += " " + i), o |
||||
|
}, |
||||
|
setHoverState: function() { |
||||
|
var e = this; |
||||
|
isMobile() || $(this.up) |
||||
|
.add(this.down) |
||||
|
.add(this.close) |
||||
|
.hover(function() { |
||||
|
$(this) |
||||
|
.toggleClass(e.options.hoverState) |
||||
|
}) |
||||
|
}, |
||||
|
makePickerInputClearable: function(e) { |
||||
|
$(e) |
||||
|
.wrap('<div class="clearable-picker"></div>') |
||||
|
.after("<span data-clear-picker>×</span>"), $("[data-clear-picker]") |
||||
|
.on("click", function(e) { |
||||
|
$(this) |
||||
|
.siblings(".hasWickedpicker") |
||||
|
.val("") |
||||
|
}) |
||||
|
}, |
||||
|
timeArrayFromString: function(e) { |
||||
|
if(e.length) { |
||||
|
var t = e.split(":"); |
||||
|
return t[2] = t.length < 3 ? "00" : t[2], t |
||||
|
} |
||||
|
return !1 |
||||
|
}, |
||||
|
_time: function() { |
||||
|
var e = $(this.element) |
||||
|
.val(); |
||||
|
return "" === e ? this.formatTime(this.selectedHour, this.selectedMin, this.selectedMeridiem, this.selectedSec) : e |
||||
|
}, |
||||
|
_hide: function() { |
||||
|
this.hideTimepicker(this.element) |
||||
|
} |
||||
|
}), $.fn[pluginName] = function(e, t) { |
||||
|
return $.isFunction(Wickedpicker.prototype["_" + e]) ? $(this) |
||||
|
.hasClass("hasWickedpicker") ? void 0 !== t ? $.data($(this)[t], "plugin_" + pluginName)["_" + e]() : $.data($(this)[0], "plugin_" + pluginName)["_" + e]() : void 0 : this.each(function() { |
||||
|
$.data(this, "plugin_" + pluginName) || $.data(this, "plugin_" + pluginName, new Wickedpicker(this, e)) |
||||
|
}) |
||||
|
} |
||||
|
}(jQuery, window, document); |
@ -0,0 +1,53 @@ |
|||||
|
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg |
||||
|
:target: https://www.gnu.org/licenses/agpl-3.0-standalone.html |
||||
|
:alt: License: AGPL-3 |
||||
|
|
||||
|
Multiple SMS Gateway Integration |
||||
|
================================ |
||||
|
* Module for sending SMS through different SMS gateways. |
||||
|
|
||||
|
Installation |
||||
|
============ |
||||
|
- www.odoo.com/documentation/15.0/setup/install.html |
||||
|
- Install all external dependencies like 'telesign', 'twilio', 'vonage'. |
||||
|
- Install our custom addon |
||||
|
|
||||
|
Configuration |
||||
|
============= |
||||
|
- Add the users to the new security group 'Multiple SMS Gateway Integration / Manager' to give access to |
||||
|
the new menus of Multiple SMS Gateway Integration module. |
||||
|
- Setup the gateways that you would like to use by adding the required credentials. |
||||
|
|
||||
|
License |
||||
|
------- |
||||
|
General Public License, Version 3 (AGPL v3). |
||||
|
(https://www.gnu.org/licenses/agpl-3.0-standalone.html) |
||||
|
|
||||
|
Company |
||||
|
------- |
||||
|
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__ |
||||
|
|
||||
|
Credits |
||||
|
------- |
||||
|
* Developer: (V15) Subina P, Contact: odoo@cybrosys.com |
||||
|
|
||||
|
Contacts |
||||
|
-------- |
||||
|
* Mail Contact : odoo@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 https://www.cybrosys.com |
||||
|
|
||||
|
Further information |
||||
|
=================== |
||||
|
HTML Description: `<static/description/index.html>`__ |
@ -0,0 +1,23 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Subina P (odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from . import models |
||||
|
from . import wizard |
@ -0,0 +1,53 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Subina P (odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
{ |
||||
|
'name': 'Multiple SMS Gateway Integration', |
||||
|
'version': '15.0.1.0.0', |
||||
|
'category': 'Extra Tools', |
||||
|
'summary': 'Module to send SMS through different SMS gateway', |
||||
|
'description': """ |
||||
|
This modules helps to send SMS using different SMS gateways including |
||||
|
Twilio, Vonage, TeleSign""", |
||||
|
'author': 'Cybrosys Techno Solutions', |
||||
|
'company': 'Cybrosys Techno Solutions', |
||||
|
'maintainer': 'Cybrosys Techno Solutions', |
||||
|
'website': 'https://www.cybrosys.com', |
||||
|
'depends': ['base', 'contacts'], |
||||
|
'data': [ |
||||
|
'security/multi_sms_gateway_groups.xml', |
||||
|
'security/sms_history_security.xml', |
||||
|
'security/ir.model.access.csv', |
||||
|
'data/sms_gateway_data.xml', |
||||
|
'views/sms_history_views.xml', |
||||
|
'views/sms_gateway_config_views.xml', |
||||
|
'views/res_partner_views.xml', |
||||
|
'wizard/send_sms_views.xml', |
||||
|
'views/multi_sms_gateway_menus.xml' |
||||
|
], |
||||
|
'external_dependencies': { |
||||
|
'python': ['telesign', 'twilio', 'vonage']}, |
||||
|
'images': ['static/description/banner.jpg'], |
||||
|
'license': 'AGPL-3', |
||||
|
'installable': True, |
||||
|
'auto_install': False, |
||||
|
'application': False |
||||
|
} |
@ -0,0 +1,13 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<!-- Records for SMS Gateway --> |
||||
|
<record id="sms_gateway_twilio" model="sms.gateway"> |
||||
|
<field name="name">twilio</field> |
||||
|
</record> |
||||
|
<record id="sms_gateway_vonage" model="sms.gateway"> |
||||
|
<field name="name">vonage</field> |
||||
|
</record> |
||||
|
<record id="sms_gateway_telesign" model="sms.gateway"> |
||||
|
<field name="name">telesign</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -0,0 +1,7 @@ |
|||||
|
## Module <multi_sms_gateway> |
||||
|
|
||||
|
#### 31.01.2024 |
||||
|
#### Version 15.0.1.0.0 |
||||
|
#### ADD |
||||
|
|
||||
|
- Initial commit for Multiple SMS Gateway Integration |
@ -0,0 +1,26 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Subina P (odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from . import res_partner |
||||
|
from . import sms_connection_params |
||||
|
from . import sms_gateway |
||||
|
from . import sms_gateway_config |
||||
|
from . import sms_history |
@ -0,0 +1,51 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Subina P (odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from odoo import models, _ |
||||
|
|
||||
|
|
||||
|
class ResPartner(models.Model): |
||||
|
""" |
||||
|
Inheriting model 'res.partner' to add the function to send SMS. |
||||
|
Methods: |
||||
|
send_sms(): |
||||
|
Opens the Send SMS wizard. |
||||
|
""" |
||||
|
_inherit = 'res.partner' |
||||
|
|
||||
|
def send_sms(self): |
||||
|
""" |
||||
|
Function to open Send SMS wizard. |
||||
|
Returns: |
||||
|
dict: the action window of 'send.sms'. |
||||
|
""" |
||||
|
record_ids = self.env.context.get('active_ids') |
||||
|
numbers = self.env['res.partner'].browse(record_ids).mapped('phone') |
||||
|
return { |
||||
|
'name': _('Send SMS'), |
||||
|
'type': 'ir.actions.act_window', |
||||
|
'res_model': 'send.sms', |
||||
|
'context': { |
||||
|
'default_sms_to': ','.join([str(numb) for numb in numbers]), |
||||
|
}, |
||||
|
'view_mode': 'form', |
||||
|
'target': 'new' |
||||
|
} |
@ -0,0 +1,40 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Subina P (odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from odoo import fields, models |
||||
|
|
||||
|
|
||||
|
class SmsConnectionParams(models.Model): |
||||
|
""" |
||||
|
Class to add the credentials for establishing the connection with the |
||||
|
gateways. |
||||
|
""" |
||||
|
_name = 'sms.connection.params' |
||||
|
_description = 'SMS Connection' |
||||
|
|
||||
|
name = fields.Char(string='Name', help='Name for the parameter.') |
||||
|
sms_gateway_config_id = fields.Many2one( |
||||
|
'sms.gateway.config', string='Connection ID', |
||||
|
help='Gateway configuration with credentials.') |
||||
|
connection_api = fields.Char( |
||||
|
string='API Method', help='Enter the API method.') |
||||
|
connection_value = fields.Char( |
||||
|
string='Value', help='Connection value for the gateway.') |
@ -0,0 +1,33 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Subina P (odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from odoo import fields, models |
||||
|
|
||||
|
|
||||
|
class SmsGateway(models.Model): |
||||
|
""" |
||||
|
Class to add the gateway providers. |
||||
|
""" |
||||
|
_name = 'sms.gateway' |
||||
|
_description = 'SMS Gateway' |
||||
|
|
||||
|
name = fields.Char(string='Provider Name', |
||||
|
help='Provide the name of the provider.') |
@ -0,0 +1,56 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Subina P (odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from odoo import fields, models |
||||
|
|
||||
|
|
||||
|
class SmsGatewayConfig(models.Model): |
||||
|
""" |
||||
|
Class to save the user credential details for the SMS gateways. |
||||
|
""" |
||||
|
_name = 'sms.gateway.config' |
||||
|
_description = 'SMS Gateway Configuration' |
||||
|
_rec_name = 'gateway_name' |
||||
|
|
||||
|
api_method = fields.Char( |
||||
|
string='API Method', help='The API method that has to be used.') |
||||
|
url = fields.Char( |
||||
|
sring='Gateway URL', help='Gateway URL to send the message.') |
||||
|
connection_ids = fields.One2many( |
||||
|
'sms.connection.params', |
||||
|
'sms_gateway_config_id', string='Parameters', |
||||
|
help='Connection parameters for the SMS gateway.') |
||||
|
sms_gateway_id = fields.Many2one( |
||||
|
'sms.gateway', string='Gateway', help='The SMS Gateway.') |
||||
|
gateway_name = fields.Char( |
||||
|
related='sms_gateway_id.name', help='Gateway Name') |
||||
|
vonage_key = fields.Char(string='Key', help='The key for Vonage') |
||||
|
vonage_secret = fields.Char(string='Secret', help='The secret for Vonage.') |
||||
|
twilio_account_sid = fields.Char( |
||||
|
string='Account SID', help='Account SID for Twilio.') |
||||
|
twilio_auth_token = fields.Char( |
||||
|
string='Auth Token', help='Auth token for Twilio.') |
||||
|
twilio_phone_number = fields.Char( |
||||
|
string='Twilio Number', help='Twilio phone number.') |
||||
|
telesign_customer = fields.Char( |
||||
|
string='TeleSign Customer ID', help='Customer ID for TeleSign.') |
||||
|
telesign_api_key = fields.Char( |
||||
|
string='TeleSign API Key', help='API key for TeleSign') |
@ -0,0 +1,45 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Subina P (odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from odoo import fields, models |
||||
|
|
||||
|
|
||||
|
class SmsHistory(models.Model): |
||||
|
""" |
||||
|
This model stores the details of all the SMS messages that have been |
||||
|
sent, including the gateway name, date of sending, mobile phone number, |
||||
|
and SMS text. |
||||
|
""" |
||||
|
_name = 'sms.history' |
||||
|
_description = 'SMS History' |
||||
|
_rec_name = 'sms_mobile' |
||||
|
|
||||
|
sms_gateway_id = fields.Many2one('sms.gateway', |
||||
|
string='Gateway', |
||||
|
help='The SMS Gateway.') |
||||
|
sms_date = fields.Datetime(string='Date', default=fields.Date().today(), |
||||
|
help='Date of sending message(current day).') |
||||
|
sms_mobile = fields.Char( |
||||
|
string='Mobile Number', help='Phone Number to send SMS.') |
||||
|
sms_text = fields.Text(string='SMS Text', help='The message to be sent.') |
||||
|
company_id = fields.Many2one( |
||||
|
'res.company', string='Company', required=True, |
||||
|
default=lambda self: self.env.company, help='Active company.') |
|
@ -0,0 +1,15 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<!-- Module category for the module to add the security groups --> |
||||
|
<record id="module_category_send_sms" model="ir.module.category" > |
||||
|
<field name="name">Multiple SMS Gateway Integration</field> |
||||
|
<field name="description">Manage user access for Multiple SMS Gateway Integration module</field> |
||||
|
<field name="sequence">20</field> |
||||
|
</record> |
||||
|
<!-- To create a manager security group --> |
||||
|
<record id="multi_sms_gateway_group_manager" model="res.groups"> |
||||
|
<field name="name">Manager</field> |
||||
|
<field name="category_id" ref="module_category_send_sms"/> |
||||
|
<field name="comment">Access to the new menus and records of Multiple SMS Gateway Integration</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -0,0 +1,9 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<!-- Multi-Company rule for SMS History --> |
||||
|
<record id="sms_history_rule_company" model="ir.rule" > |
||||
|
<field name="name">SMS History: Multi-company</field> |
||||
|
<field name="model_id" ref="model_sms_history"/> |
||||
|
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'in', company_ids)]</field> |
||||
|
</record> |
||||
|
</odoo> |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 310 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 576 B |
After Width: | Height: | Size: 733 B |
After Width: | Height: | Size: 911 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 673 B |
After Width: | Height: | Size: 878 B |
After Width: | Height: | Size: 653 B |
After Width: | Height: | Size: 905 B |
After Width: | Height: | Size: 839 B |
After Width: | Height: | Size: 427 B |
After Width: | Height: | Size: 627 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 988 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 589 B |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 967 B |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 5.0 KiB |
After Width: | Height: | Size: 60 KiB |
After Width: | Height: | Size: 59 KiB |
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 58 KiB |
After Width: | Height: | Size: 61 KiB |
After Width: | Height: | Size: 62 KiB |
After Width: | Height: | Size: 116 KiB |
After Width: | Height: | Size: 43 KiB |
After Width: | Height: | Size: 42 KiB |
After Width: | Height: | Size: 44 KiB |
After Width: | Height: | Size: 184 KiB |
After Width: | Height: | Size: 112 KiB |
After Width: | Height: | Size: 112 KiB |
After Width: | Height: | Size: 109 KiB |
After Width: | Height: | Size: 198 KiB |
After Width: | Height: | Size: 64 KiB |
After Width: | Height: | Size: 146 KiB |
After Width: | Height: | Size: 209 KiB |
After Width: | Height: | Size: 833 KiB |
After Width: | Height: | Size: 104 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 138 KiB |
After Width: | Height: | Size: 239 KiB |
After Width: | Height: | Size: 736 KiB |
After Width: | Height: | Size: 78 KiB |
After Width: | Height: | Size: 73 KiB |
After Width: | Height: | Size: 176 KiB |
After Width: | Height: | Size: 174 KiB |
After Width: | Height: | Size: 144 KiB |
After Width: | Height: | Size: 100 KiB |
After Width: | Height: | Size: 148 KiB |
After Width: | Height: | Size: 219 KiB |
After Width: | Height: | Size: 220 KiB |
After Width: | Height: | Size: 197 KiB |
After Width: | Height: | Size: 330 KiB |
After Width: | Height: | Size: 263 KiB |
After Width: | Height: | Size: 87 KiB |
After Width: | Height: | Size: 8.4 KiB |
@ -0,0 +1,799 @@ |
|||||
|
<div style="background-color: #714B67; height: 810px; width: 100%; padding: 15px; position: relative;"> |
||||
|
<!-- TITLE BAR --> |
||||
|
<div class="d-flex align-items-center justify-content-between" |
||||
|
style="border-bottom: 1px solid #875A7B; padding: 15px; display: flex; justify-content: space-between; align-items: center;"> |
||||
|
<img src="assets/misc/cybrosys-logo.png" width="42" height="42" |
||||
|
style="width: 42px; height: 42px;"/> |
||||
|
<div> |
||||
|
<div style="color: #7C7BAD; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;" |
||||
|
class="mr-2"> |
||||
|
<i class="fa fa-check mr-1"></i>Community |
||||
|
</div> |
||||
|
<div style="color: #875A7B; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;" |
||||
|
class="mr-2"> |
||||
|
<i class="fa fa-check mr-1"></i>Enterprise |
||||
|
</div> |
||||
|
<div style="color: #017E84; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;" |
||||
|
class="mr-2"> |
||||
|
<i class="fa fa-check mr-1"></i>Odoo.sh |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF TITLE BAR --> |
||||
|
<div class="container"> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12 col-md-12 col-lg-12"> |
||||
|
<!-- APP HERO --> |
||||
|
<h1 style="color: #FFFFFF; font-weight: bolder; font-size: 50px; text-align: center; margin-top: 50px;"> |
||||
|
Multiple SMS Gateway Integration |
||||
|
</h1> |
||||
|
<p style="color:#FFFFFF; padding: 8px 15px; text-align: center; font-size: 24px;"> |
||||
|
This Module Helps To Send SMS through different SMS Gateways |
||||
|
</p> |
||||
|
<img src="assets/screenshots/hero.gif" class="img-responsive" |
||||
|
style="width: 100%; margin-left: auto; margin-right: auto;"/> |
||||
|
<!-- END OF APP HERO --> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<!-- NAVIGATION SECTION --> |
||||
|
<div class="d-flex align-items-center" |
||||
|
style="border-bottom: 2px solid #714B67; padding: 15px 0px; margin-top: 300px;"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="assets/misc/compass.png"/> |
||||
|
</div> |
||||
|
<h2 class="mt-2" |
||||
|
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
||||
|
Explore This Module |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="row my-4" style="font-family: 'Montserrat', sans-serif;"> |
||||
|
<div class="col-sm-12 col-md-6 my-3"> |
||||
|
<a href="#overview"> |
||||
|
<div class="d-flex justify-content-between align-items-center" |
||||
|
style="background-color: #f5f5f5; padding: 30px; width: 100%;"> |
||||
|
<div> |
||||
|
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Overview</span> |
||||
|
<span style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;"> |
||||
|
Learn more about this module |
||||
|
</span> |
||||
|
</div> |
||||
|
<img src="assets/misc/right-arrow.png" width="36" height="36"/> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-sm-12 col-md-6 my-3"> |
||||
|
<a href="#features"> |
||||
|
<div class="d-flex justify-content-between align-items-center" |
||||
|
style="background-color: #f5f5f5; padding: 30px; width: 100%;"> |
||||
|
<div> |
||||
|
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Features</span> |
||||
|
<span style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;"> |
||||
|
View features of this module |
||||
|
</span> |
||||
|
</div> |
||||
|
<img src="assets/misc/right-arrow.png" width="36" height="36"/> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-sm-12 col-md-6 my-3"> |
||||
|
<a href="#screenshots"> |
||||
|
<div class="d-flex justify-content-between align-items-center" |
||||
|
style="background-color: #f5f5f5; padding: 30px; width: 100%;"> |
||||
|
<div> |
||||
|
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Screenshots</span> |
||||
|
<span style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;"> |
||||
|
View screenshots for this module |
||||
|
</span> |
||||
|
</div> |
||||
|
<img src="assets/misc/right-arrow.png" width="36" height="36"/> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF NAVIGATION SECTION --> |
||||
|
|
||||
|
<!-- OVERVIEW SECTION --> |
||||
|
<div class="d-flex align-items-center" |
||||
|
style="border-bottom: 2px solid #714B67; padding: 15px 0px;" id="overview"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="assets/misc/pie-chart.png"/> |
||||
|
</div> |
||||
|
<h2 class="mt-2" |
||||
|
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
||||
|
Overview |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="row" |
||||
|
style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;"> |
||||
|
<div class="col-sm-12 py-4"> |
||||
|
This module helps to sent SMS to the customer with the help of |
||||
|
different SMS Gateways. The module mainly uses the Gateways |
||||
|
Twilio, Vonage, TeleSign. |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF OVERVIEW SECTION --> |
||||
|
|
||||
|
<!-- FEATURES SECTION --> |
||||
|
<div class="d-flex align-items-center" |
||||
|
style="border-bottom: 2px solid #714B67; padding: 15px 0px;" id="features"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="assets/misc/features.png"/> |
||||
|
</div> |
||||
|
<h2 class="mt-2" |
||||
|
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
||||
|
Features |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="row" |
||||
|
style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;"> |
||||
|
<div class="col-sm-12 col-md-6"> |
||||
|
<div class="d-flex align-items-start" |
||||
|
style="margin-top: 40px; margin-bottom: 40px"> |
||||
|
<img src="assets/misc/check-box.png" class="mr-2"/> |
||||
|
<div> |
||||
|
<span style="display: block; font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Send SMS through different Gateway. |
||||
|
</span> |
||||
|
<span style="display: block; font-family: 'Montserrat', sans-serif; font-size: 12px;"> </span> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="d-flex align-items-start" |
||||
|
style="margin-top: 30px; margin-bottom: 30px"> |
||||
|
<img src="assets/misc/check-box.png" class="mr-2"/> |
||||
|
<div> |
||||
|
<span style="display: block; font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Can see all the SMS history send through the Gateway |
||||
|
</span> |
||||
|
<span style="display: block; font-family: 'Montserrat', sans-serif; font-size: 14px;"> </span> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="d-flex align-items-start" |
||||
|
style="margin-top: 30px; margin-bottom: 30px"> |
||||
|
<img src="assets/misc/check-box.png" class="mr-2"/> |
||||
|
<div> |
||||
|
<span style="display: block; font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Sms gateways used in this module are Twilio, vonage, |
||||
|
Telesign. |
||||
|
</span> |
||||
|
<span style="display: block; font-family: 'Montserrat', sans-serif; font-size: 14px;"> </span> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF FEATURES SECTION --> |
||||
|
|
||||
|
<!-- SCREENSHOTS SECTION --> |
||||
|
<div class="d-flex align-items-center" |
||||
|
style="border-bottom: 2px solid #714B67; padding: 15px 0px;" |
||||
|
id="screenshots"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="assets/misc/pictures.png"/> |
||||
|
</div> |
||||
|
<h2 class="mt-2" |
||||
|
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
||||
|
Screenshots |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12"> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Select the access right for the Multiple SMS Gateway Integration |
||||
|
module as Manager. |
||||
|
</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"> |
||||
|
We can give the access for the module from the field. |
||||
|
</p> |
||||
|
<img src="./assets/screenshots/1.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
|
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Select the gateway to send the SMS. |
||||
|
</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"> |
||||
|
Select the suitable gateway to send SMS. |
||||
|
</p> |
||||
|
<img src="./assets/screenshots/3.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
The credential for the gateway vonage can be accessed by |
||||
|
creating account in each platform we get the credentials for |
||||
|
different gateways. |
||||
|
To create Account in Vonage platform |
||||
|
<a href="https://www.vonage.com/log-in/"> |
||||
|
Click Here |
||||
|
</a> |
||||
|
</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"></p> |
||||
|
<img src="./assets/screenshots/vonage1000.png" |
||||
|
class="img-thumbnail"> |
||||
|
</div> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Click on Try it for free |
||||
|
</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"></p> |
||||
|
<img src="./assets/screenshots/vonage2000.png" |
||||
|
class="img-thumbnail"> |
||||
|
</div> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Fill up the form and create free account. |
||||
|
</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"></p> |
||||
|
<img src="./assets/screenshots/vonage300.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Login with the details |
||||
|
</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"></p> |
||||
|
<img src="./assets/screenshots/vonage10.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Then fetch the credentials from the vonage dashboard. |
||||
|
</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"></p> |
||||
|
<img src="./assets/screenshots/vonage20.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
The credential for the gateway Twilio can be accessed by |
||||
|
creating account in Twilio platform. |
||||
|
To create Account in Twilio platform |
||||
|
<a href="https://www.twilio.com/en-us"> |
||||
|
Click Here |
||||
|
</a> |
||||
|
.Click start for free button |
||||
|
</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"></p> |
||||
|
<img src="./assets/screenshots/twilio1.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Then Sign up on twilio platform |
||||
|
</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"></p> |
||||
|
<img src="./assets/screenshots/twilio2.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
There will be twofactor authentication after signup. |
||||
|
</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"></p> |
||||
|
<img src="./assets/screenshots/twilio3.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
After fill a form on which we have to mention the product |
||||
|
details we want to get from twilio platform. |
||||
|
</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"></p> |
||||
|
<img src="./assets/screenshots/twilio4.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
We get the credentials after that, And we can generate a twilio |
||||
|
phone number by clicking on Get a phone number button |
||||
|
</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"></p> |
||||
|
<img src="./assets/screenshots/twilio55.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Hence, we have all the credentials needed |
||||
|
</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"></p> |
||||
|
<img src="./assets/screenshots/twilio66.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Go to Telesign sms api platform |
||||
|
</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"></p> |
||||
|
<img src="./assets/screenshots/telesign1.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
In Developer section we get the API key by clicking try for free |
||||
|
button |
||||
|
</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"></p> |
||||
|
<img src="./assets/screenshots/telesign2.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
It leads to create free account form |
||||
|
</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"></p> |
||||
|
<img src="./assets/screenshots/telesign3.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
After creation, we get a verification code |
||||
|
</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"></p> |
||||
|
<img src="./assets/screenshots/telesign4.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
After verification, It will lead to the credentials page |
||||
|
</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"></p> |
||||
|
<img src="./assets/screenshots/telesign5.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
|
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
You can select the already created gateways. |
||||
|
</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"></p> |
||||
|
<img src="./assets/screenshots/4.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
|
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Server action to send the SMS. |
||||
|
</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"></p> |
||||
|
<img src="./assets/screenshots/5.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
|
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
The wizard view helps to select the gateways that you have |
||||
|
created. |
||||
|
</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"></p> |
||||
|
<img src="./assets/screenshots/6.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
|
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Add the number for sending the SMS. |
||||
|
</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"></p> |
||||
|
<img src="./assets/screenshots/7.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
|
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
View the SMS History. |
||||
|
</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"></p> |
||||
|
<img src="./assets/screenshots/8.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF SCREENSHOTS SECTION --> |
||||
|
|
||||
|
<!-- RELATED PRODUCTS --> |
||||
|
<div class="d-flex align-items-center" |
||||
|
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="assets/misc/categories.png"/> |
||||
|
</div> |
||||
|
<h2 class="mt-2" |
||||
|
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
||||
|
Related Products |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12"> |
||||
|
<div id="demo1" class="row carousel slide" data-ride="carousel"> |
||||
|
<!-- The slideshow --> |
||||
|
<div class="carousel-inner" style="padding: 30px;"> |
||||
|
<div class="carousel-item" style="min-height: 198.656px;"> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" |
||||
|
style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/custom_list_view/" |
||||
|
target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-radius: 0px;" |
||||
|
src="assets/modules/2.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" |
||||
|
style="float:left"> |
||||
|
<a href="https://https://apps.odoo.com/apps/modules/15.0/partner_emails_history/" |
||||
|
target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-radius: 0px;" |
||||
|
src="assets/modules/1.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" |
||||
|
style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/login_user_detail/" |
||||
|
target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-radius: 0px;" |
||||
|
src="assets/modules/3.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" |
||||
|
style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/one2many_mass_select_delete/" |
||||
|
target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-radius: 0px;" |
||||
|
src="assets/modules/4.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" |
||||
|
style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/digital_signature/" |
||||
|
target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-radius: 0px;" |
||||
|
src="assets/modules/6.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" |
||||
|
style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/integration_whatsapp_chat_live/#" |
||||
|
target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-radius: 0px;" |
||||
|
src="assets/modules/5.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- Left and right controls --> |
||||
|
<a class="carousel-control-prev" href="#demo1" data-slide="prev" |
||||
|
style="width:35px; color:#000"> <span |
||||
|
class="carousel-control-prev-icon"><i class="fa fa-chevron-left" |
||||
|
style="font-size:24px"></i></span> |
||||
|
</a> <a class="carousel-control-next" href="#demo1" data-slide="next" |
||||
|
style="width:35px; color:#000"> |
||||
|
<span class="carousel-control-next-icon"><i class="fa fa-chevron-right" |
||||
|
style="font-size:24px"></i></span> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF RELATED PRODUCTS --> |
||||
|
|
||||
|
<!-- OUR SERVICES --> |
||||
|
|
||||
|
<div class="d-flex align-items-center" |
||||
|
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="/assets/misc/star.png"/> |
||||
|
</div> |
||||
|
<h2 class="mt-2" |
||||
|
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
||||
|
Our Services |
||||
|
</h2> |
||||
|
</div> |
||||
|
|
||||
|
<div class="container my-5"> |
||||
|
<div class="row"> |
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #1dd1a1 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/cogs.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo Customization |
||||
|
</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #ff6b6b !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/wrench.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo Implementation |
||||
|
</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #6462CD !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/lifebuoy.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo Support |
||||
|
</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #ffa801 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/user.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Hire Odoo Developer |
||||
|
</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #54a0ff !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/puzzle.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo Integration |
||||
|
</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #6d7680 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/update.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo Migration |
||||
|
</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #786fa6 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/consultation.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo Consultancy |
||||
|
</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #f8a5c2 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/training.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo Implementation |
||||
|
</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #e6be26 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/license.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo Licensing Consultancy |
||||
|
</h6> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<!-- END OF OUR SERVICES --> |
||||
|
|
||||
|
<!-- OUR INDUSTRIES --> |
||||
|
|
||||
|
<div class="d-flex align-items-center" |
||||
|
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="/assets/misc/corporate.png"/> |
||||
|
</div> |
||||
|
<h2 class="mt-2" |
||||
|
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
||||
|
Our Industries |
||||
|
</h2> |
||||
|
</div> |
||||
|
|
||||
|
<div class="container my-5"> |
||||
|
<div class="row"> |
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/trading-black.png" |
||||
|
class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Trading |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Easily procure and sell your products |
||||
|
</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/pos-black.png" |
||||
|
class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
POS |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Easy configuration and convivial experience |
||||
|
</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/education-black.png" |
||||
|
class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Education |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
A platform for educational management |
||||
|
</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/manufacturing-black.png" |
||||
|
class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Manufacturing |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Plan, track and schedule your operations |
||||
|
</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/ecom-black.png" |
||||
|
class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
E-commerce & Website |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Mobile friendly, awe-inspiring product pages</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/service-black.png" |
||||
|
class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Service Management |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Keep track of services and invoice |
||||
|
</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/restaurant-black.png" |
||||
|
class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Restaurant |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Run your bar or restaurant methodically |
||||
|
</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/hotel-black.png" |
||||
|
class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Hotel Management |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
An all-inclusive hotel management application</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<!-- END OF OUR INDUSTRIES --> |
||||
|
|
||||
|
<!-- SUPPORT --> |
||||
|
<div class="d-flex align-items-center" |
||||
|
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="/assets/misc/customer-support.png"/> |
||||
|
</div> |
||||
|
<h2 class="mt-2" |
||||
|
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
||||
|
Support |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="container mt-5"> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12 col-md-6"> |
||||
|
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;"> |
||||
|
<div class="mr-4" |
||||
|
style="background-color: #714B67; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;"> |
||||
|
<img src="/assets/misc/support.png" height="48" width="48" |
||||
|
style="width: 42px; height: 42px;"/> |
||||
|
</div> |
||||
|
<div> |
||||
|
<h4>Need Help?</h4> |
||||
|
<p style="line-height: 100%;"> |
||||
|
Got questions or need help? Get in touch. |
||||
|
</p> |
||||
|
<a href="mailto:odoo@cybrosys.com"> |
||||
|
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;"> |
||||
|
odoo@cybrosys.com |
||||
|
</p> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-sm-12 col-md-6"> |
||||
|
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;"> |
||||
|
<div class="mr-4" |
||||
|
style="background-color: #2AC44D; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;"> |
||||
|
<img src="/assets/misc/whatsapp.png" height="52" width="52" |
||||
|
style="width: 52px; height: 52px;"/> |
||||
|
</div> |
||||
|
<div> |
||||
|
<h4>WhatsApp</h4> |
||||
|
<p style="line-height: 100%;">Say hi to us on WhatsApp!</p> |
||||
|
<a href="https://api.whatsapp.com/send?phone=918606827707"> |
||||
|
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;"> |
||||
|
+91 86068 27707 |
||||
|
</p> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12 my-5 d-flex justify-content-center align-items-center"> |
||||
|
<img src="/assets/misc/logo.png" width="144" height="31" |
||||
|
style="width:144px; height: 31px; margin-top: 40px;"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF SUPPORT --> |
@ -0,0 +1,16 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<!-- Root Menu --> |
||||
|
<menuitem name="SMS Gateway" id="send_sms_menu_root" parent="base.menu_administration" |
||||
|
groups="multi_sms_gateway.multi_sms_gateway_group_manager" /> |
||||
|
<!-- Menu to access SMS Gateways --> |
||||
|
<menuitem name="Gateway List" id="sms_gateway_config_menu" |
||||
|
parent="multi_sms_gateway.send_sms_menu_root" |
||||
|
action="multi_sms_gateway.sms_gateway_config_action" |
||||
|
groups="multi_sms_gateway.multi_sms_gateway_group_manager" /> |
||||
|
<!-- Menu to access SMS History --> |
||||
|
<menuitem name="SMS History" id="sms_history_menu" |
||||
|
parent="multi_sms_gateway.send_sms_menu_root" |
||||
|
action="multi_sms_gateway.sms_history_action" |
||||
|
groups="multi_sms_gateway.multi_sms_gateway_group_manager" /> |
||||
|
</odoo> |
@ -0,0 +1,13 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<!-- Server action in 'res.partner' to open the wizard to send the SMS. --> |
||||
|
<!-- Available in Form and Tree Views --> |
||||
|
<record id="action_send_sms" model="ir.actions.server"> |
||||
|
<field name="name">Send SMS</field> |
||||
|
<field name="model_id" ref="base.model_res_partner"/> |
||||
|
<field name="binding_model_id" ref="base.model_res_partner"/> |
||||
|
<field name="binding_view_types">form,list</field> |
||||
|
<field name="state">code</field> |
||||
|
<field name="code">action = records.send_sms()</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -0,0 +1,89 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<!-- Form view for SMS Gateway Configuration --> |
||||
|
<record id="sms_gateway_config_view_form" model="ir.ui.view"> |
||||
|
<field name="name">sms.gateway.config.view.form</field> |
||||
|
<field name="model">sms.gateway.config</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<form string="SMS Gateway Configuration"> |
||||
|
<sheet> |
||||
|
<group string="Gateway"> |
||||
|
<field name="sms_gateway_id"/> |
||||
|
<field name="api_method" |
||||
|
attrs="{'invisible':['|','|',('gateway_name', '=', 'vonage'),('gateway_name', '=', 'twilio'),('gateway_name', '=', 'telesign')]}"/> |
||||
|
<field name="gateway_name" invisible="1"/> |
||||
|
<field name="url" widget="url" placeholder="e.g. https://www.odoo.com" |
||||
|
attrs="{'invisible':['|','|',('gateway_name', '=', 'vonage'),('gateway_name', '=', 'twilio'),('gateway_name', '=', 'telesign')]}"/> |
||||
|
</group> |
||||
|
<notebook> |
||||
|
<page string="General"> |
||||
|
<field name="connection_ids" colspan="4" nolabel="1" |
||||
|
attrs="{'invisible':['|','|',('gateway_name', '=', 'vonage'),('gateway_name', '=', 'twilio'),('gateway_name', '=', 'telesign')]}"> |
||||
|
<tree string="Gateway Parameters" |
||||
|
editable="bottom"> |
||||
|
<field name="connection_api"/> |
||||
|
<field name="name"/> |
||||
|
<field name="connection_value"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
<group> |
||||
|
<!-- Credentials for Vonage --> |
||||
|
<group string="Vonage Credentials" |
||||
|
attrs="{'invisible':[('gateway_name', '!=', 'vonage')]}"> |
||||
|
<field name="vonage_key" |
||||
|
attrs="{'invisible':[('gateway_name', '!=', 'vonage')]}"/> |
||||
|
<field name="vonage_secret" |
||||
|
string="Secret Key" |
||||
|
attrs="{'invisible':[('gateway_name', '!=', 'vonage')]}"/> |
||||
|
</group> |
||||
|
<!-- Credentials for Twilio --> |
||||
|
<group string="Twilio Credentials" |
||||
|
attrs="{'invisible':[('gateway_name', '!=', 'twilio')]}"> |
||||
|
<field name="twilio_account_sid" |
||||
|
attrs="{'invisible':[('gateway_name', '!=', 'twilio')]}"/> |
||||
|
<field name="twilio_auth_token" |
||||
|
attrs="{'invisible':[('gateway_name', '!=', 'twilio')]}"/> |
||||
|
<field name="twilio_phone_number" |
||||
|
attrs="{'invisible':[('gateway_name', '!=', 'twilio')]}"/> |
||||
|
</group> |
||||
|
<!-- Credentials for Telesign --> |
||||
|
<group string="Telesign Credentials" |
||||
|
attrs="{'invisible':[('gateway_name', '!=', 'telesign')]}"> |
||||
|
<field name="telesign_customer" |
||||
|
attrs="{'invisible':[('gateway_name', '!=', 'telesign')]}"/> |
||||
|
<field name="telesign_api_key" |
||||
|
attrs="{'invisible':[('gateway_name', '!=', 'telesign')]}"/> |
||||
|
</group> |
||||
|
</group> |
||||
|
</page> |
||||
|
</notebook> |
||||
|
</sheet> |
||||
|
</form> |
||||
|
</field> |
||||
|
</record> |
||||
|
<!-- Tree view for SMS Gateway Configuration --> |
||||
|
<record id="sms_gateway_config_view_tree" model="ir.ui.view"> |
||||
|
<field name="name">sms.gateway.config.view.tree</field> |
||||
|
<field name="model">sms.gateway.config</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<tree> |
||||
|
<field name="gateway_name"/> |
||||
|
<field name="api_method"/> |
||||
|
<field name="url"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</record> |
||||
|
<!-- Window action for SMS Gateway Configuration --> |
||||
|
<record id="sms_gateway_config_action" model="ir.actions.act_window"> |
||||
|
<field name="name">SMS Gateway Configuration</field> |
||||
|
<field name="res_model">sms.gateway.config</field> |
||||
|
<field name="help" type="html"> |
||||
|
<p class="o_view_nocontent_smiling_face"> |
||||
|
Gateway List Is Empty |
||||
|
</p> |
||||
|
<p> |
||||
|
Create a New Gateway List |
||||
|
</p> |
||||
|
</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -0,0 +1,47 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<!-- Form view for SMS History --> |
||||
|
<record id="sms_history_view_form" model="ir.ui.view"> |
||||
|
<field name="name">sms.history.view.form</field> |
||||
|
<field name="model">sms.history</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<form string="SMS History"> |
||||
|
<sheet> |
||||
|
<group> |
||||
|
<group> |
||||
|
<field name="sms_gateway_id"/> |
||||
|
<field name="sms_date"/> |
||||
|
</group> |
||||
|
<group> |
||||
|
<field name="sms_mobile"/> |
||||
|
</group> |
||||
|
<field name="sms_text"/> |
||||
|
</group> |
||||
|
</sheet> |
||||
|
</form> |
||||
|
</field> |
||||
|
</record> |
||||
|
<!-- Tree view for SMS History --> |
||||
|
<record id="sms_history_view_tree" model="ir.ui.view"> |
||||
|
<field name="name">sms.history.view.tree</field> |
||||
|
<field name="model">sms.history</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<tree create="0"> |
||||
|
<field name="sms_gateway_id"/> |
||||
|
<field name="sms_date"/> |
||||
|
<field name="sms_text"/> |
||||
|
<field name="sms_mobile"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</record> |
||||
|
<!-- Window action for SMS History --> |
||||
|
<record id="sms_history_action" model="ir.actions.act_window"> |
||||
|
<field name="name">SMS History</field> |
||||
|
<field name="res_model">sms.history</field> |
||||
|
<field name="help" type="html"> |
||||
|
<p class="o_view_nocontent_smiling_face"> |
||||
|
SMS history is not created yet! Please send an SMS to create new history. |
||||
|
</p> |
||||
|
</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -0,0 +1,22 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Subina P (odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from . import send_sms |
@ -0,0 +1,79 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Subina P (odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
import vonage |
||||
|
from telesign.messaging import MessagingClient |
||||
|
from twilio.rest import Client |
||||
|
from odoo import fields, models |
||||
|
|
||||
|
|
||||
|
class SendSms(models.TransientModel): |
||||
|
""" |
||||
|
Class for the wizard to send SMS. |
||||
|
Methods: |
||||
|
action_send_sms(): |
||||
|
Button action to send SMS. |
||||
|
""" |
||||
|
_name = 'send.sms' |
||||
|
_description = 'Wizard To Send SMS' |
||||
|
|
||||
|
sms_id = fields.Many2one('sms.gateway.config', |
||||
|
string='Connection ID', |
||||
|
help='Gateway record with credentials') |
||||
|
sms_to = fields.Char(string='Send To', |
||||
|
help='Enter the number to send the SMS') |
||||
|
text = fields.Text(string='Text', required=True, |
||||
|
help='Enter the text for the SMS') |
||||
|
|
||||
|
def action_send_sms(self): |
||||
|
""" |
||||
|
Function to send SMS using different SMS gateway |
||||
|
""" |
||||
|
if self.sms_id.gateway_name == 'vonage': |
||||
|
client = vonage.Client(key=self.sms_id.vonage_key, |
||||
|
secret=self.sms_id.vonage_secret) |
||||
|
vonage.Sms(client) |
||||
|
for number in self.sms_to.split(','): |
||||
|
if number: |
||||
|
client.sms.send_message( |
||||
|
{ |
||||
|
"from": 'Vonage APIs', |
||||
|
"to": number, |
||||
|
"text": self.text |
||||
|
} |
||||
|
) |
||||
|
elif self.sms_id.gateway_name == 'twilio': |
||||
|
client = Client(self.sms_id.twilio_account_sid, |
||||
|
self.sms_id.twilio_auth_token) |
||||
|
for number in self.sms_to.split(','): |
||||
|
if number: |
||||
|
client.messages.create( |
||||
|
body=self.text, |
||||
|
from_=self.sms_id.twilio_phone_number, |
||||
|
to=number |
||||
|
) |
||||
|
elif self.sms_id.gateway_name == 'telesign': |
||||
|
for number in self.sms_to.split(','): |
||||
|
if number: |
||||
|
messaging = MessagingClient( |
||||
|
self.sms_id.telesign_customer, |
||||
|
self.sms_id.telesign_api_key) |
||||
|
messaging.message(number, self.text, 'ARN') |
@ -0,0 +1,29 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<!-- Form view for SMS User --> |
||||
|
<record id="send_sms_view_form" model="ir.ui.view"> |
||||
|
<field name="name">send.sms.view.form</field> |
||||
|
<field name="model">send.sms</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<!-- Form view of the wizard --> |
||||
|
<form string="Send SMS"> |
||||
|
<group string="SMS Gateway" colspan="4"> |
||||
|
<field name="sms_id"/> |
||||
|
</group> |
||||
|
<group string="Send SMS" colspan="4"> |
||||
|
<field name="sms_to"/> |
||||
|
</group> |
||||
|
<notebook> |
||||
|
<page string="Message"> |
||||
|
<field name="text" colspan="4" nolabel="1"/> |
||||
|
</page> |
||||
|
</notebook> |
||||
|
<footer> |
||||
|
<button string="Send SMS" name="action_send_sms" |
||||
|
type="object" class="oe_highlight"/> |
||||
|
<button string="Cancel" class="oe_link" special="cancel"/> |
||||
|
</footer> |
||||
|
</form> |
||||
|
</field> |
||||
|
</record> |
||||
|
</odoo> |