diff --git a/master_search/__manifest__.py b/master_search/__manifest__.py index c5e6fdda6..4cd89210d 100644 --- a/master_search/__manifest__.py +++ b/master_search/__manifest__.py @@ -21,7 +21,7 @@ { 'name': 'Global Search', - 'version': '16.0.1.0.0', + 'version': '16.0.1.0.1', '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, odoo16, """, @@ -40,7 +40,7 @@ ], 'assets': { 'web.assets_backend': [ - 'master_search/static/src/scss/master_search.scss' + 'master_search/static/src/scss/master_search.scss', ], }, 'installable': True, diff --git a/master_search/doc/RELEASE_NOTES.md b/master_search/doc/RELEASE_NOTES.md index 4d728ffdf..8e451cb57 100644 --- a/master_search/doc/RELEASE_NOTES.md +++ b/master_search/doc/RELEASE_NOTES.md @@ -3,5 +3,10 @@ #### 09.11.2022 #### Version 16.0.1.0.0 #### ADD -Initial Commit +- Initial Commit + +#### 03.08.2023 +#### Version 16.0.1.0.1 +#### BUGFIX +- Report Bug Fix: Issue while expanding the tree view in form view diff --git a/master_search/models/master_search.py b/master_search/models/master_search.py index 68c852f17..5e6027451 100644 --- a/master_search/models/master_search.py +++ b/master_search/models/master_search.py @@ -134,7 +134,6 @@ class MasterSearch(models.Model): def _get_operator_count(self): """ Get customer count """ self.customer_count = len(self.customer_ids) - print(self.customer_count) @api.depends('transaction_count') def _get_transaction_count(self): @@ -190,13 +189,11 @@ class MasterSearch(models.Model): # search for all the words for key in search_keys: search_vals = self._search_query(key) - print('search valss', search_vals) self.name = self.search_string def _search_query(self, key): """ search for the model with given key and update result """ - print('help') company_id = self.env.user.company_id.id if self.search_mode == 'all': active_qry = """ @@ -338,7 +335,6 @@ class MasterSearch(models.Model): transactions = self._cr.dictfetchall() transaction_ids = self.env['stock.picking'].browse( [i['id'] for i in transactions]) - print(self.transaction_details) self.transaction_details += transaction_ids def _search_products(self, key, active_qry, company_id): @@ -370,7 +366,6 @@ class MasterSearch(models.Model): product_template_ids = self.env['product.template'].browse( [i['id'] for i in template_ids]) self.product_ids += product_template_ids - print('2',product_template_ids) def _search_customer(self, key, active_qry): """ search for customer """ diff --git a/master_search/views/master_search_view.xml b/master_search/views/master_search_view.xml index 756ef8b9b..b0f8bf071 100644 --- a/master_search/views/master_search_view.xml +++ b/master_search/views/master_search_view.xml @@ -12,128 +12,129 @@
-
-
@@ -142,46 +143,60 @@
+ class="oe_search_tab expand_tile"> Recent Searches -
- +
+ Records Found - +
-
+
- - - + + + -
-
+ class="oe_search_tab accordion_tab expand_tile"> Customer Search Results -
- +
+ Records Found -
-
+
@@ -193,27 +208,37 @@
+ class="oe_search_tab accordion_tab expand_tile"> Product Search Results -
- +
+ Records Found - +
-
- - - - - - + + + + + +
@@ -221,25 +246,33 @@
+ class="oe_search_tab accordion_tab expand_tile"> Inventory Search Results -
- +
+ Records Found - +
-
+
- - - - + + + +
@@ -247,24 +280,31 @@
+ class="oe_search_tab accordion_tab expand_tile"> Sale Search Results -
- +
+ Records Found - +
-
+
- - - + + + @@ -273,22 +313,27 @@
+ class="oe_search_tab accordion_tab expand_tile"> Purchase Search Results -
- +
+ Records Found - +
-
+
- + @@ -297,22 +342,28 @@
+ class="oe_search_tab accordion_tab expand_tile"> Accounting Search Results -
- +
+ Records Found - +
-
+
- + - + @@ -329,11 +380,14 @@ Search master.search form - {'active_test': False, 'search_default_filter_active': 1} + {'active_test': False, + 'search_default_filter_active': 1} + -