diff --git a/app_base_chinese/__manifest__.py b/app_base_chinese/__manifest__.py index f1769889..30ac1b98 100644 --- a/app_base_chinese/__manifest__.py +++ b/app_base_chinese/__manifest__.py @@ -18,7 +18,7 @@ { 'name': "App base chinese,中国化基本模块增强", - 'version': '13.20.04.11', + 'version': '13.20.04.13', 'author': 'Sunpop.cn', 'category': 'Base', 'website': 'https://www.sunpop.cn', @@ -48,6 +48,7 @@ 11. 收款相关显示中国习惯 12. 翻译导出默认中文,默认po 13. 在 base 模型增加 name_en_US 字段,赋值后同时改翻译值 + 14. 常用小数精度调整 21. todo:中文演示数据(只有demo模式才加载) """, 'pre_init_hook': 'pre_init_hook', @@ -68,6 +69,7 @@ 'wizard/sale_make_invoice_advance_views.xml', 'data/ir_default_data.xml', 'data/base_data.xml', + 'data/decimal_precision_data.xml', 'data/res_country_data.xml', 'data/res_currency_data.xml', 'data/res_lang_data.xml', diff --git a/app_base_chinese/data/decimal_precision_data.xml b/app_base_chinese/data/decimal_precision_data.xml new file mode 100644 index 00000000..69354c37 --- /dev/null +++ b/app_base_chinese/data/decimal_precision_data.xml @@ -0,0 +1,14 @@ + + + + + 0 + + + 2 + + + 3 + + + \ No newline at end of file diff --git a/app_web_enterprise/static/src/scss/app_style.scss b/app_web_enterprise/static/src/scss/app_style.scss index 855f9c59..71041ff1 100644 --- a/app_web_enterprise/static/src/scss/app_style.scss +++ b/app_web_enterprise/static/src/scss/app_style.scss @@ -28,7 +28,27 @@ border-left: 0.3em solid transparent; } } - +//列表左右显示边框 +.o_list_view .table-responsive .o_list_table > thead > tr:first-child > th { + border-left: 1px solid #dfdfdf;; + border-right: 1px solid #dfdfdf;; +} +//内容显示边框 +.o_list_view .table-responsive .o_list_table .o_data_row > .o_data_cell { + border-left: 1px solid #dee2e6; + border-right: 1px solid #dee2e6; +} +.o_list_view .table-responsive .o_list_table .o_data_row:not(.o_selected_row) > .o_data_cell:not(.o_readonly_modifier):not(:last-child) { + border-left: 1px solid #dee2e6; + border-right: 1px solid #dee2e6; +} +//选择列icon,避免被滚动条挡 +.o_content > .o_list_view > .table-responsive > .table .o_optional_columns_dropdown_toggle { + padding: 8px 20px 8px 10px; +} +.o_list_view .table-responsive .o_optional_columns_dropdown_toggle { + padding: 0 20px 0 5px; +} // Notebooks ,form_view,移动端优化 .o_form_view { .o_notebook {