From e647a2de09dc01aae1d06ddb0ee0a8c03ca9ea46 Mon Sep 17 00:00:00 2001 From: Damien Bouvy Date: Tue, 4 Oct 2022 21:06:45 +0000 Subject: [PATCH] [IMP] *: adapt to grid form views The recent switch from tables to css grids for form views `group` nodes has introduced several inconsistencies/issues with several views accross modules - these will not be the last fixes. closes odoo/odoo#102174 X-original-commit: 836568dfd59886a6d52f15e0e2109709903b6803 Related: odoo/enterprise#32295 Signed-off-by: Bouvy Damien (dbo) --- .../views/account_reconcile_model_views.xml | 3 +- addons/account/views/partner_view.xml | 4 +- addons/account/views/res_company_views.xml | 4 +- .../wizard/account_move_reversal_view.xml | 6 +- addons/auth_totp/views/res_users_views.xml | 106 +++++++++--------- addons/delivery/views/delivery_view.xml | 2 +- addons/digest/views/digest_views.xml | 6 +- addons/hr_expense/views/hr_expense_views.xml | 18 +-- addons/hr_timesheet/views/project_views.xml | 6 +- addons/portal/wizard/portal_share_views.xml | 4 - addons/product/views/product_views.xml | 8 +- addons/purchase/views/product_views.xml | 2 +- addons/sale/views/product_views.xml | 4 +- addons/sale/views/res_partner_views.xml | 16 +-- addons/sale/views/sale_order_views.xml | 4 +- addons/sale_stock/views/sale_order_views.xml | 2 +- addons/sale_stock/views/stock_route_views.xml | 6 +- addons/stock/views/product_views.xml | 6 +- addons/stock/views/stock_location_views.xml | 35 +++--- .../views/crm_lead_views.xml | 4 +- odoo/addons/base/views/res_country_views.xml | 16 +-- odoo/addons/base/views/res_partner_views.xml | 2 +- odoo/addons/base/views/res_users_views.xml | 8 +- .../wizard/base_language_install_views.xml | 11 +- 24 files changed, 137 insertions(+), 146 deletions(-) diff --git a/addons/account/views/account_reconcile_model_views.xml b/addons/account/views/account_reconcile_model_views.xml index c29a0e19a7c..d797674fb33 100644 --- a/addons/account/views/account_reconcile_model_views.xml +++ b/addons/account/views/account_reconcile_model_views.xml @@ -218,8 +218,7 @@ - diff --git a/addons/account/views/partner_view.xml b/addons/account/views/partner_view.xml index b1db826d76e..54f9d464591 100644 --- a/addons/account/views/partner_view.xml +++ b/addons/account/views/partner_view.xml @@ -230,8 +230,8 @@ groups="account.group_account_invoice,account.group_account_readonly" attrs="{'invisible': [('show_credit_limit', '=', False)]}"> -
-
+ class="fa fa-toggle-on o_auth_2fa_btn text-primary enabled" aria-label="Disable 2FA"> Two-factor Authentication ("2FA") is a system of double authentication. @@ -40,24 +39,23 @@ Popular ones include Authy, Google Authenticator or the Microsoft Authenticator. Learn More - - This account is protected! - -
- - - - -
-
- -
+ + This account is protected! + + +
+ + + + +
+
@@ -70,38 +68,36 @@ - -
-
Two-factor Authentication -
- Your account is protected! - - Two-factor Authentication ("2FA") is a system of double authentication. - The first one is done with your password and the second one with a code you get from a dedicated mobile app. - Popular ones include Authy, Google Authenticator or the Microsoft Authenticator. - Learn More - - -
- - - - -
-
+
+
Two-factor Authentication +
- + Your account is protected! + + Two-factor Authentication ("2FA") is a system of double authentication. + The first one is done with your password and the second one with a code you get from a dedicated mobile app. + Popular ones include Authy, Google Authenticator or the Microsoft Authenticator. + Learn More + + +
+ + + + +
+
+
diff --git a/addons/delivery/views/delivery_view.xml b/addons/delivery/views/delivery_view.xml index 6a9d7a62e61..cda06a489d4 100644 --- a/addons/delivery/views/delivery_view.xml +++ b/addons/delivery/views/delivery_view.xml @@ -123,7 +123,7 @@ -

+

Filling this form allows you to filter delivery carriers according to the delivery address of your customer.

diff --git a/addons/digest/views/digest_views.xml b/addons/digest/views/digest_views.xml index 4cf13d690ee..fd7af2075fb 100644 --- a/addons/digest/views/digest_views.xml +++ b/addons/digest/views/digest_views.xml @@ -55,8 +55,10 @@ -

Want to add your own KPIs?
- Check our Documentation

+
+

Want to add your own KPIs?
+ Check our Documentation

+
diff --git a/addons/hr_expense/views/hr_expense_views.xml b/addons/hr_expense/views/hr_expense_views.xml index ba5d93d529f..3e3ea45f2c8 100644 --- a/addons/hr_expense/views/hr_expense_views.xml +++ b/addons/hr_expense/views/hr_expense_views.xml @@ -160,15 +160,15 @@