diff --git a/__manifest__.py b/__manifest__.py index f19f641..631a470 100644 --- a/__manifest__.py +++ b/__manifest__.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- { 'name': 'POS Custom Closing', - 'version': '1.0', + 'version': '19.0.1.0', 'category': 'Sales/Point of Sale', 'summary': 'Customize Point of sale Closing Register modal', 'author': 'Aziz', diff --git a/static/src/app/close_pos_popup_inherit.xml b/static/src/app/close_pos_popup_inherit.xml index 948d712..b31ff73 100644 --- a/static/src/app/close_pos_popup_inherit.xml +++ b/static/src/app/close_pos_popup_inherit.xml @@ -1,22 +1,25 @@ - + + - pos.config.custom_hide_payment_details ? 'd-none' : '' + !pos.config.module_pos_hr and !pos.config.custom_hide_payment_details + pos.config.module_pos_hr and !pos.config.custom_hide_payment_details - - _showDiff and !pos.config.custom_hide_non_cash_inputs + + + pos.config.custom_hide_non_cash_inputs ? 'd-none' : 'w-100 mb-3' - + pos.showCashMoveButton and !pos.config.custom_hide_cash_in_out @@ -31,7 +34,7 @@ !pos.config.custom_hide_copy_btn - + !pos.config.custom_hide_copy_btn