mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
opt
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': "App base chinese,中国化基本模块增强",
|
'name': "App base chinese,中国化基本模块增强",
|
||||||
'version': '13.20.04.11',
|
'version': '13.20.04.13',
|
||||||
'author': 'Sunpop.cn',
|
'author': 'Sunpop.cn',
|
||||||
'category': 'Base',
|
'category': 'Base',
|
||||||
'website': 'https://www.sunpop.cn',
|
'website': 'https://www.sunpop.cn',
|
||||||
@@ -48,6 +48,7 @@
|
|||||||
11. 收款相关显示中国习惯
|
11. 收款相关显示中国习惯
|
||||||
12. 翻译导出默认中文,默认po
|
12. 翻译导出默认中文,默认po
|
||||||
13. 在 base 模型增加 name_en_US 字段,赋值后同时改翻译值
|
13. 在 base 模型增加 name_en_US 字段,赋值后同时改翻译值
|
||||||
|
14. 常用小数精度调整
|
||||||
21. todo:中文演示数据(只有demo模式才加载)
|
21. todo:中文演示数据(只有demo模式才加载)
|
||||||
""",
|
""",
|
||||||
'pre_init_hook': 'pre_init_hook',
|
'pre_init_hook': 'pre_init_hook',
|
||||||
@@ -68,6 +69,7 @@
|
|||||||
'wizard/sale_make_invoice_advance_views.xml',
|
'wizard/sale_make_invoice_advance_views.xml',
|
||||||
'data/ir_default_data.xml',
|
'data/ir_default_data.xml',
|
||||||
'data/base_data.xml',
|
'data/base_data.xml',
|
||||||
|
'data/decimal_precision_data.xml',
|
||||||
'data/res_country_data.xml',
|
'data/res_country_data.xml',
|
||||||
'data/res_currency_data.xml',
|
'data/res_currency_data.xml',
|
||||||
'data/res_lang_data.xml',
|
'data/res_lang_data.xml',
|
||||||
|
|||||||
14
app_base_chinese/data/decimal_precision_data.xml
Normal file
14
app_base_chinese/data/decimal_precision_data.xml
Normal 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>
|
||||||
@@ -28,7 +28,27 @@
|
|||||||
border-left: 0.3em solid transparent;
|
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,移动端优化
|
// Notebooks ,form_view,移动端优化
|
||||||
.o_form_view {
|
.o_form_view {
|
||||||
.o_notebook {
|
.o_notebook {
|
||||||
|
|||||||
Reference in New Issue
Block a user