From 7ad59ebbb2702a19ad25f544139c3fbdd6b591ea Mon Sep 17 00:00:00 2001 From: David Moreno Date: Thu, 6 Jul 2023 08:31:58 +0200 Subject: [PATCH] [MIG] Add field detailed_type to pos product read fields --- pos_event_sale/models/pos_session.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pos_event_sale/models/pos_session.py b/pos_event_sale/models/pos_session.py index 650a943ca3..1fb7a85600 100644 --- a/pos_event_sale/models/pos_session.py +++ b/pos_event_sale/models/pos_session.py @@ -140,3 +140,8 @@ def _loader_params_event_tag(self): ], }, } + + def _loader_params_product_product(self): + params = super()._loader_params_product_product() + params["search_params"]["fields"].append("detailed_type") + return params