@ -0,0 +1,48 @@ |
|||||
|
.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg |
||||
|
:target: https://www.gnu.org/licenses/agpl-3.0-standalone.html |
||||
|
:alt: License: AGPL-3 |
||||
|
|
||||
|
Chatter Attachment Manager |
||||
|
========================== |
||||
|
This module helps to manage attachments in chatter and in discuss |
||||
|
|
||||
|
Configuration |
||||
|
============= |
||||
|
* No Additional configuration is needed. |
||||
|
|
||||
|
License |
||||
|
------- |
||||
|
Gnu Affero 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: (V16) Anagha S, |
||||
|
(V17) Sabeel B |
||||
|
Contact: odoo@cybrosys.com |
||||
|
|
||||
|
Contacts |
||||
|
-------- |
||||
|
* Mail Contact : odoo@cybrosys.com |
||||
|
* Website : https://cybrosys.com |
||||
|
|
||||
|
Bug Tracker |
||||
|
----------- |
||||
|
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. |
||||
|
|
||||
|
Maintainer |
||||
|
========== |
||||
|
.. image:: https://cybrosys.com/images/logo.png |
||||
|
:target: https://cybrosys.com |
||||
|
|
||||
|
This module is maintained by Cybrosys Technologies. |
||||
|
|
||||
|
For support and more information, please visit `Our Website <https://cybrosys.com/>`__ |
||||
|
|
||||
|
Further information |
||||
|
=================== |
||||
|
HTML Description: `<static/description/index.html>`__ |
@ -0,0 +1,22 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
################################################################################ |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Sabeel B (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 controllers |
||||
|
from . import models |
@ -0,0 +1,69 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
################################################################################ |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Sabeel B (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': 'Chatter Attachment Manager', |
||||
|
'version': '17.0.1.0.0', |
||||
|
'category': 'Discuss, Document Management', |
||||
|
'summary': 'This module help to manage attachments', |
||||
|
'description': """This module helps to enhance the attachment management |
||||
|
capabilities within Odoo.Can easily edit,read, save, preview your documents |
||||
|
inside odoo. Module works in discuss, chat and chatter of any record""", |
||||
|
'author': 'Cybrosys Techno Solutions', |
||||
|
'company': 'Cybrosys Techno Solutions', |
||||
|
'maintainer': 'Cybrosys Techno Solutions', |
||||
|
'website': "https://www.cybrosys.com", |
||||
|
'depends': ['base', 'mail', 'web'], |
||||
|
'data': [ |
||||
|
'security/ir.model.access.csv', |
||||
|
'views/ir_attachment_views.xml', |
||||
|
'views/ir_attachment_tag_views.xml', |
||||
|
'report/chatter_attachments_manager_report_templates.xml', |
||||
|
], |
||||
|
'assets': { |
||||
|
'web.assets_backend': [ |
||||
|
'https://cdnjs.cloudflare.com/ajax/libs/fabric.js/3.6.0/fabric.js', |
||||
|
'https://uicdn.toast.com/tui.code-snippet/v1.5.0/tui-code-snippet.min.js', |
||||
|
'https://uicdn.toast.com/tui-color-picker/v2.2.6/tui-color-picker.js', |
||||
|
'https://cdnjs.cloudflare.com/ajax/libs/FileSaver.js/1.3.3/FileSaver.min.js', |
||||
|
'https://uicdn.toast.com/tui-image-editor/latest/tui-image-editor.js', |
||||
|
'https://uicdn.toast.com/tui-image-editor/latest/tui-image-editor.css', |
||||
|
'chatter_attachments_manager/static/src/attachment_control_panel/' |
||||
|
'attachment_control_panel_templates.xml', |
||||
|
'chatter_attachments_manager/static/src/attachment_control_panel/' |
||||
|
'attachment_control_panel.js', |
||||
|
'chatter_attachments_manager/static/src/attachment_image/' |
||||
|
'attachment_image.js', |
||||
|
'chatter_attachments_manager/static/src/registry/registry.js', |
||||
|
'chatter_attachments_manager/static/src/css/' |
||||
|
'chatter_attachment_manager.css', |
||||
|
'chatter_attachments_manager/static/src/attachment_image/' |
||||
|
'attachment_image_templates.xml', |
||||
|
], |
||||
|
}, |
||||
|
'external_dependancy': ['pandas', 'qrcode', 'python-docx'], |
||||
|
'images': [ |
||||
|
'static/description/banner.jpg', |
||||
|
], |
||||
|
'license': 'AGPL-3', |
||||
|
'installable': True, |
||||
|
'auto_install': False, |
||||
|
'application': False |
||||
|
} |
@ -0,0 +1,21 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
################################################################################ |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Sabeel B (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 chatter_attachment_manager |
@ -0,0 +1,63 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
################################################################################ |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Sabeel B (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 zipfile |
||||
|
from datetime import datetime |
||||
|
|
||||
|
try: |
||||
|
from BytesIO import BytesIO |
||||
|
except ImportError: |
||||
|
from io import BytesIO |
||||
|
|
||||
|
from odoo import http |
||||
|
from odoo.http import request, content_disposition |
||||
|
|
||||
|
|
||||
|
class Binary(http.Controller): |
||||
|
"""Attachment downloading binary class.""" |
||||
|
|
||||
|
@http.route('/web/binary/download_document', type='http', |
||||
|
auth='public') |
||||
|
def download_zip(self, **kwargs): |
||||
|
"""This method used to download all chatter attachments inside a record |
||||
|
as a zip file.""" |
||||
|
model = kwargs.get('param1', 0) |
||||
|
tab_id = int(kwargs.get('param2', 0)) |
||||
|
attachment_ids = request.env['ir.attachment'].search( |
||||
|
[('res_model', '=', model), ('res_id', '=', tab_id)]) |
||||
|
file_dict = {} |
||||
|
for attachment_id in attachment_ids: |
||||
|
file_store = attachment_id.store_fname |
||||
|
if file_store: |
||||
|
file_name = attachment_id.name |
||||
|
file_path = attachment_id._full_path(file_store) |
||||
|
file_dict[f"{file_store}:{file_name}"] = { |
||||
|
'path': file_path, 'name': file_name} |
||||
|
zip_filename = datetime.now() |
||||
|
zip_filename = f"{zip_filename}.zip" |
||||
|
bit_io = BytesIO() |
||||
|
with zipfile.ZipFile(bit_io, "w", |
||||
|
zipfile.ZIP_DEFLATED) as zip_file: |
||||
|
for file_info in file_dict.values(): |
||||
|
zip_file.write(file_info["path"], file_info["name"]) |
||||
|
zip_file.close() |
||||
|
return request.make_response(bit_io.getvalue(), headers=[ |
||||
|
('Content-Type', 'application/x-zip-compressed'), |
||||
|
('Content-Disposition', content_disposition(zip_filename))]) |
@ -0,0 +1,6 @@ |
|||||
|
## Module <chatter_attachments_manager> |
||||
|
|
||||
|
#### 15.05.2024 |
||||
|
#### Version 17.0.1.0.0 |
||||
|
#### ADD |
||||
|
- Initial commit for Chatter Attachment Manager |
@ -0,0 +1,23 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################### |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Cybrosys Technologies(odoo@cybrosys.com) |
||||
|
# |
||||
|
# This program is under the terms of the Odoo Proprietary License v1.0 (OPL-1) |
||||
|
# It is forbidden to publish, distribute, sublicense, or sell copies of the |
||||
|
# Software or modified copies of the Software. |
||||
|
# |
||||
|
# THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL |
||||
|
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,DAMAGES OR OTHER |
||||
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,ARISING |
||||
|
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
||||
|
# DEALINGS IN THE SOFTWARE. |
||||
|
# |
||||
|
############################################################################### |
||||
|
from . import ir_attachment |
||||
|
from . import ir_attachment_tag |
@ -0,0 +1,112 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
################################################################################ |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Sabeel B (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 io |
||||
|
import base64 |
||||
|
from io import BytesIO |
||||
|
|
||||
|
import pandas as pd |
||||
|
from docx import Document as DocxDocument |
||||
|
import qrcode |
||||
|
from odoo import api, fields, models |
||||
|
|
||||
|
|
||||
|
class IrAttachment(models.Model): |
||||
|
"""Extended Attachment Model (Inherited from 'ir.attachment') |
||||
|
|
||||
|
This class represents an extension of the original 'ir.attachment' model in |
||||
|
Odoo. The 'ir.attachment' model is a built-in Odoo model that handles file |
||||
|
attachments to various records, such as documents, emails, or notes. |
||||
|
|
||||
|
In this custom model, we extend the functionality of 'ir.attachment' to add |
||||
|
new fields and custom methods to cater to specific requirements of our |
||||
|
application. |
||||
|
""" |
||||
|
_inherit = 'ir.attachment' |
||||
|
|
||||
|
tags_ids = fields.Many2many(comodel_name='ir.attachment.tag', |
||||
|
string='Tags', help="Tags for attachments") |
||||
|
|
||||
|
@api.model |
||||
|
def decode_content(self, attach_id, doc_type): |
||||
|
"""Decode XLSX or DOC File Data. |
||||
|
This method takes a binary file data from an attachment and decodes |
||||
|
the content of the file for XLSX and DOC file formats. |
||||
|
:param int attach_id: id of attachment. |
||||
|
:param str doc_type: the type of the given attachment either 'xlsx' or |
||||
|
'doc' |
||||
|
:return: return the decoded data.""" |
||||
|
attachment = self.sudo().browse(attach_id) |
||||
|
xlsx_data = base64.b64decode(attachment.datas) |
||||
|
if doc_type in ['xlsx', 'xls', 'docx']: |
||||
|
try: |
||||
|
if doc_type == 'xlsx': |
||||
|
content = pd.read_excel(BytesIO(xlsx_data), |
||||
|
engine='openpyxl', |
||||
|
converters={'A': str}) |
||||
|
elif doc_type == 'xls': |
||||
|
content = pd.read_excel(BytesIO(xlsx_data), engine='xlrd', |
||||
|
converters={'A': str}) |
||||
|
elif doc_type == 'docx': |
||||
|
doc = DocxDocument(io.BytesIO(xlsx_data)) |
||||
|
paragraphs = [p.text for p in doc.paragraphs] |
||||
|
return paragraphs |
||||
|
else: |
||||
|
raise ValueError("Unsupported file format") |
||||
|
html_table = content.to_html(index=False) |
||||
|
return html_table |
||||
|
except TypeError: |
||||
|
return ("<p style='padding-top:8px;color:red;'>" |
||||
|
"No preview available</p>") |
||||
|
text = "Cant Preview" |
||||
|
return text |
||||
|
|
||||
|
@api.model |
||||
|
def save_edited_image(self, attachment_id, myImage): |
||||
|
"""The image is replaced by image from Toast image editor |
||||
|
:param int attach_id: id of attachment. |
||||
|
:param str image: new image data |
||||
|
:return file containing image |
||||
|
""" |
||||
|
file = self.sudo().browse(attachment_id) |
||||
|
file.write({'datas': myImage.strip('data:image/png;base64')}) |
||||
|
return file |
||||
|
|
||||
|
@api.model |
||||
|
def generate_qr_code(self, attach_id): |
||||
|
"""Generate qr code for attachment tha allow anyone to download it.""" |
||||
|
base_url = self.env['ir.config_parameter'].sudo().get_param( |
||||
|
'web.base.url') |
||||
|
data = {} |
||||
|
download_url = f"mail/channel/1/attachment/{attach_id}?download=true" |
||||
|
if qrcode and base64: |
||||
|
attach_qr = qrcode.QRCode( |
||||
|
version=3, |
||||
|
error_correction=qrcode.constants.ERROR_CORRECT_L, |
||||
|
box_size=4, border=4) |
||||
|
attach_qr.add_data(base_url + download_url) |
||||
|
attach_qr.make(fit=True) |
||||
|
img = attach_qr.make_image() |
||||
|
temp = BytesIO() |
||||
|
img.save(temp, format="PNG") |
||||
|
qr_image = base64.b64encode(temp.getvalue()) |
||||
|
data.update({'image': qr_image, |
||||
|
'company': self.env.company.name}) |
||||
|
return data |
@ -0,0 +1,39 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
################################################################################ |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Sabeel B (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 random import randint |
||||
|
from odoo import fields, models |
||||
|
|
||||
|
|
||||
|
class AttachmentTag(models.Model): |
||||
|
"""Attachment tag model.""" |
||||
|
_name = "ir.attachment.tag" |
||||
|
_description = "Attachment Tag" |
||||
|
|
||||
|
def _get_default_color(self): |
||||
|
"""To get default color for tags.""" |
||||
|
return randint(1, 11) |
||||
|
|
||||
|
name = fields.Char(string='Tag Name', required=True, translate=True, |
||||
|
help='Name of tags.') |
||||
|
color = fields.Integer(string='Color', default=_get_default_color, |
||||
|
help="Tag color.") |
||||
|
_sql_constraints = [ |
||||
|
('name_uniq', 'unique (name)', "Tag name already exists !"),] |
@ -0,0 +1,27 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<!-- Attachment report contain qrcode--> |
||||
|
<record id="attachment_qr_code" model="ir.actions.report"> |
||||
|
<field name="name">Attachment QR Code</field> |
||||
|
<field name="model">ir.attachment</field> |
||||
|
<field name="report_type">qweb-pdf</field> |
||||
|
<field name="report_name">chatter_attachments_manager.attachment_qr_report_template</field> |
||||
|
<field name="report_file">chatter_attachments_manager.attachment_qr_report_template</field> |
||||
|
</record> |
||||
|
<!-- Attachment QR code report--> |
||||
|
<template id="attachment_qr_report_template"> |
||||
|
<t t-call="web.basic_layout"> |
||||
|
<div class="page container"> |
||||
|
<div class="text-center"> |
||||
|
<h2>Attachment Qrcode |
||||
|
</h2> |
||||
|
<br/> |
||||
|
<img class="qr-code-img" style="width:420px;height:420px;" |
||||
|
t-attf-src="data:image/png;base64,{{image}}"/> |
||||
|
<br/> |
||||
|
You can scan the qr code and download the file. |
||||
|
</div> |
||||
|
</div> |
||||
|
</t> |
||||
|
</template> |
||||
|
</odoo> |
|
After Width: | Height: | Size: 36 KiB |
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.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 673 B |
After Width: | Height: | Size: 11 KiB |
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: 80 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 565 B |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 43 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 49 KiB |
After Width: | Height: | Size: 85 KiB |
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 88 KiB |
After Width: | Height: | Size: 705 KiB |
After Width: | Height: | Size: 153 KiB |
After Width: | Height: | Size: 160 KiB |
After Width: | Height: | Size: 160 KiB |
After Width: | Height: | Size: 267 KiB |
After Width: | Height: | Size: 166 KiB |
After Width: | Height: | Size: 276 KiB |
After Width: | Height: | Size: 178 KiB |
After Width: | Height: | Size: 233 KiB |
After Width: | Height: | Size: 184 KiB |
After Width: | Height: | Size: 133 KiB |
After Width: | Height: | Size: 271 KiB |
After Width: | Height: | Size: 129 KiB |
After Width: | Height: | Size: 131 KiB |
After Width: | Height: | Size: 357 KiB |
After Width: | Height: | Size: 376 KiB |
After Width: | Height: | Size: 327 KiB |
After Width: | Height: | Size: 363 KiB |
After Width: | Height: | Size: 189 KiB |
After Width: | Height: | Size: 114 KiB |
After Width: | Height: | Size: 90 KiB |
After Width: | Height: | Size: 12 KiB |
@ -0,0 +1,906 @@ |
|||||
|
<!DOCTYPE html> |
||||
|
<html lang="en"> |
||||
|
|
||||
|
<head> |
||||
|
<meta charset="UTF-8"> |
||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
||||
|
<title>Odoo App 3 Index</title> |
||||
|
<!-- Bootstrap CSS --> |
||||
|
<link rel="stylesheet" |
||||
|
href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" |
||||
|
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" |
||||
|
crossorigin="anonymous"> |
||||
|
<link rel="stylesheet" |
||||
|
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css"> |
||||
|
<link rel="preconnect" href="https://fonts.googleapis.com"> |
||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> |
||||
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" |
||||
|
rel="stylesheet"> |
||||
|
</head> |
||||
|
<body> |
||||
|
<section> |
||||
|
<div class="container" |
||||
|
style="font-family: 'Inter', sans-serif !important;background-color: #fff !important;"> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12 col-md-12 col-lg-12 d-flex justify-content-between flex-wrap align-items-sm-center" |
||||
|
style="border-bottom:1px solid rgba(0, 0, 0, 0.22)"> |
||||
|
<div class="my-3"> |
||||
|
<img src="assets/misc/Cybrosys R.png" |
||||
|
style="width:auto !important; height:40px !important"> |
||||
|
</div> |
||||
|
<div class="my-3 d-flex align-items-center"> |
||||
|
<div class="text-center" |
||||
|
style="background-color:#017E84 !important;font-size: 0.8rem !important; color:#fff !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width: 120px !important;"> |
||||
|
Community |
||||
|
</div> |
||||
|
<div class="text-center" |
||||
|
style="background-color:#875A7B !important; color:#fff !important;font-size: 0.8rem !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important;min-width: 120px !important;"> |
||||
|
Enterprise |
||||
|
</div> |
||||
|
<div class="text-center" |
||||
|
style="background-color:#7C7BAD !important; color:#fff !important;font-size: 0.8rem !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width: 120px !important;"> |
||||
|
Odoo.sh |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12 col-md-12 col-lg-12 text-center d-flex align-items-center flex-column" |
||||
|
style="margin: 80px 0px !important;"> |
||||
|
<h1 style="font-size: 2.8rem;font-weight: 700; color: |
||||
|
#1A202C;"> |
||||
|
Chatter Attachment Manager</h1> |
||||
|
<p class="my-3 mb-4" |
||||
|
style="max-width: 80%; font-weight: 400 !important; line-height: 32px; color: #718096;"> |
||||
|
This Module helps to enhance the Attachment Management |
||||
|
capabilities within Odoo.Can easily Edit, Read, Preview your |
||||
|
Documents |
||||
|
inside Odoo. Module works in Discuss, Chat and Chatter of |
||||
|
any record. |
||||
|
</p> |
||||
|
<div style="width: 80%; margin-top: 3rem;"> |
||||
|
<img src="assets/screenshots/hero.gif" |
||||
|
class="img-responsive" width="100%" height="auto"> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="container mt-5 mb-5"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4"> |
||||
|
<p class="m-0" |
||||
|
style="font-weight: 600; font-size: 24px; color:#714b67 !important"> |
||||
|
Key Highlights |
||||
|
</p> |
||||
|
</div> |
||||
|
<div class="row py-4"> |
||||
|
<div class="col-md-6 col-sm-12 p-3"> |
||||
|
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px; |
||||
|
background: #FFF; |
||||
|
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> |
||||
|
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; |
||||
|
display: flex; justify-content: center; align-items: center; |
||||
|
margin-right: 10px; flex-shrink: 0;"> |
||||
|
<i class="fa-solid fa-star " |
||||
|
style="color: #fff;font-size:14px;"></i> |
||||
|
</div> |
||||
|
<div> |
||||
|
<p style="color: #1A202C;font-weight: 600; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;"> |
||||
|
Support front camera and screen recorder.</p> |
||||
|
<p class="m-0" style="color:#718096">User can |
||||
|
record, take picture and attach to chatter |
||||
|
</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-6 col-sm-12 p-3"> |
||||
|
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px; |
||||
|
background: #FFF; |
||||
|
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> |
||||
|
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; |
||||
|
display: flex; justify-content: center; align-items: center; |
||||
|
margin-right: 10px; flex-shrink: 0;"> |
||||
|
<i class="fa-solid fa-star " |
||||
|
style="color: #fff;font-size:14px;"></i> |
||||
|
</div> |
||||
|
<div> |
||||
|
<p style="color: #1A202C;font-weight: 600; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;"> |
||||
|
Offline Preview</p> |
||||
|
<p class="m-0" style="color:#718096">Offline preview |
||||
|
is available for Xlsx, Docx, Pdf And Image files |
||||
|
from chatter itself |
||||
|
</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-6 col-sm-12 p-3"> |
||||
|
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px; |
||||
|
background: #FFF; |
||||
|
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> |
||||
|
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; |
||||
|
display: flex; justify-content: center; align-items: center; |
||||
|
margin-right: 10px; flex-shrink: 0;"> |
||||
|
<i class="fa-solid fa-star " |
||||
|
style="color: #fff;font-size:14px;"></i> |
||||
|
</div> |
||||
|
<div> |
||||
|
<p style="color: #1A202C;font-weight: 600; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;"> |
||||
|
Image Professional Editor support</p> |
||||
|
<p class="m-0" style="color:#718096">This app |
||||
|
provides a professional image editor, |
||||
|
allowing you to edit and enhance images directly |
||||
|
within your App |
||||
|
</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-6 col-sm-12 p-3"> |
||||
|
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px; |
||||
|
background: #FFF; |
||||
|
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> |
||||
|
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; |
||||
|
display: flex; justify-content: center; align-items: center; |
||||
|
margin-right: 10px; flex-shrink: 0;"> |
||||
|
<i class="fa-solid fa-star " |
||||
|
style="color: #fff;font-size:14px;"></i> |
||||
|
</div> |
||||
|
<div> |
||||
|
<p style="color: #1A202C;font-weight: 600; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;"> |
||||
|
QRcode support (for Secured Server)</p> |
||||
|
<p class="m-0" style="color:#718096">QR can be sent |
||||
|
to any employee who can download and open the |
||||
|
file |
||||
|
</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="container rounded"> |
||||
|
<ul class="nav nav-tabs d-flex" |
||||
|
style="width: fit-content;margin: 0 auto;gap: 1rem;"> |
||||
|
<li class="col text-center py-2 text-nowrap " |
||||
|
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;"> |
||||
|
<a |
||||
|
class="active show" data-toggle="tab" href="#tab1" |
||||
|
style="color: #fff;font-weight: 500; background-color: #714B67; text-decoration: none;"> |
||||
|
<i class="fa-regular fa-image pr-2" |
||||
|
style="color: #fff;"></i> |
||||
|
Screenshots</a></li> |
||||
|
<li class="col text-center py-2 text-nowrap " |
||||
|
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;"> |
||||
|
<a |
||||
|
data-toggle="tab" href="#tab2" |
||||
|
style="color: #fff;font-weight: 500; text-decoration: none;"><i |
||||
|
class="fa-solid fa-star pr-2" |
||||
|
style="color: #fff;"></i>Features</a></li> |
||||
|
<li class="col text-center py-2 text-nowrap " |
||||
|
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;"> |
||||
|
<a |
||||
|
data-toggle="tab" href="#tab3" |
||||
|
style="color: #fff;font-weight: 500; text-decoration: none; background-color: #714B67;"><i |
||||
|
class="fa-solid fa-book-open pr-2" |
||||
|
style="color: #fff;"></i>Released Notes</a></li> |
||||
|
</ul> |
||||
|
<div class="tab-content" |
||||
|
style="background-color: rgba(121, 113, 119, 0.04);"> |
||||
|
<div id="tab1" class="tab-pane fade in active show"> |
||||
|
|
||||
|
<div class="col-lg-12 py-2" |
||||
|
style="padding: 1rem 4rem !important;"> |
||||
|
<div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Upload Attachments.</h4> |
||||
|
<img src="assets/screenshots/scrn_001.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
<img src="assets/screenshots/scrn_002.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
You can upload from your device, front |
||||
|
camera, screencast.You |
||||
|
are able to download all attachments and |
||||
|
manage it. |
||||
|
Can upload multiple files at a time.<br/> |
||||
|
Attachments can be posted by clicking the |
||||
|
'+' icon in the |
||||
|
chatter.</h4> |
||||
|
</div> |
||||
|
|
||||
|
<div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/scrn_003.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
You can upload file from your device by |
||||
|
clicking on 'My device'.</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/scrn_004.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Can select files from device and posted on attachments.</h4> |
||||
|
</div> |
||||
|
</div> <div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/scrn_005.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Can upload file from 'Front Cam'.</h4> |
||||
|
</div> |
||||
|
</div> <div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/scrn_006.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
It will open a window to take picture.Click on 'Capture' to capture the photo or cancel it.</h4> |
||||
|
</div> |
||||
|
</div> <div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/scrn_007.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
The "Record Screen" button allows you to upload recorded screens.</h4> |
||||
|
</div> |
||||
|
</div> <div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/scrn_008.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
On click on 'Allow' button, the screen is recorded.</h4> |
||||
|
</div> |
||||
|
</div> <div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/scrn_009.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Screen Recorder can be stopped on clicking 'Stop sharing'. Recorder video will be saved there.</h4> |
||||
|
</div> |
||||
|
</div> <div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/scrn_010.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
All uploaded attachments can be viewed.</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Edit Attachments.</h4> |
||||
|
<img src="assets/screenshots/scrn_011.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Click on 'cog' icon, it will list some items.Click on 'Edit record' to edit the record.</h4> |
||||
|
</div> |
||||
|
|
||||
|
<div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/scrn_014.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Click on 'Image Editor'.</h4> |
||||
|
<p> A professional Image Editor is Provided to alter the image, such as |
||||
|
cropping, Resizing, applying a color filter etc.Can load another image and |
||||
|
replace existing one.</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/scrn_016.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
The selected picture will be shown in the TOAST UI Image Editor window. |
||||
|
</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/scrn_017.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
<img src="assets/screenshots/scrn_015.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Can edit the image by resizing, adding icons, also able to replace the image. |
||||
|
Edited image will be saved on saving. |
||||
|
</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div |
||||
|
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="row justify-content-center p-3 w-100 m-0"> |
||||
|
<img src="assets/screenshots/scrn_018.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
<img src="assets/screenshots/scrn_019.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Offline preview of xlsx, docx and pdf files. |
||||
|
</h4> |
||||
|
<p>Click on 'Preview Offline' to preview the attachments.Offline preview for only 'docx', 'XLSX', 'webm', 'pdf' is available.</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
</div> |
||||
|
<div id="tab2" class="tab-pane fade"> |
||||
|
<div class="col-mg-12" style="padding: 1rem 4rem;"> |
||||
|
<ul style="list-style: none; padding: 1rem 0;font-weight: 500;"> |
||||
|
<li class="py-3" |
||||
|
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<span style="margin-right: 12px;"><img |
||||
|
src="assets/misc/star (1) 2.svg" |
||||
|
alt="" |
||||
|
width="16px"></span>Support front camera and screen recorder.Upload image to Chatter from these. |
||||
|
</li> |
||||
|
<li class="py-3" |
||||
|
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<span style="margin-right: 12px;"><img |
||||
|
src="assets/misc/star (1) 2.svg" |
||||
|
alt="" |
||||
|
width="16px"></span> Offline preview is available for Xlsx, Docx, Pdf And Image files from chatter itself |
||||
|
</li> |
||||
|
<li class="py-3" |
||||
|
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<span style="margin-right: 12px;"><img |
||||
|
src="assets/misc/star (1) 2.svg" |
||||
|
alt="" |
||||
|
width="16px"></span>Image Professional Editor support.This app provides a professional image editor, |
||||
|
allowing you to edit and enhance images directly within your App. |
||||
|
</li> |
||||
|
<li class="py-3" |
||||
|
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<span style="margin-right: 12px;"><img |
||||
|
src="assets/misc/star (1) 2.svg" |
||||
|
alt="" |
||||
|
width="16px"></span> Download all Attachments attached to a record can be downloaded as a Zip file. |
||||
|
</li> |
||||
|
<li class="py-3" |
||||
|
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<span style="margin-right: 12px;"><img |
||||
|
src="assets/misc/star (1) 2.svg" |
||||
|
alt="" |
||||
|
width="16px"></span>QRcode support(for secured server): QR can be sent to any employee who can download and open the file. |
||||
|
</li> |
||||
|
</ul> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div id="tab3" class="tab-pane fade"> |
||||
|
<div class="col-mg-12 active" style="padding: 1rem 4rem;"> |
||||
|
<div class="py-3" |
||||
|
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
||||
|
<div class="d-flex mb-3" |
||||
|
style="font-size: 0.8rem; font-weight: 500;"><span>Version |
||||
|
17.0.1.0.0</span><span |
||||
|
class="px-2">|</span><span |
||||
|
style="color: #714B67;font-weight: 600;">Released on:13th May 2024</span> |
||||
|
</div> |
||||
|
<p class="m-0" |
||||
|
style=" color:#718096!important; font-size:1rem !important;line-height: 28px;"> |
||||
|
|
||||
|
Initial Commit for Chatter Attachment Manager.</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="container mt-5"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-5"> |
||||
|
<p class="m-0" |
||||
|
style="font-weight: 600; font-size: 24px; color:#000 !important"> |
||||
|
Related Products</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div id="myCarousel" class="carousel slide py-3" data-ride="carousel"> |
||||
|
<div class="carousel-inner"> |
||||
|
<div class="carousel-item active"> |
||||
|
<div class="row p-4"> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/17.0/product_barcode/" |
||||
|
style="color: #000; text-decoration: none;"> |
||||
|
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
||||
|
<div style="width: 300px; "> |
||||
|
<img src="assets/modules/1.png" |
||||
|
alt="" width="100%" |
||||
|
height="auto"> |
||||
|
|
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold"> |
||||
|
Product Barcode Generator</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/17.0/export_stockinfo_xls/" |
||||
|
style="color: #000; text-decoration: none;"> |
||||
|
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
||||
|
<div style="width: 300px; "> |
||||
|
<img src="assets/modules/2.png" |
||||
|
alt="" width="100%" |
||||
|
height="auto"> |
||||
|
|
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold"> |
||||
|
Export Stock Info</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/17.0/inventory_barcode_scanning/" |
||||
|
style="color: #000; text-decoration: none;"> |
||||
|
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
||||
|
<div style="width: 300px; "> |
||||
|
<img src="assets/modules/3.png" |
||||
|
alt="" width="100%" |
||||
|
height="auto"> |
||||
|
|
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold"> |
||||
|
Inventory Barcode Scanning</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="carousel-item"> |
||||
|
<div class="row p-4"> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/17.0/whatsapp_redirect/" |
||||
|
style="color: #000; text-decoration: none;"> |
||||
|
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
||||
|
<div style="width: 300px; "> |
||||
|
<img src="assets/modules/4.jpg" |
||||
|
alt="" width="100%" |
||||
|
height="auto"> |
||||
|
|
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold"> |
||||
|
Whatsapp Redirect</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/17.0/invoice_format_editor/" |
||||
|
style="color: #000; text-decoration: none;"> |
||||
|
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
||||
|
<div style="width: 300px;"> |
||||
|
<img src="assets/modules/5.png" |
||||
|
alt="" width="100%" |
||||
|
height="auto"> |
||||
|
|
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold"> |
||||
|
Invoice Format Editor</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/17.0/mobile_service_shop/" |
||||
|
style="color: #000; text-decoration: none;"> |
||||
|
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
||||
|
<div style="width: 300px;"> |
||||
|
<img src="assets/modules/6.jpg" |
||||
|
alt="" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold"> |
||||
|
Mobile Service Management</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<a class="carousel-control-prev" href="#myCarousel" |
||||
|
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="#myCarousel" |
||||
|
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 class="container mt-5"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4"> |
||||
|
<p class="m-0" |
||||
|
style="font-weight: 600; font-size: 24px; color:#000 !important"> |
||||
|
Our Services</p> |
||||
|
|
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="container my-5"> |
||||
|
<div class="row py-3"> |
||||
|
<div class="col-md-4 col-sm-6 px-4 py-4"> |
||||
|
<div |
||||
|
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
||||
|
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
||||
|
<div style="background-color:#13EA36 ; border-radius: 50%; padding: 15px; width: 68px; |
||||
|
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
||||
|
<img src="assets/icons/cogs.png" |
||||
|
alt="service-icon" width="38px" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<p style="margin-top: 20px; font-weight: bold;">Odoo |
||||
|
Customization</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-4 col-sm-6 px-4 py-4"> |
||||
|
<div |
||||
|
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
||||
|
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
||||
|
<div style="background-color:#DBC711; border-radius: 50%; padding: 15px; width: 68px; |
||||
|
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
||||
|
<img src="assets/icons/wrench.png" |
||||
|
alt="service-icon" width="38px" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<p style="margin-top: 20px; font-weight: bold;">Odoo |
||||
|
Implementation</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-4 col-sm-6 px-4 py-4"> |
||||
|
<div |
||||
|
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;"> |
||||
|
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
||||
|
<div style="background-color:#FF6B6B ; border-radius: 50%; padding: 15px; width: 68px; |
||||
|
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
||||
|
<img src="assets/icons/lifebuoy.png" |
||||
|
alt="service-icon" width="38px" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<p style="margin-top: 20px; font-weight: bold;">Odoo |
||||
|
Support</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-4 col-sm-6 px-4 py-4"> |
||||
|
<div |
||||
|
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;"> |
||||
|
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
||||
|
<div style="background-color:#FFA801 ; border-radius: 50%; padding: 15px; width: 68px; |
||||
|
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
||||
|
<img src="assets/icons/user.png" |
||||
|
alt="service-icon" width="38px" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<p style="margin-top: 20px; font-weight: bold;">Hire |
||||
|
Odoo Developer</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-4 col-sm-6 px-4 py-4"> |
||||
|
<div |
||||
|
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;"> |
||||
|
|
||||
|
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
||||
|
<div style="background-color:#54A0FF; border-radius: 50%; padding: 15px; width: 68px; |
||||
|
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
||||
|
<img src="assets/icons/puzzle.png" |
||||
|
alt="service-icon" width="38px" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<p style="margin-top: 20px; font-weight: bold;">Odoo |
||||
|
Integration</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-4 col-sm-6 px-4 py-4"> |
||||
|
<div |
||||
|
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
||||
|
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
||||
|
<div style="background-color:#6D7680 ; border-radius: 50%; padding: 15px; width: 68px; |
||||
|
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
||||
|
<img src="assets/icons/update.png" |
||||
|
alt="service-icon" width="38px" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<p style="margin-top: 20px; font-weight: bold;">Odoo |
||||
|
Migration</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-4 col-sm-6 px-4 py-4"> |
||||
|
<div |
||||
|
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
||||
|
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
||||
|
<div style="background-color:#786FA6 ; border-radius: 50%; padding: 15px; width: 68px; |
||||
|
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
||||
|
<img src="assets/icons/consultation.png" |
||||
|
alt="service-icon" width="38px" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<p style="margin-top: 20px; font-weight: bold;">Odoo |
||||
|
Consultancy</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-4 col-sm-6 px-4 py-4"> |
||||
|
<div |
||||
|
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;position: relative;border-radius: 4px;"> |
||||
|
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
||||
|
<div style="background-color:#F8A5C2 ; border-radius: 50%; padding: 15px; width: 68px; |
||||
|
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
||||
|
<img src="assets/icons/training.png" |
||||
|
alt="service-icon" width="38px" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<p style="margin-top: 20px; font-weight: bold;">Odoo |
||||
|
Implementation</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-4 col-sm-6 px-4 py-4"> |
||||
|
<div |
||||
|
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
||||
|
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
||||
|
<div style="background-color:#E6BE26; border-radius: 50%; padding: 15px; width: 68px; |
||||
|
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
||||
|
<img src="assets/icons/license.png" |
||||
|
alt="service-icon" width="38px" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
</div> |
||||
|
<p style="margin-top: 20px; font-weight: bold;">Odoo |
||||
|
Licensing Consultancy</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="container mt-5"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4"> |
||||
|
<p class="m-0" |
||||
|
style="font-weight: 600; font-size: 24px; color:#000 !important"> |
||||
|
Our Industries</p> |
||||
|
|
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="container"> |
||||
|
<div class="row my-5 py-4"> |
||||
|
<div class="col-md-3 col-sm-6 p-0"> |
||||
|
<div class="d-flex flex-column h-100 " |
||||
|
style="border-right: 1px solid rgb(209, 209, 209); border-bottom: 1px solid rgb(209, 209, 209); padding: 30px; box-shadow: 6px 0 10px rgba(228, 227, 227, 0.373);"> |
||||
|
<img src="assets/icons/trading-black.png" width="42px" |
||||
|
height="auto" alt=""> |
||||
|
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;">Trading</p> |
||||
|
<p>Easily procure and sell your products</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-3 col-sm-6 p-0"> |
||||
|
<div class="d-flex flex-column h-100" |
||||
|
style="border-right: 1px solid rgb(209, 209, 209);border-bottom: 1px solid rgb(209, 209, 209); padding: 30px;"> |
||||
|
<img src="assets/icons/pos-black.png" width="42px" |
||||
|
height="auto" alt=""> |
||||
|
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;">POS</p> |
||||
|
<p>Easy configuration and convivial experience</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-3 col-sm-6 p-0"> |
||||
|
<div class="d-flex flex-column h-100" |
||||
|
style="border-right: 1px solid rgb(209, 209, 209);border-bottom: 1px solid rgba(0, 0, 0, 0.2); padding: 30px; box-shadow: 0 5px 10px rgba(228, 227, 227, 0.373)"> |
||||
|
<img src="assets/icons/education-black.png" width="42px" |
||||
|
height="auto" alt=""> |
||||
|
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;"> |
||||
|
Education</p> |
||||
|
<p>A platform for educational management</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-3 col-sm-6 p-0"> |
||||
|
<div class="d-flex flex-column h-100" |
||||
|
style="border-bottom: 1px solid rgb(209, 209, 209); padding: 30px; "> |
||||
|
<img src="assets/icons/manufacturing-black.png" |
||||
|
width="42px" height="auto" alt=""> |
||||
|
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;"> |
||||
|
Manufacturing</p> |
||||
|
<p>Plan, track and schedule your operations</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-3 col-sm-6 p-0"> |
||||
|
<div class="d-flex flex-column h-100" |
||||
|
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px;"> |
||||
|
<img src="assets/icons/ecom-black.png" width="42px" |
||||
|
height="auto" alt=""> |
||||
|
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;">E-commerce & |
||||
|
Website</p> |
||||
|
<p>Mobile friendly, awe-inspiring product pages</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-3 col-sm-6 p-0"> |
||||
|
<div class="d-flex flex-column h-100" |
||||
|
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px;box-shadow: 0 -5px 10px rgba(228, 227, 227, 0.373);"> |
||||
|
<img src="assets/icons/service-black.png" width="42px" |
||||
|
height="auto" alt=""> |
||||
|
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;">Service |
||||
|
Management</p> |
||||
|
<p>Keep track of services and invoice</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-3 col-sm-6 p-0"> |
||||
|
<div class="d-flex flex-column h-100" |
||||
|
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px; "> |
||||
|
<img src="assets/icons/restaurant-black.png" |
||||
|
width="42px" height="auto" alt=""> |
||||
|
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;"> |
||||
|
Restaurant</p> |
||||
|
<p>Run your bar or restaurant methodically</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-3 col-sm-6 p-0"> |
||||
|
<div class="d-flex flex-column h-100" |
||||
|
style=" padding: 30px;box-shadow: -5px 0 10px rgba(228, 227, 227, 0.373);"> |
||||
|
<img src="assets/icons/hotel-black.png" width="42px" |
||||
|
height="auto" alt=""> |
||||
|
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
||||
|
font-size: 1.2rem; margin-bottom: 2px;">Hotel |
||||
|
Management</p> |
||||
|
<p>An all-inclusive hotel management application</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="container mt-5"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-5"> |
||||
|
<p class="m-0" |
||||
|
style="font-weight: 600; font-size: 24px; color:#000 !important"> |
||||
|
Support</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="container my-5"> |
||||
|
<div class="row" style="background-color: #FFFAFE;"> |
||||
|
<div class="col-md-6 pb-4 d-flex align-items-center justify-content-center" |
||||
|
style="border-right: 1px solid #D9D9D9;"> |
||||
|
<div style="padding: 30px;"> |
||||
|
<div class="d-flex align-items-center"> |
||||
|
<img src="assets/misc/support (1) 1.svg" alt="" |
||||
|
width="60px" style="margin-right: 12px;"> |
||||
|
<div style="padding: 0px 8px;"> |
||||
|
<span |
||||
|
style="color: #714B67;font-size: 24px;font-weight: 600;padding-bottom: 1rem;">Need |
||||
|
Help?</span> |
||||
|
<p class="m-0" style="color:#718096;">Got |
||||
|
questions or need help? Get in touch.</p> |
||||
|
<div style="font-weight: 400;"><span><img |
||||
|
src="assets/misc/support-email.svg" |
||||
|
alt="" |
||||
|
width="18px" |
||||
|
style="filter: invert(1);margin-right: 0.8rem;"></span>odoo@cybrosys.com |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-6 pb-4 d-flex align-items-center justify-content-center"> |
||||
|
<div style="padding: 30px;"> |
||||
|
<div class="d-flex align-items-center"> |
||||
|
<img src="assets/misc/whatsapp 1.svg" alt="" |
||||
|
width="60px" style="margin-right: 12px;"> |
||||
|
<div> |
||||
|
<span style="color: #714B67;font-size: 24px;font-weight: 600;">WhatsApp</span> |
||||
|
<p class="m-0" style="color:#718096;">Say hi to |
||||
|
us on WhatsApp!</p> |
||||
|
<div style="font-weight: 400; font-size: 16px;"><span><img |
||||
|
src="assets/misc/phone.svg" |
||||
|
alt="" width="14px" |
||||
|
style="filter: invert(1); margin-right: 0.8rem;"></span>+91 |
||||
|
99456767686 |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</section> |
||||
|
<!-- Optional JavaScript --> |
||||
|
<!-- jQuery first, then Popper.js, then Bootstrap JS --> |
||||
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> |
||||
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> |
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,190 @@ |
|||||
|
/** @odoo-module **/ |
||||
|
import { Chatter } from "@mail/core/web/chatter"; |
||||
|
import { patch } from "@web/core/utils/patch"; |
||||
|
import { _t } from "@web/core/l10n/translation"; |
||||
|
import { useRef } from "@odoo/owl"; |
||||
|
|
||||
|
patch(Chatter.prototype, { |
||||
|
/** |
||||
|
* @override |
||||
|
*/ |
||||
|
setup() { |
||||
|
super.setup(); |
||||
|
this.MyModal = useRef('myModal') |
||||
|
this.control_menu = useRef('control_menu_dropdown') |
||||
|
}, |
||||
|
//--------------------------------------------------------------------------
|
||||
|
// Handlers
|
||||
|
//--------------------------------------------------------------------------
|
||||
|
|
||||
|
/** |
||||
|
Open a dropdown on click upload icon |
||||
|
**/ |
||||
|
onClickUpload(ev){ |
||||
|
if (this.control_menu.el.style.display === "none") { |
||||
|
this.control_menu.el.style.display = "block"; |
||||
|
} |
||||
|
else { |
||||
|
this.control_menu.el.style.display = "none"; |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
Download all attachments attached to the record. |
||||
|
**/ |
||||
|
onClickDownloadAll(ev) { |
||||
|
var apiUrl = '/web/binary/download_document'; // URL of Odoo controller
|
||||
|
var modelName = this.state.thread.model; |
||||
|
var tabId = this.state.thread.id; |
||||
|
fetch(apiUrl + '?param1=' + modelName + '¶m2=' + tabId, { |
||||
|
method: 'GET', |
||||
|
responseType: 'blob' |
||||
|
}) |
||||
|
.then(response => response.blob()) |
||||
|
.then(blob => { |
||||
|
var url = window.URL.createObjectURL(blob); |
||||
|
var a = $('<a>', { |
||||
|
style: 'display: none', |
||||
|
href: url, |
||||
|
download: modelName + '.zip' |
||||
|
}); |
||||
|
$('body').append(a); |
||||
|
a[0].click(); |
||||
|
a.remove(); |
||||
|
window.URL.revokeObjectURL(url); |
||||
|
}) |
||||
|
.catch(error => { |
||||
|
}); |
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
Open camera to capture |
||||
|
**/ |
||||
|
onClickCamera(ev) { |
||||
|
var self = this; |
||||
|
this.MyModal.el.style.display = "table"; |
||||
|
let All_mediaDevices = navigator.mediaDevices |
||||
|
All_mediaDevices.getUserMedia({ |
||||
|
audio: false, |
||||
|
video: true |
||||
|
}) |
||||
|
.then(function(vidStream) { |
||||
|
var video = document.getElementById('videoCam'); |
||||
|
if ("srcObject" in video) { |
||||
|
video.srcObject = vidStream; |
||||
|
} else { |
||||
|
video.src = window.URL.createObjectURL(vidStream); |
||||
|
} |
||||
|
video.onloadedmetadata = function(e) { |
||||
|
video.play(); |
||||
|
}; |
||||
|
var stopButton = document.getElementById('stop-camera-button'); |
||||
|
stopButton.addEventListener('click', function() { |
||||
|
vidStream.getTracks().forEach(function(track) { |
||||
|
track.stop(); |
||||
|
self.MyModal.el.style.display = "none"; |
||||
|
canvas.toDataURL(); |
||||
|
}); |
||||
|
location.reload(); |
||||
|
}); |
||||
|
}) |
||||
|
.catch(function(e) { |
||||
|
console.log(e.name + ": " + e.message); |
||||
|
}); |
||||
|
}, |
||||
|
/** |
||||
|
Record the screen. |
||||
|
**/ |
||||
|
async onClickScreenRec(ev){ |
||||
|
try { |
||||
|
let stream = await navigator.mediaDevices.getDisplayMedia({ |
||||
|
video: true |
||||
|
}) |
||||
|
const mime = MediaRecorder.isTypeSupported("video/webm; codecs=vp9") |
||||
|
? "video/webm; codecs=vp9" |
||||
|
: "video/webm" |
||||
|
let mediaRecorder = new MediaRecorder(stream, { |
||||
|
mimeType: mime |
||||
|
}) |
||||
|
var self = this; |
||||
|
let chunks = [] |
||||
|
mediaRecorder.addEventListener('dataavailable', function(e) { |
||||
|
chunks.push(e.data) |
||||
|
}) |
||||
|
mediaRecorder.addEventListener('stop', function(){ |
||||
|
let blob = new Blob(chunks, { |
||||
|
type: chunks[0].type |
||||
|
}) |
||||
|
const blobToBase64 = blob => { |
||||
|
const reader = new FileReader(); |
||||
|
reader.readAsDataURL(blob); |
||||
|
return new Promise(resolve => { |
||||
|
reader.onloadend = () => { |
||||
|
resolve(reader.result); |
||||
|
}; |
||||
|
}); |
||||
|
}; |
||||
|
blobToBase64(blob).then(res => { |
||||
|
var arr = res.split(','), |
||||
|
mime = arr[0].match(/:(.*?);/)[1], |
||||
|
bstr = atob(arr[1]), |
||||
|
n = bstr.length, |
||||
|
u8arr = new Uint8Array(n); |
||||
|
while (n--) { |
||||
|
u8arr[n] = bstr.charCodeAt(n); |
||||
|
} |
||||
|
var f = new File([u8arr], 'example.webm', { |
||||
|
type: mime |
||||
|
}); |
||||
|
self.attachmentUploader.uploadFile(f) |
||||
|
}); |
||||
|
}) |
||||
|
mediaRecorder.start() |
||||
|
} catch(e){} |
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
Capture the image |
||||
|
**/ |
||||
|
ImageCapture: function(){ |
||||
|
let canvas = document.querySelector("#canvas"); |
||||
|
let video = document.querySelector("#videoCam"); |
||||
|
canvas.getContext('2d').drawImage(video, 0, 0, canvas.width, canvas.height); |
||||
|
let image_data_url = canvas.toDataURL('image/jpeg'); |
||||
|
var arr = image_data_url.split(','), |
||||
|
mime = arr[0].match(/:(.*?);/)[1], |
||||
|
bstr = atob(arr[1]), |
||||
|
n = bstr.length, |
||||
|
u8arr = new Uint8Array(n); |
||||
|
while (n--) { |
||||
|
u8arr[n] = bstr.charCodeAt(n); |
||||
|
} |
||||
|
var f = new File([u8arr], 'image.jpeg', { |
||||
|
type: mime |
||||
|
}); |
||||
|
this.attachmentUploader.uploadFile(f) |
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
Open window to edit image record |
||||
|
**/ |
||||
|
async onClickEditImgRecord(ev){ |
||||
|
ev.preventDefault(); |
||||
|
markEventHandled(ev, 'AttachmentImage.onClickEditImgRecord'); |
||||
|
var attachment_id = parseInt(ev.target.id); |
||||
|
await this.env.services.action.doAction({ |
||||
|
name: this.env._t("Attachment"), |
||||
|
type: 'ir.actions.act_window', |
||||
|
view_mode: 'form', |
||||
|
views: [[false, 'form']], |
||||
|
target: 'new', |
||||
|
res_id: attachment_id, |
||||
|
res_model: 'ir.attachment', |
||||
|
context: { create: false }, |
||||
|
}, { |
||||
|
onClose: async () => { |
||||
|
await location.reload(); |
||||
|
}, |
||||
|
}); |
||||
|
}, |
||||
|
}); |
@ -0,0 +1,78 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<templates id="template" xml:space="preserve"> |
||||
|
<t name="mail.AttachmentControlPanel" |
||||
|
t-inherit="mail.Chatter" |
||||
|
t-inherit-mode="extension" |
||||
|
owl="1"> |
||||
|
<xpath expr="//div[hasclass('o-mail-AttachmentBox')]" |
||||
|
position="before"> |
||||
|
<div class="control_panel"> |
||||
|
<div class="o_cp_left"> |
||||
|
<div class="o_cp_buttons"> |
||||
|
<div class="o_list_buttons"> |
||||
|
<button title="Download All" type="button" |
||||
|
class="btn btn-primary btn-sm am-control-btn-left" |
||||
|
t-on-click="onClickDownloadAll"> |
||||
|
<i class="fa fa-download"/></button> |
||||
|
<button title="Upload new files(file)" type="button" |
||||
|
class="btn btn-primary btn-sm am-control-btn-left oe_button_control_new" |
||||
|
t-on-click="onClickUpload" |
||||
|
style="margin-left:2px;"> |
||||
|
<i class="fa fa-plus"/> |
||||
|
</button> |
||||
|
<div class="control_menu_dropdown" |
||||
|
style="display:none;" |
||||
|
t-ref="control_menu_dropdown"> |
||||
|
<FileUploader |
||||
|
fileUploadClass="'o-mail-Chatter-fileUploader'" |
||||
|
onUploaded.bind="onUploaded" |
||||
|
onClick="(ev) => this.onClickAttachFile(ev)"> |
||||
|
<t t-set-slot="toggler"> |
||||
|
<a class="dropdown-item context-menu-icon--fa fa fa-folder-open-o"> My device</a> |
||||
|
</t> |
||||
|
</FileUploader> |
||||
|
<a class="dropdown-item context-menu-icon--fa fa fa-camera-retro" |
||||
|
t-on-click="onClickCamera"> Front Cam |
||||
|
</a> |
||||
|
<a class="dropdown-item context-menu-icon--fa fa fa-video-camera" |
||||
|
t-on-click="onClickScreenRec"> Record Screen |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- Modal for front camera and screen recorder--> |
||||
|
<center> |
||||
|
<div id="myModal" class="modal" t-ref="myModal"> |
||||
|
<div class="modal-content" id="video_content"> |
||||
|
<header> |
||||
|
<video id="videoCam" t-ref="videoCamera"/> |
||||
|
</header> |
||||
|
<div id="screen_recording_container" style="display:none"> |
||||
|
<button id="start_record_button">Start Recording</button> |
||||
|
<button id="stop_record_button">Stop Recording</button> |
||||
|
<video id="recorded_video" style="width: 55%;" |
||||
|
controls=""> |
||||
|
<source src="" type="video/mp4"/> |
||||
|
</video> |
||||
|
</div> |
||||
|
<footer> |
||||
|
<center> |
||||
|
<div id="capture"> |
||||
|
<button class="btn btn-primary" id="click_photo" |
||||
|
t-on-click="ImageCapture">Capture</button> |
||||
|
<button class="btn btn-primary" |
||||
|
id="stop-camera-button">Cancel</button> |
||||
|
</div> |
||||
|
</center> |
||||
|
</footer> |
||||
|
<span hidden="hidden"> |
||||
|
<canvas id="canvas" width="150" height="100"/> |
||||
|
</span> |
||||
|
</div> |
||||
|
</div> |
||||
|
</center> |
||||
|
</xpath> |
||||
|
</t> |
||||
|
</templates> |
@ -0,0 +1,180 @@ |
|||||
|
/** @odoo-module **/ |
||||
|
import { patch } from "@web/core/utils/patch"; |
||||
|
import { _t } from "@web/core/l10n/translation"; |
||||
|
import { useRef } from "@odoo/owl"; |
||||
|
import { AttachmentList } from "@mail/core/common/attachment_list"; |
||||
|
import { isEventHandled, markEventHandled } from "@web/core/utils/misc"; |
||||
|
import { useService } from "@web/core/utils/hooks"; |
||||
|
|
||||
|
|
||||
|
patch(AttachmentList.prototype, { |
||||
|
/** |
||||
|
* @override |
||||
|
*/ |
||||
|
setup() { |
||||
|
super.setup(); |
||||
|
this.orm = useService("orm"); |
||||
|
this.action = useService("action"); |
||||
|
}, |
||||
|
/** |
||||
|
Open window to edit image record |
||||
|
**/ |
||||
|
async onClickEditImgRecord(ev, attachment){ |
||||
|
ev.stopPropagation(); |
||||
|
ev.preventDefault(); |
||||
|
markEventHandled(ev, 'AttachmentImage.onClickEditImgRecord'); |
||||
|
await this.env.services.action.doAction({ |
||||
|
name: _t("Attachment"), |
||||
|
type: 'ir.actions.act_window', |
||||
|
view_mode: 'form', |
||||
|
views: [[false, 'form']], |
||||
|
target: 'new', |
||||
|
res_id: attachment.id, |
||||
|
res_model: 'ir.attachment', |
||||
|
context: { create: false }, |
||||
|
}, { |
||||
|
onClose: async () => { |
||||
|
await location.reload(); |
||||
|
}, |
||||
|
}); |
||||
|
}, |
||||
|
|
||||
|
onClickImage(ev) { |
||||
|
if (isEventHandled(ev, 'onClickEditImgRecord')) { |
||||
|
return; |
||||
|
} |
||||
|
if (isEventHandled(ev, 'onClickImageEdit')) { |
||||
|
return; |
||||
|
} |
||||
|
this._super.apply(this, arguments); |
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
Open a window to edit image |
||||
|
**/ |
||||
|
async onClickImageEdit(ev, attachment){ |
||||
|
var self = this; |
||||
|
markEventHandled(ev, 'AttachmentImage.onClickImageEdit'); |
||||
|
var imageEditor = new tui.ImageEditor('.tui-image-editor-container', { |
||||
|
includeUI: { |
||||
|
loadImage: { |
||||
|
path: "/web/image/ir.attachment/"+attachment.id+"/datas", |
||||
|
name: 'SampleImage' |
||||
|
}, |
||||
|
imageSize: { |
||||
|
oldWidth: "0", |
||||
|
oldHeight: "0", |
||||
|
newWidth: "300", |
||||
|
newHeight: "90" |
||||
|
}, |
||||
|
initMenu: 'filter', |
||||
|
menuBarPosition: 'bottom' |
||||
|
}, |
||||
|
cssMaxWidth: 500, |
||||
|
cssMaxHeight: 590, |
||||
|
usageStatistics: false |
||||
|
}); |
||||
|
$('#imageEditor').css("display","block"); |
||||
|
$('.tui-image-editor-header-buttons .tui-image-editor-download-btn').replaceWith(`<button class="tui-image-editor-save-btn">Save</button>`) |
||||
|
$('.tui-image-editor-header-buttons').append(`<div class="tui-image-editor-close-btn"
|
||||
|
style="background-color: #fff;border: 1px solid #ddd;color: #222; |
||||
|
"font-family: sans-serif;font-size:= 12px">Close</div>`) |
||||
|
$('.tui-image-editor-header-buttons .tui-image-editor-close-btn').on('click', this.CloseImageEditor); |
||||
|
$('.tui-image-editor-header-buttons .tui-image-editor-save-btn').on('click', () => { |
||||
|
const myImage = imageEditor.toDataURL(); |
||||
|
|
||||
|
var attachment_id = attachment.id |
||||
|
self.orm.call("ir.attachment", "save_edited_image", [attachment_id,myImage]).then(function (data){ |
||||
|
location.reload(); |
||||
|
}); |
||||
|
}); |
||||
|
}, |
||||
|
|
||||
|
CloseImageEditor: function(){ |
||||
|
var edit = jQuery.noConflict(); |
||||
|
edit('#imageEditor').css("display","none"); |
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
* Records can be edited by altering the file name and adding tags. |
||||
|
*/ |
||||
|
async onClickEditRecord(ev, attachment){ |
||||
|
ev.stopPropagation(); |
||||
|
ev.preventDefault(); |
||||
|
await this.env.services.action.doAction({ |
||||
|
name: _t("Attachment"), |
||||
|
type: 'ir.actions.act_window', |
||||
|
view_mode: 'form', |
||||
|
views: [[false, 'form']], |
||||
|
target: 'new', |
||||
|
res_id: attachment.id, |
||||
|
res_model: 'ir.attachment', |
||||
|
context: { create: false }, |
||||
|
}, { |
||||
|
onClose: async () => { |
||||
|
await location.reload(); |
||||
|
}, |
||||
|
}); |
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
* Offline Preview of file type 'docx', 'xlsx' and 'pdf' |
||||
|
*/ |
||||
|
async onClickPreviewOffline(ev, attachment){ |
||||
|
ev.stopPropagation(); |
||||
|
ev.preventDefault(); |
||||
|
var self = this; |
||||
|
var type = $(ev.currentTarget).data("type") |
||||
|
var modal = $('#xlsx_preview')[0] |
||||
|
modal.querySelector('#FileHead').textContent = ev.target.name |
||||
|
if (type === 'xls' || type === 'xlsx' || type === 'docx') { |
||||
|
modal.style.display = "block"; |
||||
|
var preview = await this.orm.call |
||||
|
("ir.attachment", "decode_content", [parseInt(ev.target.id),type]).then(function (data) { |
||||
|
if (type === 'xls' || type === 'xlsx'){ |
||||
|
$('.MyDocs').empty(); |
||||
|
$('.XlsxTable').append(data) |
||||
|
var frame = $(".dataframe").attr('id', 'MyTable'); |
||||
|
} |
||||
|
else if(type === 'docx'){ |
||||
|
$('.MyDocs').empty(); |
||||
|
for (let para = 0; para < data.length; para++) { |
||||
|
$('.MyDocs').append(data[para]) |
||||
|
}; |
||||
|
} |
||||
|
}); |
||||
|
} |
||||
|
else{ |
||||
|
self.fileViewer.open(attachment, self.props.attachments) |
||||
|
} |
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
Close preview window |
||||
|
**/ |
||||
|
stopPreviewButton(ev){ |
||||
|
ev.stopPropagation(); |
||||
|
ev.preventDefault(); |
||||
|
var modal = $('#xlsx_preview')[0] |
||||
|
modal.style.display = "none"; |
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
* For generating Qr Code contain download link of attachment. |
||||
|
*/ |
||||
|
async _onClickQrCode(ev){ |
||||
|
ev.stopPropagation(); |
||||
|
ev.preventDefault(); |
||||
|
var self = this; |
||||
|
await this.orm.call |
||||
|
("ir.attachment", "generate_qr_code", [parseInt(ev.target.id)]).then(function (data){ |
||||
|
var act = self.env.services.action.doAction({ |
||||
|
type: 'ir.actions.report', |
||||
|
report_type: 'qweb-pdf', |
||||
|
report_name: 'chatter_attachments_manager.attachment_qr_report_template', |
||||
|
report_file: 'chatter_attachments_manager.attachment_qr_report_template', |
||||
|
data: data, |
||||
|
}); |
||||
|
}); |
||||
|
}, |
||||
|
}); |
@ -0,0 +1,87 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<templates id="template" xml:space="preserve"> |
||||
|
<!-- settings menu for attachment image--> |
||||
|
<t name="AttachmentImageTools" |
||||
|
t-inherit="mail.AttachmentList" |
||||
|
t-inherit-mode="extension" |
||||
|
owl="1"> |
||||
|
<xpath expr="//div[@title='Remove']" position="replace"> |
||||
|
<div class="dropdown"> |
||||
|
<div class="btn btn-sm btn-dark rounded opacity-75 opacity-100-hover" |
||||
|
title="settings"> <i class="fa fa-cog"/> |
||||
|
</div> |
||||
|
<div class="context_menu_dropdown"> |
||||
|
<a class="dropdown-item context-menu-icon--fa fa fa-edit" |
||||
|
t-on-click="(ev) => this.onClickEditImgRecord(ev, attachment)">Edit Record</a> |
||||
|
<a class="dropdown-item context-menu-icon--fa fa fa-magic" |
||||
|
t-on-click="(ev) => this.onClickImageEdit(ev, attachment)">Image Editor</a> |
||||
|
<a class="dropdown-item context-menu-icon--fa fa fa-close" |
||||
|
t-on-click.stop="() => this.onClickUnlink(attachment)">Delete</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</xpath> |
||||
|
TUI image editor for edit attachment images. |
||||
|
<xpath expr="//div[@title='Uploading']" |
||||
|
position="after"> |
||||
|
<center> |
||||
|
<div id="imageEditor" class="modal" |
||||
|
style=" width:35%; height:58%;"> |
||||
|
<div class="modal-content"> |
||||
|
<header> |
||||
|
<div class="tui-image-editor-container" |
||||
|
id="tui-image-editor-container"> |
||||
|
</div> |
||||
|
</header> |
||||
|
</div> |
||||
|
</div> |
||||
|
</center> |
||||
|
</xpath> |
||||
|
<xpath expr="//button[hasclass('o-mail-AttachmentCard-unlink')]" |
||||
|
position="before"> |
||||
|
<div class="dropdown" style="position:relative;"> |
||||
|
<button class="o_AttachmentCard_asideItem o_AttachmentCard_asideItemOptions |
||||
|
btn top-0 justify-content-center align-items-center d-flex w-100 h-100 rounded-0" |
||||
|
t-attf-class="{{ env.inComposer ? 'o-inComposer position-absolute btn-primary transition-base' : 'bg-300' }}" |
||||
|
data-bs-toggle="collapse" |
||||
|
t-att-data-bs-target="'#settingsMenu' + attachment.id" |
||||
|
aria-expanded="true" |
||||
|
t-att-aria-controls="'settingsMenu' + attachment.id"> |
||||
|
<i class="fa fa-cog" role="img" aria-label="Options"/> |
||||
|
</button> |
||||
|
<div class="context_menu_dropdown dropdown-menu" |
||||
|
t-att-id="'settingsMenu' + attachment.id"> |
||||
|
<a class="dropdown-item context-menu-icon--fa fa fa-edit" |
||||
|
t-on-click="(ev) => this.onClickEditRecord(ev, attachment)" |
||||
|
t-att-id="attachment.id">Edit record</a> |
||||
|
<t t-if="attachment.extension != 'zip'"> |
||||
|
<a class="dropdown-item context-menu-icon--fa fa fa-eye" |
||||
|
t-on-click="(ev) => this.onClickPreviewOffline(ev, attachment)" |
||||
|
t-att-name="attachment.name" |
||||
|
t-att-data-type="attachment.extension" |
||||
|
t-att-id="attachment.id">Preview Offline</a> |
||||
|
</t> |
||||
|
<a class="dropdown-item context-menu-icon--fa fa fa-download" |
||||
|
t-on-click="() => this.onClickDownload(attachment)">Download</a> |
||||
|
<a class="dropdown-item context-menu-icon--fa fa fa-qrcode" |
||||
|
t-on-click="_onClickQrCode" |
||||
|
t-att-id="attachment.id">Qr Code</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!--For preview xlsx,docx and pdf files--> |
||||
|
<center> |
||||
|
<div id="xlsx_preview" class="modal" t-ref="preview_modal"> |
||||
|
<div class="modal-content" id="MyPreview_content"> |
||||
|
<span class="close" id="stop-preview-button" |
||||
|
t-on-click="stopPreviewButton">X</span> |
||||
|
<h1 id="FileHead"/> |
||||
|
<div class="XlsxTable" t-ref="xlsx_table"> |
||||
|
</div> |
||||
|
<p class="MyDocs" t-ref="MyDocs"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
</center> |
||||
|
<script src="https://code.jquery.com/jquery-3.6.0.min.js"> |
||||
|
</script> |
||||
|
</xpath> |
||||
|
</t> |
||||
|
</templates> |
@ -0,0 +1,135 @@ |
|||||
|
/* Dropdown on attachment card for tools*/ |
||||
|
.dropdown { |
||||
|
position: relative; |
||||
|
} |
||||
|
.o_AttachmentCard_aside{ |
||||
|
overflow:visible !important; |
||||
|
} |
||||
|
.context_menu_dropdown { |
||||
|
display: none; |
||||
|
position: absolute; |
||||
|
background-color: white; |
||||
|
min-width: 120px; |
||||
|
box-sizing: border-box; |
||||
|
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); |
||||
|
z-index: 1; |
||||
|
right: 0; |
||||
|
padding-bottom: 6px; |
||||
|
padding-top: 6px; |
||||
|
} |
||||
|
.context_menu_dropdown a{ |
||||
|
color: black; |
||||
|
text-decoration: none; |
||||
|
} |
||||
|
|
||||
|
.context_menu_dropdown a:hover { |
||||
|
background-color: #f1f1f1; |
||||
|
} |
||||
|
|
||||
|
.dropdown:hover .context_menu_dropdown{ |
||||
|
display: block; |
||||
|
} |
||||
|
/* Image editor container */ |
||||
|
#tui-image-editor-container{ |
||||
|
width: 981px; |
||||
|
height: 500px; |
||||
|
top: 0px; |
||||
|
position: fixed; /* Stay in place */ |
||||
|
z-index: 10; /* Sit on top by 10px*/ |
||||
|
padding: 1px; /* location of box */ |
||||
|
left: 10px; |
||||
|
} |
||||
|
#xlsx_preview{ |
||||
|
display: none; /* Hidden by default */ |
||||
|
position: fixed; /* Stay in place */ |
||||
|
z-index: 10; /* Sit on top */ |
||||
|
padding-top: 100px; /* Location of the box */ |
||||
|
left: 0; |
||||
|
top: 0; |
||||
|
width: 100%; /* Full width */ |
||||
|
height: 100%; /* Full height */ |
||||
|
overflow: auto; /* Enable scroll if needed */ |
||||
|
background-color: rgb(0,0,0); /* Fallback color */ |
||||
|
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */ |
||||
|
} |
||||
|
#video_content{ |
||||
|
background-color: rgba(0, 0, 0, -5.3); |
||||
|
} |
||||
|
#MyTable{ |
||||
|
font-family: Arial, Helvetica, sans-serif; |
||||
|
border-collapse: collapse; |
||||
|
width: 100%; |
||||
|
} |
||||
|
#MyTable th{ |
||||
|
padding-top: 12px; |
||||
|
padding-bottom: 12px; |
||||
|
text-align: left; |
||||
|
background-color: #04AA6D; |
||||
|
color: white; |
||||
|
border: 1px solid #ddd; |
||||
|
padding: 8px; |
||||
|
} |
||||
|
#MyTable td{ |
||||
|
border: 1px solid #ddd; |
||||
|
padding: 8px; |
||||
|
} |
||||
|
.XlsxTable{ |
||||
|
overflow: overlay; |
||||
|
} |
||||
|
#MyPreview_content { |
||||
|
background-color: #fefefe; |
||||
|
overflow: hidden; |
||||
|
margin: auto; |
||||
|
padding: 20px; |
||||
|
border: 1px solid #888; |
||||
|
width: 80%; |
||||
|
} |
||||
|
|
||||
|
/* The Close Button */ |
||||
|
#stop-preview-button { |
||||
|
color: #aaaaaa; |
||||
|
text-align: end; |
||||
|
font-size: 28px; |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
|
||||
|
#stop-preview-button :hover, |
||||
|
#stop-preview-button :focus { |
||||
|
color: #000; |
||||
|
text-decoration: none; |
||||
|
cursor: pointer; |
||||
|
} |
||||
|
.MyDocs{ |
||||
|
overflow: auto; |
||||
|
text-align: justify; |
||||
|
padding: 30px; |
||||
|
} |
||||
|
|
||||
|
.o_AttachmentCard_tags span{ |
||||
|
border: 2px solid yellow; |
||||
|
border-radius: 25px; |
||||
|
background:yellow; |
||||
|
|
||||
|
} |
||||
|
.o_AttachmentImage { |
||||
|
width: 250px; |
||||
|
height: 200px; |
||||
|
} |
||||
|
.control_menu_dropdown{ |
||||
|
position: relative; |
||||
|
background-color: white; |
||||
|
min-width: 112px; |
||||
|
box-sizing: border-box; |
||||
|
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); |
||||
|
z-index: 1; |
||||
|
left: 40px; |
||||
|
width: 30%; |
||||
|
} |
||||
|
.o-mail-AttachmentList, .o-mail-AttachmentCard-aside, .o-mail-AttachmentCard{ |
||||
|
overflow: visible !important; |
||||
|
} |
||||
|
.o-mail-AttachmentCard-image{ |
||||
|
position: relative; |
||||
|
top: 50%; |
||||
|
transform: translateY(-50%); |
||||
|
} |
@ -0,0 +1,41 @@ |
|||||
|
/** @odoo-module **/ |
||||
|
import { patch } from "@web/core/utils/patch"; |
||||
|
import { EventBus } from "@odoo/owl"; |
||||
|
import { Registry } from "@web/core/registry"; |
||||
|
|
||||
|
// Patching the Registry to check duplicating 'file_viewer1'
|
||||
|
patch(Registry.prototype, { |
||||
|
setup() { |
||||
|
super.setup(); |
||||
|
}, |
||||
|
add(key, value, { |
||||
|
force, |
||||
|
sequence |
||||
|
} = {}) { |
||||
|
try { |
||||
|
if (!force && key in this.content) { |
||||
|
if (key == 'web.file_viewer1') { |
||||
|
// Handle the case when key is 'web.file_viewer1'
|
||||
|
return; // Skip adding the key
|
||||
|
} |
||||
|
throw new DuplicatedKeyError(`Cannot add '${key}' in this registry: it already exists`); |
||||
|
} |
||||
|
} catch (error) { |
||||
|
return; |
||||
|
} |
||||
|
let previousSequence; |
||||
|
if (force) { |
||||
|
const elem = this.content[key]; |
||||
|
previousSequence = elem && elem[0]; |
||||
|
} |
||||
|
sequence = sequence === undefined ? previousSequence || 50 : sequence; |
||||
|
this.content[key] = [sequence, value]; |
||||
|
const payload = { |
||||
|
operation: "add", |
||||
|
key, |
||||
|
value |
||||
|
}; |
||||
|
this.trigger("UPDATE", payload); |
||||
|
return this; |
||||
|
} |
||||
|
}) |
@ -0,0 +1,14 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<!-- Attachment tag tree view--> |
||||
|
<record id="ir_attachment_tag_view_tree" model="ir.ui.view"> |
||||
|
<field name="name">ir.attachment.tag.view.tree</field> |
||||
|
<field name="model">ir.attachment.tag</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<tree string="Tags" editable="bottom" sample="1"> |
||||
|
<field name="name"/> |
||||
|
<field name="color" widget="color_picker"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</record> |
||||
|
</odoo> |
@ -0,0 +1,32 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<!--Attachment Form View--> |
||||
|
<record id="view_attachment_form" model="ir.ui.view" > |
||||
|
<field name="name">ir.attachment.view.form.inherit.chatter.attachments.manager |
||||
|
</field> |
||||
|
<field name="model">ir.attachment</field> |
||||
|
<field name="inherit_id" ref="base.view_attachment_form"/> |
||||
|
<field name="priority" eval="25"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<xpath expr="//field[@name='type']" position="after"> |
||||
|
<field name="tags_ids" string="Tag" widget="many2many_tags" |
||||
|
options="{'color_field': 'color', 'no_create_edit': True}"/> |
||||
|
<field name="local_url" string="Loc_url"/> |
||||
|
</xpath> |
||||
|
</field> |
||||
|
</record> |
||||
|
<!-- Search view--> |
||||
|
<record id="view_attachment_search" model="ir.ui.view"> |
||||
|
<field name="name">ir.attachment.view.search.inherit.chatter.attachments.manager</field> |
||||
|
<field name="model">ir.attachment</field> |
||||
|
<field name="inherit_id" ref="base.view_attachment_search"/> |
||||
|
<field name="arch" type="xml"> |
||||
|
<xpath expr="//filter[@name='creation_month']" position="after"> |
||||
|
<filter string="Tags" name="attach_tags" domain="[]" context="{'group_by':'tags_ids'}"/> |
||||
|
</xpath> |
||||
|
<xpath expr="//field[@name='type']" position="after"> |
||||
|
<field name="tags_ids"/> |
||||
|
</xpath> |
||||
|
</field> |
||||
|
</record> |
||||
|
</odoo> |