mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
Merge branch '13.0' of https://github.com/guohuadeng/app-odoo into 13.0
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>
|
||||||
@@ -5,6 +5,20 @@
|
|||||||
<record id="base.menu_grant_menu_access" model="ir.ui.menu">
|
<record id="base.menu_grant_menu_access" model="ir.ui.menu">
|
||||||
<field name="parent_id" ref="base.menu_administration"/>
|
<field name="parent_id" ref="base.menu_administration"/>
|
||||||
</record>
|
</record>
|
||||||
|
<record id="app_edit_menu" model="ir.ui.view">
|
||||||
|
<field name="name">app.ir.ui.menu.tree</field>
|
||||||
|
<field name="model">ir.ui.menu</field>
|
||||||
|
<field name="inherit_id" ref="base.edit_menu"/>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<xpath expr="//tree" position="attributes">
|
||||||
|
<multi_edit eval="True"/>
|
||||||
|
</xpath>
|
||||||
|
<field name="complete_name" position="after">
|
||||||
|
<field name="name"/>
|
||||||
|
<field name="parent_id"/>
|
||||||
|
</field>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
<record id="app_edit_menu_access_search" model="ir.ui.view">
|
<record id="app_edit_menu_access_search" model="ir.ui.view">
|
||||||
<field name="name">app.ir.ui.menu.search</field>
|
<field name="name">app.ir.ui.menu.search</field>
|
||||||
<field name="model">ir.ui.menu</field>
|
<field name="model">ir.ui.menu</field>
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
free 20 related apps.
|
free 20 related apps.
|
||||||
</a>
|
</a>
|
||||||
</h1>
|
</h1>
|
||||||
<h3 class="oe_slogan">Easy to navigator and browse any data. Support list, kanban, pivot, graph view. </h3>
|
<h3 class="oe_slogan">Easy to navigator and browse any data. Support Search more, list, kanban, pivot, graph view. </h3>
|
||||||
<h2>Online demo <i class="fa fa-user text-primary"></i> user/password: demo/demo
|
<h2>Online demo <i class="fa fa-user text-primary"></i> user/password: demo/demo
|
||||||
<a href="http://demo.odooapp.cn/web?#action=263&model=sale.order&view_type=list&menu_id=141" target="_blank">
|
<a href="http://demo.odooapp.cn/web?#action=263&model=sale.order&view_type=list&menu_id=141" target="_blank">
|
||||||
<i class="fa fa-arrow-right text-warning"></i>Click to get demo.
|
<i class="fa fa-arrow-right text-warning"></i>Click to get demo.
|
||||||
@@ -35,6 +35,10 @@
|
|||||||
<i class="fa fa-check-square-o text-primary"></i>
|
<i class="fa fa-check-square-o text-primary"></i>
|
||||||
Easy to show parent children tree for tree, kanban, pivot, graph view.(Note that there would be little different in UI between odoo12,11,10)
|
Easy to show parent children tree for tree, kanban, pivot, graph view.(Note that there would be little different in UI between odoo12,11,10)
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<i class="fa fa-check-square-o text-primary"></i>
|
||||||
|
Filter product of any data in "Search More..." popup windows.
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<i class="fa fa-check-square-o text-primary"></i>
|
<i class="fa fa-check-square-o text-primary"></i>
|
||||||
Responsive UI.Only show when width > 992px;
|
Responsive UI.Only show when width > 992px;
|
||||||
@@ -137,6 +141,17 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<section class="oe_container">
|
||||||
|
<div class="oe_row oe_spaced">
|
||||||
|
</div>
|
||||||
|
<div class="oe_row oe_spaced">
|
||||||
|
<h1> </h1>
|
||||||
|
<h4 class="oe_slogan">Filter product or any data in search more windows</h4>
|
||||||
|
<div class="oe_demo oe_screenshot">
|
||||||
|
<img oe_demo oe_screenshot src="searchmore.jpg"/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
<section class="oe_container">
|
<section class="oe_container">
|
||||||
<div class="oe_row oe_spaced">
|
<div class="oe_row oe_spaced">
|
||||||
<h4 class="oe_slogan">Free to Use in product category.</h4>
|
<h4 class="oe_slogan">Free to Use in product category.</h4>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
||||||
<field name="team_id"/>
|
<field name="team_id"/>
|
||||||
<field name="user_id"/>
|
<field name="user_id"/>
|
||||||
<field name="partner_id" select='multi' domain="[['customer_rank','>', 0]]"/>
|
<field name="partner_id" filter_domain="[('customer_rank','>', 0)]"/>
|
||||||
</searchpanel>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
<field name="company_id" groups="base.group_multi_company" icon="fa-building"/>
|
||||||
<field name="invoice_status"/>
|
<field name="invoice_status"/>
|
||||||
<field name="team_id"/>
|
<field name="team_id"/>
|
||||||
<field name="partner_id" select='multi' domain="[['customer_rank','>', 0]]"/>
|
<field name="partner_id" filter_domain="[('customer_rank','>', 0)]"/>
|
||||||
<field name="user_id"/>
|
<field name="user_id"/>
|
||||||
</searchpanel>
|
</searchpanel>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
|||||||
@@ -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