@ -0,0 +1,48 @@ |
|||||
|
.. image:: https://img.shields.io/badge/license-LGPL--3-green.svg |
||||
|
:target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html |
||||
|
:alt: License: LGPL-3 |
||||
|
|
||||
|
Dynamic Hover on Related Fields |
||||
|
=============================== |
||||
|
Dynamic Hover on Related Fields Helps you to show the configured |
||||
|
fields in a tooltip popup |
||||
|
|
||||
|
Configuration |
||||
|
============= |
||||
|
No additional configuration required |
||||
|
|
||||
|
Company |
||||
|
------- |
||||
|
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__ |
||||
|
|
||||
|
License |
||||
|
------- |
||||
|
General Public License, Version 3 (LGPL v3). |
||||
|
(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) |
||||
|
|
||||
|
Credits |
||||
|
------- |
||||
|
* Developer: (V17) ASWIN A K, 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: ASWIN A K (odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU LESSER |
||||
|
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from . import models |
@ -0,0 +1,55 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: ASWIN A K (odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU LESSER |
||||
|
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
{ |
||||
|
'name': 'Dynamic Hover on Related Fields', |
||||
|
'version': '17.0.1.0.0', |
||||
|
'category': 'Extra Tools', |
||||
|
'summary': 'Dynamic Hover on Related Fields Helps you to ' |
||||
|
'show the configured fields in a tooltip popup', |
||||
|
'description': 'Enhance your user experience with ' |
||||
|
'Dynamic Hover on Related Fields! This feature allows ' |
||||
|
'you to effortlessly display configured fields in ' |
||||
|
'a convenient tooltip popup. You have the flexibility ' |
||||
|
'to choose which fields and models you want to showcase ' |
||||
|
'when hovering over relevant information. ' |
||||
|
'Simplify your interactions and access key data with ease.', |
||||
|
'author': 'Cybrosys Techno solutions', |
||||
|
'company': 'Cybrosys Techno Solutions', |
||||
|
'maintainer': 'Cybrosys Techno Solutions', |
||||
|
'website': "https://www.cybrosys.com", |
||||
|
'depends': ['web'], |
||||
|
'data': [ |
||||
|
'security/ir.model.access.csv', |
||||
|
'views/hover_related_fields_views.xml' |
||||
|
], |
||||
|
'assets': { |
||||
|
'web.assets_backend': [ |
||||
|
'dynamic_hover_on_related_fields/static/src/xml/*.xml', |
||||
|
'dynamic_hover_on_related_fields/static/src/js/*.js', |
||||
|
], |
||||
|
}, |
||||
|
'images': ['static/description/banner.jpg'], |
||||
|
'license': 'LGPL-3', |
||||
|
'installable': True, |
||||
|
'application': True, |
||||
|
'auto_install': False, |
||||
|
} |
@ -0,0 +1,6 @@ |
|||||
|
## Module <dynamic_hover_on_related_fields> |
||||
|
|
||||
|
#### 29.02.2024 |
||||
|
#### Version 17.0.1.0.0 |
||||
|
#### ADD |
||||
|
- Initial Commit for Dynamic Hover on Related Fields |
@ -0,0 +1,22 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: ASWIN A K (odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU LESSER |
||||
|
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from . import hover_related_fields |
@ -0,0 +1,121 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: ASWIN A K (odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU LESSER |
||||
|
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE |
||||
|
# (LGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from odoo import api, fields, models |
||||
|
|
||||
|
|
||||
|
class HoverRelatedFields(models.Model): |
||||
|
""" |
||||
|
Model for managing hover-related fields and their configurations. |
||||
|
""" |
||||
|
_name = 'hover.related.fields' |
||||
|
_description = 'Hover Related Fields' |
||||
|
_rec_name = 'model_id' |
||||
|
_sql_constraints = [ |
||||
|
('unique_model_id', 'UNIQUE(model_id)', |
||||
|
'One model should only have one configuration.') |
||||
|
] |
||||
|
|
||||
|
model_ids = fields.Many2many( |
||||
|
'ir.model', |
||||
|
'hover_related_models_rel', |
||||
|
string='Models', |
||||
|
compute='_compute_model_ids', |
||||
|
help='Models related to the configuration ' |
||||
|
'for setting domain for model_id', |
||||
|
) |
||||
|
model_id = fields.Many2one( |
||||
|
'ir.model', |
||||
|
'Model', |
||||
|
domain="[('id', 'not in', model_ids)]", |
||||
|
help='Select a model for configuration', |
||||
|
) |
||||
|
field_ids = fields.Many2many( |
||||
|
'ir.model.fields', |
||||
|
string='Fields', domain="[('model_id', '=', model_id)]", |
||||
|
help='Fields related to the selected model', |
||||
|
) |
||||
|
active = fields.Boolean( |
||||
|
string='Active', |
||||
|
default=True, |
||||
|
help='Helps to archive the configurations') |
||||
|
|
||||
|
@api.depends('model_id') |
||||
|
def _compute_model_ids(self): |
||||
|
self.model_ids = self.search([]).mapped('model_id') |
||||
|
|
||||
|
@api.model |
||||
|
def finding_the_data_to_show_tooltip(self, info): |
||||
|
""" |
||||
|
Method to find data to display in tooltips based on the provided |
||||
|
information. |
||||
|
|
||||
|
:param info: Information about the tooltip request. |
||||
|
:type info: dict |
||||
|
:return: Data to display in the tooltip. |
||||
|
:rtype: list or bool |
||||
|
""" |
||||
|
current_record = self.env[info['resModel']].browse(int(info['resId'])) |
||||
|
field_name = info['field']['name'] |
||||
|
configured_model = self.search( |
||||
|
[('model_id.model', '=', info['field']['relation'])]) |
||||
|
required_data = [[ |
||||
|
{ |
||||
|
'id': field.id, |
||||
|
'field': field.field_description, |
||||
|
'field_name': field.name, |
||||
|
'ttype': field.ttype, |
||||
|
'value': rec[ |
||||
|
field.name |
||||
|
].display_name if field.ttype == 'many2one' else rec[field.name] |
||||
|
} for field in configured_model.field_ids |
||||
|
] for rec in current_record[field_name]] |
||||
|
return required_data if required_data != [[]] else False |
||||
|
|
||||
|
@api.model |
||||
|
def finding_the_data_to_show_tooltip_many2many(self, info): |
||||
|
""" |
||||
|
Method to find data for tooltips in many2many, |
||||
|
many2one relationships. |
||||
|
|
||||
|
:param info: Information about the tooltip request. |
||||
|
:type info: dict |
||||
|
:return: Data to display in the tooltip. |
||||
|
:rtype: list or string |
||||
|
""" |
||||
|
rec_to_show = self.env[info['field']['relation']].browse( |
||||
|
int(info['related_record_id'])) |
||||
|
configured_model = self.search( |
||||
|
[('model_id.model', '=', info['field']['relation'])]) |
||||
|
required_data = [ |
||||
|
{ |
||||
|
'id': field.id, |
||||
|
'field': field.field_description, |
||||
|
'field_name': field.name, |
||||
|
'ttype': field.ttype, |
||||
|
'value': rec_to_show[ |
||||
|
field.name |
||||
|
].display_name if field.ttype == 'many2one' else rec_to_show[field.name] |
||||
|
} |
||||
|
for field in configured_model.field_ids] |
||||
|
if required_data == [] and info['viewMode'] == 'list': |
||||
|
required_data = rec_to_show.display_name |
||||
|
return required_data |
|
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: 80 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: 3.2 KiB |
After Width: | Height: | Size: 589 B |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 565 B |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 967 B |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 43 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 5.0 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 49 KiB |
After Width: | Height: | Size: 81 KiB |
After Width: | Height: | Size: 84 KiB |
After Width: | Height: | Size: 85 KiB |
After Width: | Height: | Size: 113 KiB |
After Width: | Height: | Size: 85 KiB |
After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 50 KiB |
After Width: | Height: | Size: 159 KiB |
After Width: | Height: | Size: 154 KiB |
After Width: | Height: | Size: 139 KiB |
After Width: | Height: | Size: 137 KiB |
After Width: | Height: | Size: 209 KiB |
After Width: | Height: | Size: 92 KiB |
After Width: | Height: | Size: 9.1 KiB |
@ -0,0 +1,625 @@ |
|||||
|
<!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;"> |
||||
|
Dynamic Hover on Related Fields </h1> |
||||
|
<p class="my-3 mb-4" |
||||
|
style="max-width: 80%; font-weight: 400 !important; line-height: 32px; color: #718096;"> |
||||
|
Dynamic Hover on Related Fields Helps you to show the configured fields in a tooltip popup |
||||
|
</p> |
||||
|
<div style="width: 80%; margin-top: 3rem;"> |
||||
|
<img src="assets/screenshots/hero-v17.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;">Effortless Display of Configured Fields.</p> |
||||
|
<p class="m-0" style="color:#718096">Quickly access relevant information with a convenient tooltip popup that effortlessly showcases configured fields. |
||||
|
</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;">Flexibility in Field and Model Selection.</p> |
||||
|
<p class="m-0" style="color:#718096">Tailor your experience by selecting the specific fields and models you want to see when hovering over related information. |
||||
|
</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"> |
||||
|
<img src="assets/screenshots/dynamic1.png" class="img-responsive" width="100%" height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h2 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#714B67!important; font-size:1.7rem !important"> |
||||
|
Configuration |
||||
|
</h2> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Go to Dynamic Hover -> New -> We can see the fields model and fields to configure. |
||||
|
</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<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"> |
||||
|
<img src="assets/screenshots/dynamic2.png" class="img-responsive" width="100%" height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h2 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#714B67!important; font-size:1.7rem !important"> |
||||
|
Configured Records |
||||
|
</h2> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Go to Dynamic Hover -> We can see the configured models and fields.</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<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"> |
||||
|
<img src="assets/screenshots/dynamic3.png" class="img-responsive" width="100%" height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h2 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#714B67!important; font-size:1.7rem !important"> |
||||
|
In Tree View |
||||
|
</h2> |
||||
|
<h4 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
||||
|
Hover over any configured related field to instantly view its data in popup</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<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"> |
||||
|
<img src="assets/screenshots/dynamic4.png" class="img-responsive" width="100%" height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h2 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#714B67!important; font-size:1.7rem !important"> |
||||
|
In Form View |
||||
|
</h2> |
||||
|
|
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<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"> |
||||
|
<img src="assets/screenshots/dynamic5.png" class="img-responsive" width="100%" height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h2 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#714B67!important; font-size:1.7rem !important"> |
||||
|
|
||||
|
</h2> |
||||
|
|
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<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"> |
||||
|
<img src="assets/screenshots/dynamic6.png" class="img-responsive" width="100%" height="auto"> |
||||
|
</div> |
||||
|
<div class="px-3"> |
||||
|
<h2 class="mt-2" |
||||
|
style=" font-weight:600 !important; color:#714B67!important; font-size:1.7rem !important"> |
||||
|
In Many2many Tags |
||||
|
</h2> |
||||
|
|
||||
|
</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>Available in Odoo 17.0 Community & Enterprise. |
||||
|
</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>Effortless Display of Configured Fields. |
||||
|
</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>Flexibility in Field and Model Selection. |
||||
|
|
||||
|
</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>Seamless Interaction. |
||||
|
|
||||
|
</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>Enhanced Accessibility. |
||||
|
|
||||
|
</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:29th Feb 2024</span> |
||||
|
</div> |
||||
|
<p class="m-0" |
||||
|
style=" color:#718096!important; font-size:1rem !important;line-height: 28px;"> |
||||
|
|
||||
|
Initial commit for Dynamic Hover on Related Fields.</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/hide_menu_user/" style="color: #000; text-decoration: none;"> |
||||
|
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
||||
|
<div style="width: 300px; "> |
||||
|
<img src="assets/modules/menu.jpg" alt="" width="100%" height="auto"> |
||||
|
|
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold">Hide Any Menu User Wise</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/17.0/base_account_budget/" style="color: #000; text-decoration: none;"> |
||||
|
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
||||
|
<div style="width: 300px; "> |
||||
|
<img src="assets/modules/bugget.jpg" alt="" width="100%" height="auto"> |
||||
|
|
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold">Budget Management</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/17.0/pos_numpad_show_hide/" style="color: #000; text-decoration: none;"> |
||||
|
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
||||
|
<div style="width: 300px; "> |
||||
|
<img src="assets/modules/show.jpg" alt="" width="100%" height="auto"> |
||||
|
|
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold">Pos Numpad Show/Hide</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/hide_all_print_button/" style="color: #000; text-decoration: none;"> |
||||
|
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
||||
|
<div style="width: 300px; "> |
||||
|
<img src="assets/modules/print.jpg" alt="" width="100%" height="auto"> |
||||
|
|
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold">All In One Hide Print Button</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/barcode.png" alt="" width="100%" height="auto"> |
||||
|
|
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold">Barcode Scanning In Inventory</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<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/whatsapp.jpg" alt="" width="100%" height="auto"> |
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold"> Send Whatsapp Message</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,33 @@ |
|||||
|
/** @odoo-module **/ |
||||
|
|
||||
|
export function getTooltipInfo(params) { |
||||
|
let widgetDescription = undefined; |
||||
|
if (params.fieldInfo.widget) { |
||||
|
widgetDescription = params.fieldInfo.field.displayName; |
||||
|
} |
||||
|
|
||||
|
const info = { |
||||
|
viewMode: params.viewMode, |
||||
|
resModel: params.resModel, |
||||
|
resId: params.resId, |
||||
|
debug: Boolean(odoo.debug), |
||||
|
field: { |
||||
|
name: params.field.name, |
||||
|
help: params.fieldInfo.help ?? params.field.help, |
||||
|
type: params.field.type, |
||||
|
widget: params.fieldInfo.widget, |
||||
|
widgetDescription, |
||||
|
context: params.fieldInfo.context, |
||||
|
domain: params.fieldInfo.domain || params.field.domain, |
||||
|
invisible: params.fieldInfo.invisible, |
||||
|
column_invisible: params.fieldInfo.column_invisible, |
||||
|
readonly: params.fieldInfo.readonly, |
||||
|
required: params.fieldInfo.required, |
||||
|
changeDefault: params.field.change_default, |
||||
|
relation: params.field.relation, |
||||
|
selection: params.field.selection, |
||||
|
default: params.field.default, |
||||
|
}, |
||||
|
}; |
||||
|
return JSON.stringify(info); |
||||
|
} |
@ -0,0 +1,29 @@ |
|||||
|
/** @odoo-module **/ |
||||
|
|
||||
|
import { FormLabel } from "@web/views/form/form_label" |
||||
|
import { patch } from "@web/core/utils/patch" |
||||
|
import { getTooltipInfo } from "./fieldToltip" |
||||
|
patch(FormLabel.prototype, { |
||||
|
|
||||
|
/** |
||||
|
* Retrieves tooltip information for the FormLabel. |
||||
|
* @returns {string} JSON string representing tooltip information. |
||||
|
*/ |
||||
|
get tooltipInfo() { |
||||
|
if (!odoo.debug) { |
||||
|
return JSON.stringify({ |
||||
|
field: { |
||||
|
help: this.tooltipHelp, |
||||
|
}, |
||||
|
}); |
||||
|
} |
||||
|
return getTooltipInfo({ |
||||
|
viewMode: "form", |
||||
|
resModel: this.props.record.resModel, |
||||
|
resId: this.props.record.resId, |
||||
|
field: this.props.record.fields[this.props.fieldName], |
||||
|
fieldInfo: this.props.fieldInfo, |
||||
|
help: this.tooltipHelp, |
||||
|
}); |
||||
|
}, |
||||
|
}) |
@ -0,0 +1,29 @@ |
|||||
|
/** @odoo-module **/ |
||||
|
|
||||
|
import { patch } from "@web/core/utils/patch" |
||||
|
import { ListRenderer } from "@web/views/list/list_renderer"; |
||||
|
|
||||
|
patch(ListRenderer.prototype, { |
||||
|
/** |
||||
|
* Generates tooltip information for the ListRenderer. |
||||
|
* @returns {string} JSON string representing tooltip information. |
||||
|
*/ |
||||
|
tolTipInfo(record, fields) { |
||||
|
const field = record.fields[fields.name] |
||||
|
const info = { |
||||
|
viewMode: "list", |
||||
|
resModel: record.resModel, |
||||
|
related_record_id: record.data[fields.name][0], |
||||
|
resId: record.resId, |
||||
|
debug: Boolean(odoo.debug), |
||||
|
field: { |
||||
|
name: field.name, |
||||
|
help: field?.help, |
||||
|
type: field.type, |
||||
|
domain: field.domain, |
||||
|
relation: field.relation, |
||||
|
}, |
||||
|
}; |
||||
|
return JSON.stringify(info); |
||||
|
} |
||||
|
}) |
@ -0,0 +1,44 @@ |
|||||
|
/** @odoo-module **/ |
||||
|
|
||||
|
import { patch } from "@web/core/utils/patch"; |
||||
|
import { Many2ManyTagsField } from "@web/views/fields/many2many_tags/many2many_tags_field"; |
||||
|
|
||||
|
patch(Many2ManyTagsField.prototype, { |
||||
|
|
||||
|
/** |
||||
|
* Retrieves tag properties for the Many2ManyTagsField. |
||||
|
* @param {Object} record - The record for which tag properties are retrieved. |
||||
|
* @returns {Object} Tag properties object. |
||||
|
*/ |
||||
|
getTagProps(record) { |
||||
|
const field = this.props.record.fields[this.props.name] |
||||
|
const info = { |
||||
|
viewMode: "form", |
||||
|
resModel:this.props.record.resModel, |
||||
|
resId: this.props.record.resId, |
||||
|
related_record_id: record.resId, |
||||
|
debug: Boolean(odoo.debug), |
||||
|
field: { |
||||
|
name: field.name, |
||||
|
help: field?.help, |
||||
|
type: field.type, |
||||
|
domain: field.domain, |
||||
|
relation: field.relation, |
||||
|
}, |
||||
|
}; |
||||
|
return { |
||||
|
id: record.id, // datapoint_X
|
||||
|
resId: record.resId, |
||||
|
text: record.data.display_name, |
||||
|
colorIndex: record.data[this.props.colorField], |
||||
|
onDelete: !this.props.readonly ? () => this.deleteTag(record.id) : undefined, |
||||
|
onKeydown: (ev) => { |
||||
|
if (this.props.readonly) { |
||||
|
return; |
||||
|
} |
||||
|
this.onTagKeydown(ev); |
||||
|
}, |
||||
|
info: JSON.stringify(info) |
||||
|
}; |
||||
|
} |
||||
|
}) |
@ -0,0 +1,50 @@ |
|||||
|
/** @odoo-module **/ |
||||
|
|
||||
|
import { patch } from "@web/core/utils/patch"; |
||||
|
import { Many2OneField } from "@web/views/fields/many2one/many2one_field"; |
||||
|
|
||||
|
patch(Many2OneField.prototype, { |
||||
|
/** |
||||
|
* Generates tooltip information for the Many2OneField. |
||||
|
* @returns {string} JSON string representing tooltip information. |
||||
|
*/ |
||||
|
get tooltipInfo() { |
||||
|
return this.getTooltipInfo({ |
||||
|
viewMode: "form", |
||||
|
resModel: this.props.record.resModel, |
||||
|
related_record_id: this.props.record.data[this.props.name][0], |
||||
|
resId: this.props.record.resId, |
||||
|
field: this.props.record.fields[this.props.name], |
||||
|
fieldInfo: this.props.fieldInfo, |
||||
|
}); |
||||
|
|
||||
|
}, |
||||
|
|
||||
|
/** |
||||
|
* Constructs tooltip information object based on provided parameters. |
||||
|
* @param {Object} params - Parameters for tooltip information. |
||||
|
* @param {string} params.viewMode - View mode of the record. |
||||
|
* @param {string} params.resModel - Model of the record. |
||||
|
* @param {number} params.resId - ID of the record. |
||||
|
* @param {Object} params.field - Field information. |
||||
|
* @param {Object} params.fieldInfo - Field information. |
||||
|
* @returns {string} JSON string representing tooltip information. |
||||
|
*/ |
||||
|
getTooltipInfo(params){ |
||||
|
const info = { |
||||
|
viewMode: params.viewMode, |
||||
|
resModel: params.resModel, |
||||
|
related_record_id: params.related_record_id, |
||||
|
resId: params.resId, |
||||
|
debug: Boolean(odoo.debug), |
||||
|
field: { |
||||
|
name: params.field.name, |
||||
|
help: params.field?.help, |
||||
|
type: params.field.type, |
||||
|
domain: params.field.domain, |
||||
|
relation: params.field.relation, |
||||
|
}, |
||||
|
}; |
||||
|
return JSON.stringify(info); |
||||
|
}, |
||||
|
}) |
@ -0,0 +1,35 @@ |
|||||
|
/** @odoo-module **/ |
||||
|
|
||||
|
import { patch } from "@web/core/utils/patch" |
||||
|
import { PopoverController } from "@web/core/popover/popover_controller"; |
||||
|
import { onWillStart } from "@odoo/owl"; |
||||
|
import { useService } from "@web/core/utils/hooks"; |
||||
|
|
||||
|
patch(PopoverController.prototype, { |
||||
|
setup(){ |
||||
|
this.orm = useService("orm"); |
||||
|
onWillStart(async () => await this.getDataFromBackend()); |
||||
|
super.setup(); |
||||
|
}, |
||||
|
/** |
||||
|
* Fetches data from the backend to display in tooltips. |
||||
|
* Determines whether to call the method for many2many relationships or regular fields. |
||||
|
* Updates the required data in the component props. |
||||
|
*/ |
||||
|
async getDataFromBackend() { |
||||
|
if (!this.props.componentProps?.info?.field?.relation) return |
||||
|
if (this.props.componentProps?.info?.related_record_id){ |
||||
|
const requiredData = await this.orm.call( |
||||
|
"hover.related.fields", |
||||
|
"finding_the_data_to_show_tooltip_many2many", |
||||
|
[this?.props?.componentProps?.info]); |
||||
|
this.props.componentProps.info.requiredData = requiredData; |
||||
|
}else if(this.props.componentProps?.info?.resId){ |
||||
|
const requiredData = await this.orm.call( |
||||
|
"hover.related.fields", |
||||
|
"finding_the_data_to_show_tooltip", |
||||
|
[this?.props?.componentProps?.info]); |
||||
|
this.props.componentProps.info.requiredData = requiredData; |
||||
|
} |
||||
|
} |
||||
|
}) |
@ -0,0 +1,33 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<templates xml:space="preserve"> |
||||
|
<!-- |
||||
|
This template inherits the `web.ListRenderer.RecordRow` template and adds |
||||
|
some data attributes to the td tag that are required for the tooltip. |
||||
|
--> |
||||
|
<t t-inherit="web.ListRenderer.RecordRow" t-inherit-mode="extension"> |
||||
|
<td t-on-keydown="(ev) => this.onCellKeydown(ev, group, record)" |
||||
|
class="o_data_cell cursor-pointer" |
||||
|
t-att-class="getCellClass(column, record)" |
||||
|
t-att-name="column.name" |
||||
|
t-att-colspan="column.colspan" |
||||
|
t-att-data-tooltip="!isInvisible ? getCellTitle(column, record) : false" |
||||
|
data-tooltip-delay="1000" |
||||
|
t-on-click="(ev) => this.onCellClicked(record, column, ev)" tabindex="-1" position="replace"> |
||||
|
<td t-on-keydown="(ev) => this.onCellKeydown(ev, group, record)" |
||||
|
class="o_data_cell cursor-pointer" |
||||
|
t-att-class="getCellClass(column, record)" |
||||
|
t-att-name="column.name" |
||||
|
t-att-colspan="column.colspan" |
||||
|
t-att-data-tooltip="!isInvisible ? getCellTitle(column, record) : false" |
||||
|
t-att-data-tooltip-info="['Many2OneField', 'SaleOrderLineProductField'].includes(column.field.component.name)? tolTipInfo(record, column): false" |
||||
|
t-att-data-tooltip-template="['Many2OneField', 'SaleOrderLineProductField'].includes(column.field.component.name)? 'dynamic_hover_on_related_fields.RelatedFieldTooltip' : false" |
||||
|
data-tooltip-delay="1000" |
||||
|
t-on-click="(ev) => this.onCellClicked(record, column, ev)" tabindex="-1"> |
||||
|
<t t-if="!isInvisible"> |
||||
|
<t t-if="canUseFormatter(column, record)" t-out="getFormattedValue(column, record)"/> |
||||
|
<Field t-else="" name="column.name" record="record" type="column.widget" class="getFieldClass(column)" fieldInfo="column" t-props="getFieldProps(record, column)"/> |
||||
|
</t> |
||||
|
</td> |
||||
|
</td> |
||||
|
</t> |
||||
|
</templates> |
@ -0,0 +1,70 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<templates xml:space="preserve"> |
||||
|
<!-- |
||||
|
This template extends the behavior of the web.Many2OneField component. |
||||
|
It modifies and added the data attribute required for tooltip based on certain conditions. |
||||
|
--> |
||||
|
<t t-inherit="web.Many2OneField" t-inherit-mode="extension"> |
||||
|
<t t-if="!props.canOpen" position="replace"> |
||||
|
<t t-if="!props.canOpen"> |
||||
|
<span> |
||||
|
<span t-esc="displayName" |
||||
|
t-att="{'data-tooltip-template': 'dynamic_hover_on_related_fields.RelatedFieldTooltip', 'data-tooltip-info': tooltipInfo, 'data-tooltip-touch-tap-to-show': 'true'}"/> |
||||
|
<t t-foreach="extraLines" t-as="extraLine" t-key="extraLine_index"> |
||||
|
<br /> |
||||
|
<span t-esc="extraLine" /> |
||||
|
</t> |
||||
|
</span> |
||||
|
</t> |
||||
|
</t> |
||||
|
|
||||
|
<a t-if="value" |
||||
|
t-attf-class="o_form_uri #{classFromDecoration}" |
||||
|
t-att-href="value ? `#id=${value[0]}&model=${relation}` : '#'" |
||||
|
t-on-click.prevent="onClick" position="replace"> |
||||
|
<a |
||||
|
t-if="value" |
||||
|
t-attf-class="o_form_uri #{classFromDecoration}" |
||||
|
t-att-href="value ? `#id=${value[0]}&model=${relation}` : '#'" |
||||
|
t-on-click.prevent="onClick" |
||||
|
t-att="{'data-tooltip-template': 'dynamic_hover_on_related_fields.RelatedFieldTooltip', 'data-tooltip-info': tooltipInfo, 'data-tooltip-touch-tap-to-show': 'true'}" |
||||
|
> |
||||
|
<span t-esc="displayName" /> |
||||
|
<t t-foreach="extraLines" t-as="extraLine" t-key="extraLine_index"> |
||||
|
<br /> |
||||
|
<span t-esc="extraLine" /> |
||||
|
</t> |
||||
|
</a> |
||||
|
</a> |
||||
|
|
||||
|
<div class="o_field_many2one_selection" position="replace"> |
||||
|
<div class="o_field_many2one_selection" |
||||
|
t-att="{'data-tooltip-template': 'dynamic_hover_on_related_fields.RelatedFieldTooltip', 'data-tooltip-info': tooltipInfo, 'data-tooltip-touch-tap-to-show': 'true'}"> |
||||
|
<Many2XAutocomplete t-props="Many2XAutocompleteProps"/> |
||||
|
<t t-if="hasExternalButton"> |
||||
|
<button |
||||
|
type="button" |
||||
|
class="btn btn-link text-action oi o_external_button" |
||||
|
t-att-class="env.inDialog ? 'oi-launch' : 'oi-arrow-right'" |
||||
|
tabindex="-1" |
||||
|
draggable="false" |
||||
|
aria-label="Internal link" |
||||
|
data-tooltip="Internal link" |
||||
|
t-on-click="onExternalBtnClick" |
||||
|
/> |
||||
|
</t> |
||||
|
<button |
||||
|
t-if="hasBarcodeButton" |
||||
|
t-on-click="onBarcodeBtnClick" |
||||
|
type="button" |
||||
|
class="btn ms-3 o_barcode" |
||||
|
tabindex="-1" |
||||
|
draggable="false" |
||||
|
aria-label="Scan barcode" |
||||
|
title="Scan barcode" |
||||
|
data-tooltip="Scan barcode" |
||||
|
/> |
||||
|
</div> |
||||
|
</div> |
||||
|
</t> |
||||
|
</templates> |
@ -0,0 +1,45 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<templates xml:space="preserve"> |
||||
|
<!-- |
||||
|
This template defines the structure of the tooltip used for displaying related field data. |
||||
|
It dynamically renders different types of data based on 'requiredData' attribute. |
||||
|
--> |
||||
|
<t t-name="dynamic_hover_on_related_fields.RelatedFieldTooltip"> |
||||
|
<!-- Render if 'requiredData' is an object and has data --> |
||||
|
<div t-if="requiredData and requiredData.length > 0 and typeof requiredData === 'object'" style="color: #fff;"> |
||||
|
<h6 style="color: #fff;">Field Data</h6> |
||||
|
<ul class="o-tooltip--technical"> |
||||
|
<!-- Iterate through each line of required data --> |
||||
|
<t t-foreach="requiredData" t-as="line" t-key="line_index"> |
||||
|
<!-- Render differently based on data type --> |
||||
|
<li t-if="line.ttype === 'binary'"> |
||||
|
<!-- Render binary data as image --> |
||||
|
<span class="o-tooltip--technical--title" t-esc="line.field"/><span>:</span> |
||||
|
<img t-attf-src="data:image/png;base64,#{line.value}" style="width:40px; padding:5px;" t-att-alt="line.field"/> |
||||
|
</li> |
||||
|
<li t-elif="line.ttype === 'html'"> |
||||
|
<!-- Render HTML data as iframe --> |
||||
|
<span class="o-tooltip--technical--title" t-esc="line.field"/><span>:</span> |
||||
|
<br/> |
||||
|
<div style="background:#fff;"> |
||||
|
<iframe t-att-srcdoc="line.value" style="width: auto;; height: auto;"></iframe> |
||||
|
</div> |
||||
|
</li> |
||||
|
<li t-else=""> |
||||
|
<!-- Render other types of data --> |
||||
|
<span class="o-tooltip--technical--title" t-esc="line.field"/><span>:</span> |
||||
|
<t t-esc="line.value"/> |
||||
|
</li> |
||||
|
</t> |
||||
|
</ul> |
||||
|
</div> |
||||
|
<!-- Render if 'requiredData' is not an object --> |
||||
|
<div t-elif="typeof requiredData !== 'object'"> |
||||
|
<span t-esc="requiredData"/> |
||||
|
</div> |
||||
|
<!-- Render if 'requiredData' is empty --> |
||||
|
<div t-else=""> |
||||
|
<h6 style="color: #fff;">No Data Available !!!</h6> |
||||
|
</div> |
||||
|
</t> |
||||
|
</templates> |
@ -0,0 +1,58 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<templates xml:space="preserve"> |
||||
|
<!-- |
||||
|
This template extends the behavior of the web.TagsList component. |
||||
|
It modifies and adds the data attribute required for tooltip to show |
||||
|
tooltips on many2many tags. |
||||
|
--> |
||||
|
<t t-inherit="web.TagsList" t-inherit-mode="extension"> |
||||
|
<xpath expr="//span[@class='o_tag position-relative d-inline-flex align-items-center user-select-none mw-100']" position="replace"> |
||||
|
<span |
||||
|
class="o_tag position-relative d-inline-flex align-items-center user-select-none mw-100" |
||||
|
t-att-class="{ |
||||
|
'o_avatar opacity-trigger-hover' : tag.img, |
||||
|
'o_badge badge rounded-pill lh-1': !tag.img, |
||||
|
}" |
||||
|
t-attf-class="{{ !tag.img ? 'o_tag_color_' + (tag.colorIndex ? tag.colorIndex : '0') : '' }}" |
||||
|
tabindex="-1" |
||||
|
t-att-data-color="tag.colorIndex" |
||||
|
t-att-title="tag.text" |
||||
|
t-on-click="(ev) => tag.onClick and tag.onClick(ev)" |
||||
|
t-on-keydown="tag.onKeydown" |
||||
|
t-att="{'data-tooltip-template': 'dynamic_hover_on_related_fields.RelatedFieldTooltip', 'data-tooltip-info': tag.info, 'data-tooltip-touch-tap-to-show': 'true'}" |
||||
|
> |
||||
|
<span |
||||
|
t-if="tag.img and props.displayText and tag.onDelete" |
||||
|
class="o_avatar_backdrop position-absolute top-0 end-0 bottom-0 start-0 ms-n2 mt-n1 mb-n1 bg-view rounded border shadow opacity-0 opacity-100-hover"/> |
||||
|
<img |
||||
|
t-if="tag.img" |
||||
|
t-att-src="tag.img" |
||||
|
class="o_avatar o_m2m_avatar position-relative rounded" |
||||
|
t-att-class="tag.imageClass"/> |
||||
|
|
||||
|
<i t-if="tag.icon" t-attf-class="p-1 fa {{ tag.icon }}" t-att-class="tag.className"/> |
||||
|
|
||||
|
<div |
||||
|
t-if="props.displayText" |
||||
|
class="o_tag_badge_text text-truncate" |
||||
|
t-att-class="{'position-relative ms-1' : tag.img}" |
||||
|
t-out="tag.text"/> |
||||
|
|
||||
|
<a |
||||
|
t-if="tag.onDelete" |
||||
|
t-on-click.stop.prevent="(ev) => tag.onDelete and tag.onDelete(ev)" |
||||
|
class="o_delete d-flex align-items-center opacity-100-hover" |
||||
|
t-att-class="{ |
||||
|
'btn btn-link position-relative py-0 px-1 text-danger opacity-0': tag.img, |
||||
|
'ps-1 opacity-75': !tag.img |
||||
|
}" |
||||
|
title="Delete" |
||||
|
aria-label="Delete" |
||||
|
tabIndex="-1" |
||||
|
href="#"> |
||||
|
<i class="oi oi-close align-text-top"/> |
||||
|
</a> |
||||
|
</span> |
||||
|
</xpath> |
||||
|
</t> |
||||
|
</templates> |
@ -0,0 +1,32 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<templates xml:space="preserve"> |
||||
|
<!-- |
||||
|
This template extends the behavior of the web.FieldTooltip component. |
||||
|
It adds extra content after the default technical tooltip. |
||||
|
--> |
||||
|
<t t-inherit="web.FieldTooltip" t-inherit-mode="extension"> |
||||
|
<xpath expr="//ul" position="after"> |
||||
|
<div t-if="requiredData and requiredData.length !== 0" style="color: #fff;"> |
||||
|
<h6 style="color: #fff;">Field Data</h6> |
||||
|
<t t-foreach="requiredData" t-as="data" t-key="data_index"> |
||||
|
<ul class="o-tooltip--technical"> |
||||
|
<span t-if="requiredData.length > 1">--> Record - <t t-esc="data_index+1"/> </span> |
||||
|
<t t-foreach="data" t-as="line" t-key="line.id"> |
||||
|
<li t-if="line.ttype === 'binary'"> |
||||
|
<span class="o-tooltip--technical--title" t-esc="line.field"/><span>:</span> |
||||
|
<img t-attf-src="data:image/png;base64,#{line.value}" style="width:40px; padding:5px;" t-att-alt="line.field"/> |
||||
|
</li> |
||||
|
<li t-else=""> |
||||
|
<span class="o-tooltip--technical--title" t-esc="line.field"/><span>:</span> |
||||
|
<t t-esc="line.value"/> |
||||
|
</li> |
||||
|
</t> |
||||
|
</ul> |
||||
|
</t> |
||||
|
</div> |
||||
|
<div t-else=""> |
||||
|
<h6 style="color: #fff;">No Data Available !!!</h6> |
||||
|
</div> |
||||
|
</xpath> |
||||
|
</t> |
||||
|
</templates> |
@ -0,0 +1,62 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||
|
<odoo> |
||||
|
<!-- Define a view for configuring hover related fields --> |
||||
|
<record id="hover_related_fields_view_form" model="ir.ui.view"> |
||||
|
<field name="name">hover.related.fields.view.form</field> |
||||
|
<field name="model">hover.related.fields</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<!-- Define a form view --> |
||||
|
<form string="Configure"> |
||||
|
<group> |
||||
|
<group> |
||||
|
<field name="model_ids" invisible="1"/> |
||||
|
<field name="model_id" required="1"/> |
||||
|
<field name="field_ids" widget="many2many_tags" required="1"/> |
||||
|
</group> |
||||
|
</group> |
||||
|
</form> |
||||
|
</field> |
||||
|
</record> |
||||
|
<!-- Define a tree view for displaying configured hover related fields --> |
||||
|
<record id="hover_related_fields_view_tree" model="ir.ui.view"> |
||||
|
<field name="name">hover.related.fields.view.tree</field> |
||||
|
<field name="model">hover.related.fields</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<tree string="Configure"> |
||||
|
<field name="model_id"/> |
||||
|
<field name="field_ids" widget="many2many_tags"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</record> |
||||
|
<!-- Define a search view for filtering configured hover related fields --> |
||||
|
<record id="hover_related_fields_view_search" model="ir.ui.view"> |
||||
|
<field name="name">hover.related.fields.view.search</field> |
||||
|
<field name="model">hover.related.fields</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<search string="Filters"> |
||||
|
<field name="model_id" string="Model"/> |
||||
|
<separator/> |
||||
|
<filter string="Archived" name="inactive" domain="[('active', '=', False)]"/> |
||||
|
</search> |
||||
|
</field> |
||||
|
</record> |
||||
|
<!-- Define an action for opening the hover related fields configuration --> |
||||
|
<record id="hover_related_fields_action" model="ir.actions.act_window"> |
||||
|
<field name="name">Configure hover fields</field> |
||||
|
<field name="res_model">hover.related.fields</field> |
||||
|
<field name="view_mode">tree,form</field> |
||||
|
</record> |
||||
|
<!-- Define a menu for accessing hover related fields configuration --> |
||||
|
<menuitem |
||||
|
id="hover_related_fields_menu" |
||||
|
web_icon="dynamic_hover_on_related_fields,static/description/icon.png" |
||||
|
name="Dynamic Hover" |
||||
|
/> |
||||
|
<!-- Define a submenu for accessing hover related fields configuration --> |
||||
|
<menuitem |
||||
|
id="hover_related_fields_menu_configure" |
||||
|
name="Configure Models" |
||||
|
parent="hover_related_fields_menu" |
||||
|
action="hover_related_fields_action" |
||||
|
/> |
||||
|
</odoo> |