From 5052e0599a43ea9acb718fdfd8243b725e1c7544 Mon Sep 17 00:00:00 2001 From: "maximilien(malb)" Date: Tue, 11 Oct 2022 09:27:40 +0000 Subject: [PATCH] [FIX] account_test: some view improvements With the recent css change the view had some problem: * the new grid system made the text in a smaller cell with a scrollbar, the colspan allow to deal with that * The text on the code help section could go out of the page, by adding a div and the style it will not happen again closes odoo/odoo#103395 X-original-commit: 209f90a098b03cb5c1eeb7644b09cf13f87f6cf0 Signed-off-by: Quentin De Paoli Signed-off-by: Maximilien La Barre (malb) --- .../views/accounting_assert_test_views.xml | 21 +++++++------------ 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/addons/account_test/views/accounting_assert_test_views.xml b/addons/account_test/views/accounting_assert_test_views.xml index f755d931445..b9c65e4049a 100644 --- a/addons/account_test/views/accounting_assert_test_views.xml +++ b/addons/account_test/views/accounting_assert_test_views.xml @@ -34,31 +34,26 @@ - + -
-Code should always set a variable named `result` with the result of your test, that can be a list or
-a dictionary. If `result` is an empty list, it means that the test was successful. Otherwise it will
-try to translate and print what is inside `result`.
-
-If the result of your test is a dictionary, you can set a variable named `column_order` to choose in
+                                    
+
+Code should always set a variable named `result` with the result of your test, that can be a list or a dictionary. If `result` is an empty list, it means that the test was successful. Otherwise it will try to translate and print what is inside `result`. If the result of your test is a dictionary, you can set a variable named `column_order` to choose in
 what order you want to print `result`'s content.
-
 Should you need them, you can also use the following variables into your code:
     * cr: cursor to the database
     * uid: ID of the current user
-
 In any ways, the code must be legal python statements with correct indentation (if needed).
-
-Example: 
+Example:
     sql = '''SELECT id, name, ref, date
-             FROM account_move_line 
+             FROM account_move_line
              WHERE account_id IN (SELECT id FROM account_account WHERE type = 'view')
           '''
     cr.execute(sql)
     result = cr.dictfetchall()
-                                    
+
+