This commit is contained in:
ivan deng
2020-04-14 14:44:41 +08:00
parent 948e0faf88
commit 2b0173e8d5
3 changed files with 38 additions and 2 deletions

View File

@@ -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',

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<record id="product.decimal_discount" model="decimal.precision">
<field name="digits">0</field>
</record>
<record id="product.decimal_product_uom" model="decimal.precision">
<field name="digits">2</field>
</record>
<record id="account.decimal_payment" model="decimal.precision">
<field name="digits">3</field>
</record>
</data>
</odoo>

View File

@@ -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 {