@ -0,0 +1,55 @@ |
|||||
|
.. 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 |
||||
|
|
||||
|
Master Search |
||||
|
============= |
||||
|
* Master Search module for Odoo 17 community editions. In this module, Users can |
||||
|
search the records in Customers, Products, Sale, Purchase, Inventory and |
||||
|
Accounting Modules |
||||
|
|
||||
|
|
||||
|
Configuration |
||||
|
============= |
||||
|
No additional Configuration |
||||
|
|
||||
|
|
||||
|
Company |
||||
|
------- |
||||
|
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__ |
||||
|
|
||||
|
License |
||||
|
------- |
||||
|
General Public License, Version 3 (AGPL v3). |
||||
|
(https://www.gnu.org/licenses/agpl-3.0-standalone.html) |
||||
|
|
||||
|
Credits |
||||
|
------- |
||||
|
* Developer: |
||||
|
(v14) Shahil |
||||
|
(v15) Athul |
||||
|
(v16) Rosmy |
||||
|
(v17) Anjhana 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,21 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author:Anjhana A K(<https://www.cybrosys.com>) |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from . import models |
@ -0,0 +1,50 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author:Anjhana A K(<https://www.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': 'Global Search', |
||||
|
'version': '17.0.1.0.0', |
||||
|
'category': 'Extra Tools', |
||||
|
'summary': """Easy Search in Customers, Products, Sale, Purchase, Inventory |
||||
|
and Accounting modules""", |
||||
|
'description': """Search, Global Search, Quick Search, Easy Search, Easy |
||||
|
Search in Customers, Products, Sale, Purchase, Inventory and Accounting |
||||
|
modules, Search, Advance search, global search """, |
||||
|
'author': 'Cybrosys Techno Solutions', |
||||
|
'company': 'Cybrosys Techno Solutions', |
||||
|
'maintainer': 'Cybrosys Techno Solutions', |
||||
|
'website': 'https://www.cybrosys.com', |
||||
|
'depends': ['base', 'stock', 'sale', 'purchase'], |
||||
|
'data': [ |
||||
|
'security/master_search_security.xml', |
||||
|
'security/ir.model.access.csv', |
||||
|
'views/master_search_view.xml' |
||||
|
], |
||||
|
'assets': { |
||||
|
'web.assets_backend': [ |
||||
|
'master_search/static/src/scss/master_search.scss', |
||||
|
], |
||||
|
}, |
||||
|
'images': ['static/description/banner.jpg'], |
||||
|
'license': 'AGPL-3', |
||||
|
'installable': True, |
||||
|
'auto_install': False, |
||||
|
'application': False, |
||||
|
} |
@ -0,0 +1,6 @@ |
|||||
|
## Module <master_search> |
||||
|
|
||||
|
#### 22.11.2023 |
||||
|
#### Version 17.0.1.0.0 |
||||
|
#### ADD |
||||
|
- Initial Commit for Global Search |
@ -0,0 +1,21 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author:Anjhana A K(<https://www.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 master_search |
@ -0,0 +1,316 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author:Anjhana A K(<https://www.cybrosys.com>) |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# This program is distributed in the hope that it will be useful, |
||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
|
# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from odoo import api, fields, models, _ |
||||
|
from odoo.exceptions import UserError |
||||
|
|
||||
|
|
||||
|
class MasterSearch(models.Model): |
||||
|
"""Master search model for easy search""" |
||||
|
_name = 'master.search' |
||||
|
_description = "Model for master search" |
||||
|
_rec_name = 'name' |
||||
|
_order = "create_date desc" |
||||
|
|
||||
|
name = fields.Char(string="Name", default=lambda self: _('Search'), |
||||
|
help='Searched names') |
||||
|
search_string = fields.Char(string="Search", help='Details to search') |
||||
|
search_mode = fields.Selection( |
||||
|
[('all', 'All'), ('active', 'Active'), |
||||
|
('inactive', 'Inactive')], |
||||
|
string="Search Mode", default="active", help='Search Details based on') |
||||
|
search_by = fields.Selection( |
||||
|
[('any', 'Any'), ('customer', 'Customer'), |
||||
|
('product', 'Product'), |
||||
|
('sale details', 'Sale'), |
||||
|
('purchase details', 'Purchase'), |
||||
|
('transaction details', 'Inventory'), |
||||
|
('account details', 'Accounting')], |
||||
|
string="Search By", default='any', help='Search in which model') |
||||
|
master_search_ids = fields.Many2many('master.search', |
||||
|
'master_search_self_rel', |
||||
|
'search_id', |
||||
|
'search_id1', |
||||
|
compute="_get_recent_searches", |
||||
|
limit=1, help='Recent search details') |
||||
|
history_count = fields.Integer(string="History Count", |
||||
|
compute="_get_history_count", |
||||
|
help='Recent search History Count') |
||||
|
customer_ids = fields.Many2many('res.partner', |
||||
|
'master_search_company_rel', |
||||
|
'search_id', 'company_id', |
||||
|
help='To fetch datas of customer search') |
||||
|
product_ids = fields.Many2many('product.template', |
||||
|
'master_search_product_rel', |
||||
|
'search_id', 'company_id', |
||||
|
help='To fetch datas of product search') |
||||
|
transaction_ids = fields.Many2many('stock.picking', |
||||
|
'master_search_transaction_rel', |
||||
|
'search_id', |
||||
|
'company_id', |
||||
|
string="Inventory", |
||||
|
help='To fetch datas of inventory' |
||||
|
' search') |
||||
|
customer_count = fields.Integer(string="Company Count", |
||||
|
compute="_get_operator_count", |
||||
|
help='To fetched customer search count') |
||||
|
product_count = fields.Integer(string="Product Count", |
||||
|
compute="_get_product_count", |
||||
|
help='To fetched product search count') |
||||
|
transaction_count = fields.Integer(string="Transaction Count", |
||||
|
compute="_get_transaction_count", |
||||
|
help='To fetched inventory search ' |
||||
|
'count') |
||||
|
sale_count = fields.Integer(string="Sale Count", compute="_get_sale_count", |
||||
|
help='To fetched sale search count') |
||||
|
purchase_count = fields.Integer(string="Sale Count", |
||||
|
compute="_get_purchase_count", |
||||
|
help='To fetched purchase search count') |
||||
|
account_count = fields.Integer(string="Account Count", |
||||
|
compute="_get_account_count", |
||||
|
help='To fetched account search count') |
||||
|
user_id = fields.Many2one('res.users', string="User", |
||||
|
default=lambda self: self.env.user) |
||||
|
match_entire = fields.Boolean(string="Match entire sentence", |
||||
|
help='Only matched datas to be viewed') |
||||
|
sale_ids = fields.Many2many('sale.order', |
||||
|
'master_search_sale_details_rel', |
||||
|
'search_id', 'company_id', |
||||
|
string="Sale", help='To fetch datas of sale ' |
||||
|
'search') |
||||
|
purchase_ids = fields.Many2many('purchase.order', |
||||
|
'master_search_purchase_details_rel', |
||||
|
'search_id', 'company_id', |
||||
|
string="Sale", help='To fetch datas of' |
||||
|
' purchase search') |
||||
|
account_ids = fields.Many2many('account.move', |
||||
|
'master_search_account_details_rel', |
||||
|
'search_id', 'company_id', |
||||
|
string="Account", help='To fetch datas of' |
||||
|
'account search') |
||||
|
|
||||
|
@api.depends('search_string') |
||||
|
def _get_recent_searches(self): |
||||
|
""" Get recent searches """ |
||||
|
try: |
||||
|
current_id = self.id if isinstance(self.id, int) \ |
||||
|
else self._origin.id |
||||
|
except: |
||||
|
current_id = False |
||||
|
pass |
||||
|
empty_search = self.env['master.search'].search( |
||||
|
[('search_string', 'in', ['', False]), |
||||
|
('id', 'not in', [current_id, False] |
||||
|
if current_id else [False])]) |
||||
|
if empty_search: |
||||
|
empty_search.unlink() |
||||
|
recent_searches = self.env['master.search'].search([ |
||||
|
('search_string', 'not in', ['', False])]) |
||||
|
self.master_search_ids = recent_searches |
||||
|
|
||||
|
def action_unlink_search(self): |
||||
|
""" Unlink search """ |
||||
|
self.unlink() |
||||
|
action = self.env.ref('master_search.master_search_action').read()[0] |
||||
|
return action |
||||
|
|
||||
|
@api.depends('master_search_ids') |
||||
|
def _get_history_count(self): |
||||
|
""" Get history count """ |
||||
|
self.history_count = len(self.master_search_ids) |
||||
|
|
||||
|
@api.depends('product_ids') |
||||
|
def _get_product_count(self): |
||||
|
""" Get product count """ |
||||
|
self.product_count = len(self.product_ids) |
||||
|
|
||||
|
@api.depends('customer_ids') |
||||
|
def _get_operator_count(self): |
||||
|
""" Get customer count """ |
||||
|
self.customer_count = len(self.customer_ids) |
||||
|
|
||||
|
@api.depends('transaction_count') |
||||
|
def _get_transaction_count(self): |
||||
|
""" Get transaction details count """ |
||||
|
self.transaction_count = len(self.transaction_ids) |
||||
|
|
||||
|
@api.depends('sale_count') |
||||
|
def _get_sale_count(self): |
||||
|
""" Get sale details count """ |
||||
|
self.sale_count = len(self.sale_ids) |
||||
|
|
||||
|
@api.depends('purchase_count') |
||||
|
def _get_purchase_count(self): |
||||
|
""" Get purchase details count """ |
||||
|
self.purchase_count = len(self.purchase_ids) |
||||
|
|
||||
|
@api.depends('account_count') |
||||
|
def _get_account_count(self): |
||||
|
""" Get account details count """ |
||||
|
self.account_count = len(self.account_ids) |
||||
|
|
||||
|
def action_clear_search(self): |
||||
|
""" clear search input """ |
||||
|
self.search_string = "" |
||||
|
self.name = "Search" |
||||
|
|
||||
|
@api.model_create_multi |
||||
|
def create(self, vals_list): |
||||
|
""" Function for unlink first result and raise error if no string """ |
||||
|
res = super(MasterSearch, self).create(vals_list) |
||||
|
search_index = self.env['master.search'].search_count( |
||||
|
[('user_id', '=', self.env.user.id)]) |
||||
|
# unlink old search result if count greater than 10 |
||||
|
if search_index > 10: |
||||
|
last_search = self.env['master.search'].search( |
||||
|
[('id', '!=', res.id), ('user_id', '=', self.env.user.id)], |
||||
|
order="create_date asc", limit=1) |
||||
|
last_search.unlink() if last_search else False |
||||
|
return res |
||||
|
|
||||
|
def action_search(self): |
||||
|
""" search for the string and store search data """ |
||||
|
if self.search_string and "*" in self.search_string: |
||||
|
return |
||||
|
if not self.search_string: |
||||
|
raise UserError(_("Please provide a search string!")) |
||||
|
search_keys = self.search_string.split(" ") |
||||
|
self.customer_ids = self.product_ids = self.transaction_ids = False |
||||
|
if self.match_entire: |
||||
|
return self._search_query(self.search_string) |
||||
|
for key in search_keys: |
||||
|
self._search_query(key) |
||||
|
self.name = self.search_string |
||||
|
|
||||
|
def _search_query(self, key): |
||||
|
""" search for the model with given key and update result """ |
||||
|
company_id = self.env.user.company_id.id |
||||
|
if self.search_mode == 'all': |
||||
|
active_qry = """ and obj.active in ({},{}) |
||||
|
""".format("'FALSE'", "'TRUE'") |
||||
|
elif self.search_mode == 'active': |
||||
|
active_qry = """ and obj.active in ({})""".format("'TRUE'") |
||||
|
else: |
||||
|
active_qry = """ and obj.active in ({})""".format("'FALSE'") |
||||
|
self._search_customer(key, active_qry) \ |
||||
|
if self.search_by in ['any', 'customer'] else False |
||||
|
self._search_products(key, active_qry, company_id) \ |
||||
|
if self.search_by in ['any', 'product'] else False |
||||
|
self._search_inventory_transactions(key, active_qry, company_id) \ |
||||
|
if self.search_by in ['any', 'transaction details'] else False |
||||
|
self._search_sale_transactions(key, active_qry, company_id) \ |
||||
|
if self.search_by in ['any', 'sale details'] else False |
||||
|
self._search_purchase_transactions(key, active_qry, company_id) \ |
||||
|
if self.search_by in ['any', 'purchase details'] else False |
||||
|
self._search_account_transactions(key, active_qry, company_id) \ |
||||
|
if self.search_by in ['any', 'account details'] else False |
||||
|
|
||||
|
def _search_account_transactions(self, key, active_qry, company_id): |
||||
|
""" Search for all account transactions """ |
||||
|
sp_query = """ SELECT am.id from account_move am |
||||
|
LEFT JOIN res_partner p on p.id = am.partner_id |
||||
|
WHERE am.company_id = {op_id} AND (am.name ILIKE '%{key}%' OR |
||||
|
p.name ILIKE '%{key}%' OR am.state ILIKE '%{key}%') |
||||
|
GROUP BY am.id,p.name |
||||
|
""" |
||||
|
self._cr.execute( |
||||
|
sp_query.format(op_id=company_id, key=key, active=active_qry)) |
||||
|
moves = self._cr.dictfetchall() |
||||
|
move_ids = self.env['account.move'].browse([i['id'] for i in moves]) |
||||
|
self.account_ids += move_ids |
||||
|
|
||||
|
def _search_purchase_transactions(self, key, active_qry, company_id): |
||||
|
""" Search for all purchase transactions """ |
||||
|
sp_query = """ SELECT po.id from purchase_order po |
||||
|
LEFT JOIN res_partner p on p.id = po.partner_id |
||||
|
WHERE po.company_id = {op_id} AND (po.name ILIKE '%{key}%' OR |
||||
|
p.name ILIKE '%{key}%' OR po.state ILIKE '%{key}%') |
||||
|
GROUP BY po.id,p.name |
||||
|
""" |
||||
|
self._cr.execute( |
||||
|
sp_query.format(op_id=company_id, key=key, active=active_qry)) |
||||
|
purchases = self._cr.dictfetchall() |
||||
|
purchase_ids = self.env['purchase.order'].browse( |
||||
|
[i['id'] for i in purchases]) |
||||
|
self.purchase_ids += purchase_ids |
||||
|
|
||||
|
def _search_sale_transactions(self, key, active_qry, company_id): |
||||
|
""" Search for all sale transactions """ |
||||
|
sp_query = """ SELECT sl.id from sale_order sl |
||||
|
LEFT JOIN res_partner p on p.id = sl.partner_id |
||||
|
LEFT JOIN product_pricelist pl ON pl.id = sl.pricelist_id |
||||
|
LEFT JOIN account_payment_term pt ON pt.id = sl.payment_term_id |
||||
|
WHERE sl.company_id = {op_id} AND (sl.name ILIKE '%{key}%' OR |
||||
|
p.name ILIKE '%{key}%' OR sl.state ILIKE '%{key}%' OR |
||||
|
pl.name::text ILIKE '%{key}%') |
||||
|
GROUP BY sl.id,p.name,pl.name,pt.name |
||||
|
""" |
||||
|
self._cr.execute( |
||||
|
sp_query.format(op_id=company_id, key=key, active=active_qry)) |
||||
|
sales = self._cr.dictfetchall() |
||||
|
sale_ids = self.env['sale.order'].browse([i['id'] for i in sales]) |
||||
|
self.sale_ids += sale_ids |
||||
|
|
||||
|
def _search_inventory_transactions(self, key, active_qry, company_id): |
||||
|
""" Search for all inventory transactions """ |
||||
|
sp_query = """ SELECT sp.id from stock_picking sp |
||||
|
LEFT JOIN res_partner p on p.id = sp.partner_id |
||||
|
LEFT JOIN stock_picking_type t ON t.id = sp.picking_type_id |
||||
|
WHERE sp.company_id = {op_id} AND (sp.name ILIKE '%{key}%' OR |
||||
|
p.name ILIKE '%{key}%' OR sp.state ILIKE '%{key}%' OR |
||||
|
t.name::text ILIKE '%{key}%') GROUP BY sp.id,p.name,t.name |
||||
|
""" |
||||
|
self._cr.execute( |
||||
|
sp_query.format(op_id=company_id, key=key, active=active_qry)) |
||||
|
transactions = self._cr.dictfetchall() |
||||
|
transaction_ids = self.env['stock.picking'].browse( |
||||
|
[i['id'] for i in transactions]) |
||||
|
self.transaction_ids += transaction_ids |
||||
|
|
||||
|
def _search_products(self, key, active_qry, company_id): |
||||
|
""" search for products """ |
||||
|
pt_query = """ SELECT pt.id FROM product_template pt |
||||
|
LEFT JOIN product_category pc ON pc.id = pt.categ_id |
||||
|
WHERE (pt.name::text ILIKE '%{key}%' OR |
||||
|
pt.default_code ILIKE '%{key}%' OR pt.type ILIKE '%{key}%' OR |
||||
|
pt.description::text ILIKE '%{key}%' OR pc.name ILIKE '%{key}%') |
||||
|
""" |
||||
|
self._cr.execute(pt_query.format(op_id=company_id, key=key, |
||||
|
active=active_qry).replace( |
||||
|
'obj', 'pt')) |
||||
|
template_ids = self._cr.dictfetchall() |
||||
|
product_template_ids = self.env['product.template'].browse( |
||||
|
[i['id'] for i in template_ids]) |
||||
|
self.product_ids += product_template_ids |
||||
|
|
||||
|
def _search_customer(self, key, active_qry): |
||||
|
""" search for customer """ |
||||
|
query = """ SELECT r.id from res_partner r WHERE |
||||
|
(r.parent_id is NULL ) AND r.type = 'contact' {active} AND |
||||
|
(r.name ILIKE '%{key}%' OR r.street ILIKE '%{key}%' OR |
||||
|
r.street2 ILIKE '%{key}%' OR r.city ILIKE '%{key}%' OR |
||||
|
r.zip ILIKE '%{key}%' OR r.email ILIKE '%{key}%') """ |
||||
|
query_params = query.format(key=key, active=active_qry).replace( |
||||
|
'obj', 'r') |
||||
|
self._cr.execute(query_params) |
||||
|
customers = self._cr.dictfetchall() |
||||
|
customer_ids = self.env['res.partner'].browse( |
||||
|
[i['id'] for i in customers]) |
||||
|
self.customer_ids += customer_ids |
|
@ -0,0 +1,18 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<!-- Record rule for search history --> |
||||
|
<record model="ir.rule" id="company_search_rule"> |
||||
|
<field name="name">Company Search Rule</field> |
||||
|
<field name="model_id" ref="model_master_search"/> |
||||
|
<field name="domain_force">[('user_id', '=', user.id)]</field> |
||||
|
</record> |
||||
|
<!-- Record rules for restrict search access --> |
||||
|
<record model="ir.module.category" id="module_master_search"> |
||||
|
<field name="name">Search Rights</field> |
||||
|
<field name="sequence">11</field> |
||||
|
</record> |
||||
|
<record id="master_search_read" model="res.groups"> |
||||
|
<field name="name">Global Search</field> |
||||
|
<field name="comment">Global Search Group</field> |
||||
|
</record> |
||||
|
</odoo> |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 310 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 576 B |
After Width: | Height: | Size: 733 B |
After Width: | Height: | Size: 911 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 673 B |
After Width: | Height: | Size: 878 B |
After Width: | Height: | Size: 653 B |
After Width: | Height: | Size: 905 B |
After Width: | Height: | Size: 839 B |
After Width: | Height: | Size: 427 B |
After Width: | Height: | Size: 627 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 988 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 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: 72 KiB |
After Width: | Height: | Size: 82 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 86 KiB |
After Width: | Height: | Size: 1.8 MiB |
After Width: | Height: | Size: 68 KiB |
After Width: | Height: | Size: 87 KiB |
After Width: | Height: | Size: 67 KiB |
After Width: | Height: | Size: 77 KiB |
After Width: | Height: | Size: 85 KiB |
After Width: | Height: | Size: 88 KiB |
After Width: | Height: | Size: 237 KiB |
After Width: | Height: | Size: 286 KiB |
After Width: | Height: | Size: 144 KiB |
After Width: | Height: | Size: 422 KiB |
After Width: | Height: | Size: 61 KiB |
After Width: | Height: | Size: 74 KiB |
After Width: | Height: | Size: 84 KiB |
After Width: | Height: | Size: 68 KiB |
After Width: | Height: | Size: 68 KiB |
After Width: | Height: | Size: 82 KiB |
After Width: | Height: | Size: 65 KiB |
After Width: | Height: | Size: 78 KiB |
After Width: | Height: | Size: 18 KiB |
@ -0,0 +1,795 @@ |
|||||
|
<!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;"> |
||||
|
Global Search</h1> |
||||
|
<p class="my-3 mb-4" |
||||
|
style="max-width: 80%; font-weight: 400 !important; line-height: 32px; color: #718096;"> |
||||
|
Easy Search in Customers, Products, Sale, Purchase, |
||||
|
Inventory and |
||||
|
Accounting modules. |
||||
|
</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;"> |
||||
|
Advance Search |
||||
|
user </p> |
||||
|
<p class="m-0" style="color:#718096">Users can |
||||
|
search the records in Customers, Products, |
||||
|
Sale, Purchase, Inventory and Accounting Modules |
||||
|
</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;"> |
||||
|
Search Module.</p> |
||||
|
<p class="m-0" style="color:#718096"> User gets a |
||||
|
new module where he can make advance and simple |
||||
|
search in different modules |
||||
|
Also possible to search using different |
||||
|
attributes like name, |
||||
|
reference, number, etc.</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/screenshot1.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 enabling the button inside the user , |
||||
|
he/she gets global search access.</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/screenshot2.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"> |
||||
|
When the global search is enabled that |
||||
|
particular user can see a new module 'Global |
||||
|
Search'. The global search can be done using |
||||
|
this module.</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/screenshot3.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"> |
||||
|
Search in All Data.</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/screenshot4.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"> |
||||
|
Search in Customer Data.</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/screenshot5.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"> |
||||
|
Search in Product Data.</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/screenshot6.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"> |
||||
|
Search in Sale Data.</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/screenshot7.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"> |
||||
|
Search in Purchase Data.</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/screenshot8.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"> |
||||
|
Search in Inventory Data.</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/screenshot9.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"> |
||||
|
Search in Accounting Data.</h4> |
||||
|
</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>Dynamic Search View Option |
||||
|
</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>Possible to search with different attributes like name, reference, number, etc. |
||||
|
|
||||
|
</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>Easily Search Records in Customers, Products, Sale, Purchase, Inventory and Accounting Data |
||||
|
</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>Can view Recent searches |
||||
|
</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:22nd November 2023</span> |
||||
|
</div> |
||||
|
<p class="m-0" |
||||
|
style=" color:#718096!important; font-size:1rem !important;line-height: 28px;"> |
||||
|
|
||||
|
Initial Commit for Global Search.</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/16.0/manufacturing_reports/" |
||||
|
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"> |
||||
|
Manufacturing Reports</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/16.0/mrp_work_order_print/" |
||||
|
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"> |
||||
|
Print Work Order Details</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/16.0/bom_total_cost/" |
||||
|
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"> |
||||
|
Show Total Cost On BOM</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/16.0/simple_mrp_order/" |
||||
|
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.png" |
||||
|
alt="" width="100%" |
||||
|
height="auto"> |
||||
|
|
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold"> |
||||
|
Simple Manufacturing Orders</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/16.0/bom_multiple_product/" |
||||
|
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"> |
||||
|
BOM Multiple Product Selection</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/16.0/cw_mrp/" |
||||
|
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.png" |
||||
|
alt="" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold"> |
||||
|
Catch Weight Management: |
||||
|
Manufacturing</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,36 @@ |
|||||
|
.oe_search_tab{ |
||||
|
cursor: pointer; |
||||
|
transition: .2s; |
||||
|
&:hover { |
||||
|
background-color: #7c7bad !important; |
||||
|
} |
||||
|
} |
||||
|
.oe_details_tree{ |
||||
|
display: none; |
||||
|
} |
||||
|
|
||||
|
.oe_details_tree--show{ |
||||
|
display: block !important; |
||||
|
} |
||||
|
|
||||
|
.btn_master_search{ |
||||
|
display: inline-block; |
||||
|
background-color:#5f5e97; |
||||
|
color:#fff !important; |
||||
|
color: #fff;margin-left: 1px; |
||||
|
margin-top: -1px; |
||||
|
} |
||||
|
.btn_master_search:hover{ |
||||
|
background-color: rgb(255, 255, 255) !important; |
||||
|
color: rgb(61, 155, 187) !important; |
||||
|
} |
||||
|
.not-allowed{ |
||||
|
color: #d94242; |
||||
|
border: 1px solid #ea9292; |
||||
|
border-radius: 5px; |
||||
|
background-color: #f9e7e7; |
||||
|
padding: 1px 55px; |
||||
|
width: 370px; |
||||
|
margin-bottom: 5px; |
||||
|
display: none; |
||||
|
} |
@ -0,0 +1,382 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<!-- form view --> |
||||
|
<record model="ir.ui.view" id="master_search_form"> |
||||
|
<field name="name">Search</field> |
||||
|
<field name="model">master.search</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<form string="Search"> |
||||
|
<style> |
||||
|
.o_control_panel{display: none;} |
||||
|
</style> |
||||
|
<script> |
||||
|
$(document).ready(function(){ |
||||
|
$(".disable_open").unbind("click"); |
||||
|
if ($(".oe_search_bgnd").length > 0){document.title = |
||||
|
'Search';} |
||||
|
function toggleDetailsTree($target) { |
||||
|
var element = |
||||
|
$target.closest('.oe_result_div').find('.oe_details_tree'); |
||||
|
element.toggleClass('oe_details_tree--show'); |
||||
|
} |
||||
|
$(document).on("click", ".expand_tile", function(event) |
||||
|
{ |
||||
|
var $target = $(event.target); |
||||
|
|
||||
|
if ($target.hasClass('expand_tile')) { |
||||
|
toggleDetailsTree($target); |
||||
|
} else if ($target.hasClass('history')) { |
||||
|
toggleDetailsTree($target); |
||||
|
} else if ($target.hasClass('dropdown')) { |
||||
|
toggleDetailsTree($target); |
||||
|
} |
||||
|
}); |
||||
|
$('.o_radio_input').on('change', function(){ |
||||
|
let targetEl = $(this).data().value; |
||||
|
$('.oe_details_tree').addClass('d-none'); |
||||
|
$('.oe_details_tree').removeClass('oe_details_tree--show'); |
||||
|
switch(targetEl){ |
||||
|
case 'customer': |
||||
|
|
||||
|
$('.oe_search_tab').addClass('d-none'); |
||||
|
$('#customer_search_results').addClass('d-block'); |
||||
|
$('#customer_search_results').removeClass('d-none'); |
||||
|
|
||||
|
break; |
||||
|
|
||||
|
case 'product': |
||||
|
|
||||
|
$('.oe_search_tab').addClass('d-none'); |
||||
|
$('#product_search_results').addClass('d-block'); |
||||
|
$('#product_search_results').removeClass('d-none'); |
||||
|
|
||||
|
break; |
||||
|
|
||||
|
case 'transaction details': |
||||
|
|
||||
|
$('.oe_search_tab').addClass('d-none'); |
||||
|
$('#inventory_search_results').addClass('d-block'); |
||||
|
$('#inventory_search_results').removeClass('d-none'); |
||||
|
|
||||
|
break; |
||||
|
|
||||
|
case 'sale details': |
||||
|
|
||||
|
$('.oe_search_tab').addClass('d-none'); |
||||
|
$('#sale_search_results').addClass('d-block'); |
||||
|
$('#sale_search_results').removeClass('d-none'); |
||||
|
|
||||
|
break; |
||||
|
|
||||
|
case 'purchase details': |
||||
|
|
||||
|
$('.oe_search_tab').addClass('d-none'); |
||||
|
$('#purchase_search_results').addClass('d-block'); |
||||
|
$('#purchase_search_results').removeClass('d-none'); |
||||
|
|
||||
|
break; |
||||
|
|
||||
|
case 'account details': |
||||
|
|
||||
|
$('.oe_search_tab').addClass('d-none'); |
||||
|
$('#accounting_search_results').addClass('d-block'); |
||||
|
$('#accounting_search_results').removeClass('d-none'); |
||||
|
|
||||
|
break; |
||||
|
|
||||
|
case 'any': |
||||
|
$('.oe_search_tab').removeClass('d-none'); |
||||
|
break; |
||||
|
} |
||||
|
$('#recent_searches').addClass('d-block'); |
||||
|
$('#recent_searches').removeClass('d-none'); |
||||
|
}) |
||||
|
}); |
||||
|
</script> |
||||
|
<sheet> |
||||
|
<div class="row oe_search_bgnd" |
||||
|
style="padding: 24px 32px;background-color:#e5e4f9;border-radius: 5px;"> |
||||
|
<div class="col-12 col-md-8 col-xl-8"> |
||||
|
<label for="search_string" string="Search " |
||||
|
style="display: inline-block;" |
||||
|
class="oe_read_only"/> |
||||
|
<field name="search_string" default_focus="1" |
||||
|
class="search_input" |
||||
|
style="width: 80%; display: inline-block;margin-right: 0px;block-size: 32px;" |
||||
|
placeholder="Type here to search.."/> |
||||
|
<button name="action_clear_search" |
||||
|
type="object" title="Search" |
||||
|
class="fa fa-times oe_edit_only btn_master_search"/> |
||||
|
<button name="action_search" |
||||
|
type="object" |
||||
|
title="Search" |
||||
|
class="fa fa-search oe_search_btn btn_master_search oe_edit_only"/> |
||||
|
<div class="not-allowed">Regular expressions are |
||||
|
not allowed in search! |
||||
|
</div> |
||||
|
<div> |
||||
|
<label for="match_entire" |
||||
|
string="Match Phrase :" |
||||
|
style="display: inline-block;"/> |
||||
|
<field name="match_entire" |
||||
|
style="display: inline-block; margin-left: 10px;"/> |
||||
|
</div> |
||||
|
<div style="display: block;"> |
||||
|
<label for="search_by" string="Search For :" |
||||
|
class="oe_read_only"/> |
||||
|
<field name="search_by" widget="radio" |
||||
|
options="{'horizontal': true}"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-12 col-md-4 col-xl-4"> |
||||
|
<div style="display: block;"> |
||||
|
<label for="search_mode" string="Mode :" |
||||
|
class="oe_read_only"/> |
||||
|
<field name="search_mode" widget="radio" |
||||
|
nolabel="1" |
||||
|
options="{'horizontal': false}"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="oe_result_div"> |
||||
|
<div id="recent_searches" style="background-color: #5f5e97; color: #fff; width: 100%; padding: 5px 10px; |
||||
|
margin-top: 10px; border-top-right-radius: 5px;border-top-left-radius: 5px;" |
||||
|
class="oe_search_tab expand_tile"> |
||||
|
Recent Searches |
||||
|
<div class="history" style="float: right;"> |
||||
|
<field name="history_count" |
||||
|
class="oe_tab_count" readonly="1"/> |
||||
|
Records Found |
||||
|
<span class="oe_drop_down"> |
||||
|
<i style="color: #fff !important; font-size: 16px;" |
||||
|
title="Search" |
||||
|
class="fa fa-caret-down dropdown" |
||||
|
/> |
||||
|
</span> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div style="height: 200px; overflow-y: scroll;width: 100%;" |
||||
|
class="oe_details_tree"> |
||||
|
<field name="master_search_ids"> |
||||
|
<tree create="0" class="disable_open"> |
||||
|
<field name="search_string" |
||||
|
class="re_search oe_key"/> |
||||
|
<field name="search_mode" string="Mode" |
||||
|
class="re_search"/> |
||||
|
<field name="search_by" string="Type" |
||||
|
class="re_search"/> |
||||
|
<button style="display: inline-block;" |
||||
|
name="action_unlink_search" |
||||
|
title="Search" type="object" |
||||
|
class="fa fa-trash"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="oe_result_div"> |
||||
|
<div id="customer_search_results" |
||||
|
style="background-color: #5f5e97; color: #fff; width: 100%; padding: 5px 10px; |
||||
|
margin-top: 10px; border-top-right-radius: 5px;border-top-left-radius: 5px;" |
||||
|
class="oe_search_tab accordion_tab expand_tile"> |
||||
|
Customer Search Results |
||||
|
<div class="history" style="float: right;"> |
||||
|
<field name="customer_count" |
||||
|
class="oe_tab_count" readonly="1"/> |
||||
|
Records Found |
||||
|
<span class="oe_drop_down"> |
||||
|
<i style="color: #fff !important; font-size: 16px;" |
||||
|
title="Search" |
||||
|
class="fa fa-caret-down dropdown" |
||||
|
/> |
||||
|
</span> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div style="height: 200px; overflow-y: scroll;width: 100%;" |
||||
|
class="oe_details_tree"> |
||||
|
<field name="customer_ids"> |
||||
|
<tree create="0" delete="0"> |
||||
|
<field name="name" string="Name"/> |
||||
|
<field name="email" string="Email"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="oe_result_div"> |
||||
|
<div id="product_search_results" style="background-color: #5f5e97; color: #fff; width: 100%; padding: 5px 10px; |
||||
|
margin-top: 10px; border-top-right-radius: 5px;border-top-left-radius: 5px;" |
||||
|
class="oe_search_tab accordion_tab expand_tile"> |
||||
|
Product Search Results |
||||
|
<div class="history" style="float: right;"> |
||||
|
<field name="product_count" |
||||
|
class="oe_tab_count" readonly="1"/> |
||||
|
Records Found |
||||
|
<span class="oe_drop_down"> |
||||
|
<i style="color: #fff !important; font-size: 16px;" |
||||
|
title="Search" |
||||
|
class="fa fa-caret-down dropdown"/> |
||||
|
</span> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div style="height: 200px; overflow-y: scroll;width: 100%;" |
||||
|
class="oe_details_tree" |
||||
|
name="products"> |
||||
|
<field name="product_ids"> |
||||
|
<tree create="0" delete="0"> |
||||
|
<field name="name" string="Name"/> |
||||
|
<field name="default_code" |
||||
|
string="Code"/> |
||||
|
<field name="description" |
||||
|
string="Description"/> |
||||
|
<field name="type" |
||||
|
string="Product Type"/> |
||||
|
<field name="categ_id" |
||||
|
string="Category"/> |
||||
|
<field name="uom_id" string="Base UoM" |
||||
|
optional="hide"/> |
||||
|
<field name="qty_available" |
||||
|
string="Stock"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="oe_result_div"> |
||||
|
<div id="inventory_search_results" style="background-color: #5f5e97; color: #fff; width: 100%; padding: 5px 10px; |
||||
|
margin-top: 10px; border-top-right-radius: 5px;border-top-left-radius: 5px;" |
||||
|
class="oe_search_tab accordion_tab expand_tile"> |
||||
|
Inventory Search Results |
||||
|
<div class="history" style="float: right;"> |
||||
|
<field name="transaction_count" |
||||
|
class="oe_tab_count" readonly="1"/> |
||||
|
Records Found |
||||
|
<span class="oe_drop_down"> |
||||
|
<i style="color: #fff !important; font-size: 16px;" |
||||
|
title="Search" |
||||
|
class="fa fa-caret-down dropdown"/> |
||||
|
</span> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div style="height: 200px; overflow-y: scroll;width: 100%;" |
||||
|
class="oe_details_tree"> |
||||
|
<field name="transaction_ids"> |
||||
|
<tree create="0" delete="0"> |
||||
|
<field name="name" string="Trans. # "/> |
||||
|
<field name="date_done" |
||||
|
string="Transaction Date"/> |
||||
|
<field name="picking_type_id" |
||||
|
string="Transaction Type"/> |
||||
|
<field name="partner_id" |
||||
|
string="Reference Name"/> |
||||
|
<field name="state" |
||||
|
string="Transaction Status"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="oe_result_div"> |
||||
|
<div id="sale_search_results" style="background-color: #5f5e97; color: #fff; width: 100%; padding: 5px 10px; |
||||
|
margin-top: 10px; border-top-right-radius: 5px;border-top-left-radius: 5px;" |
||||
|
class="oe_search_tab accordion_tab expand_tile"> |
||||
|
Sale Search Results |
||||
|
<div class="history" style="float: right;"> |
||||
|
<field name="sale_count" |
||||
|
class="oe_tab_count" readonly="1"/> |
||||
|
Records Found |
||||
|
<span class="oe_drop_down"> |
||||
|
<i style="color: #fff !important; font-size: 16px;" |
||||
|
title="Search" |
||||
|
class="fa fa-caret-down dropdown"/> |
||||
|
</span> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div style="height: 200px; overflow-y: scroll;width: 100%;" |
||||
|
class="oe_details_tree"> |
||||
|
<field name="sale_ids"> |
||||
|
<tree create="0" delete="0"> |
||||
|
<field name="name" string="Trans. # "/> |
||||
|
<field name="partner_id" |
||||
|
string="Customer"/> |
||||
|
<field name="pricelist_id" |
||||
|
string="Pricelist"/> |
||||
|
<field name="payment_term_id" |
||||
|
string="Payment Term"/> |
||||
|
<field name="state" string="Status"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="oe_result_div"> |
||||
|
<div id="purchase_search_results" style="background-color: #5f5e97; color: #fff; width: 100%; padding: 5px 10px; |
||||
|
margin-top: 10px; border-top-right-radius: 5px;border-top-left-radius: 5px;" |
||||
|
class="oe_search_tab accordion_tab expand_tile"> |
||||
|
Purchase Search Results |
||||
|
<div class="history" style="float: right;"> |
||||
|
<field name="purchase_count" |
||||
|
class="oe_tab_count" readonly="1"/> |
||||
|
Records Found |
||||
|
<span class="oe_drop_down"> |
||||
|
<i style="color: #fff !important; font-size: 16px;" |
||||
|
title="Search" |
||||
|
class="fa fa-caret-down dropdown"/> |
||||
|
</span> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div style="height: 200px; overflow-y: scroll;width: 100%;" |
||||
|
class="oe_details_tree"> |
||||
|
<field name="purchase_ids"> |
||||
|
<tree create="0" delete="0"> |
||||
|
<field name="name" string="Trans. # "/> |
||||
|
<field name="partner_id" |
||||
|
string="Customer"/> |
||||
|
<field name="state" string="Status"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="oe_result_div"> |
||||
|
<div id="accounting_search_results" style="background-color: #5f5e97; color: #fff; width: 100%; padding: 5px 10px; |
||||
|
margin-top: 10px; border-top-right-radius: 5px;border-top-left-radius: 5px;" |
||||
|
class="oe_search_tab accordion_tab expand_tile"> |
||||
|
Accounting Search Results |
||||
|
<div class="history" style="float: right;"> |
||||
|
<field name="account_count" |
||||
|
class="oe_tab_count" readonly="1"/> |
||||
|
Records Found |
||||
|
<span class="oe_drop_down"> |
||||
|
<i style="color: #fff !important; font-size: 16px;" |
||||
|
title="Search" |
||||
|
class="fa fa-caret-down dropdown"/> |
||||
|
</span> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div style="height: 200px; overflow-y: scroll;width: 100%;" |
||||
|
class="oe_details_tree"> |
||||
|
<field name="account_ids"> |
||||
|
<tree create="false" delete="false" |
||||
|
edit="false"> |
||||
|
<field name="name" string="Trans. # "/> |
||||
|
<field name="partner_id" |
||||
|
string="Customer"/> |
||||
|
<field name="state" string="Status"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</div> |
||||
|
</div> |
||||
|
</sheet> |
||||
|
</form> |
||||
|
</field> |
||||
|
</record> |
||||
|
<!-- actions opening views on models --> |
||||
|
<record model="ir.actions.act_window" id="master_search_action"> |
||||
|
<field name="name">Search</field> |
||||
|
<field name="res_model">master.search</field> |
||||
|
<field name="view_mode">form</field> |
||||
|
<field name="context">{'active_test': False, |
||||
|
'search_default_filter_active': 1} |
||||
|
</field> |
||||
|
</record> |
||||
|
<!-- Search root menu --> |
||||
|
<menuitem id="master_search_root" name="Search" |
||||
|
action="master_search_action" |
||||
|
web_icon="master_search,static/description/icon.png" |
||||
|
sequence="2" groups="master_search.master_search_read"/> |
||||
|
</odoo> |