mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
优化财务相关
This commit is contained in:
@@ -44,17 +44,6 @@
|
|||||||
'views/account_account_views.xml',
|
'views/account_account_views.xml',
|
||||||
'views/res_company_views.xml',
|
'views/res_company_views.xml',
|
||||||
],
|
],
|
||||||
'demo': [
|
|
||||||
],
|
|
||||||
'test': [
|
|
||||||
],
|
|
||||||
'css': [
|
|
||||||
],
|
|
||||||
'qweb': [
|
|
||||||
'static/src/xml/*.xml',
|
|
||||||
],
|
|
||||||
'js': [
|
|
||||||
],
|
|
||||||
'post_load': None,
|
'post_load': None,
|
||||||
'post_init_hook': 'post_init_hook',
|
'post_init_hook': 'post_init_hook',
|
||||||
'installable': True,
|
'installable': True,
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ class AccountAccount(models.Model):
|
|||||||
done = 0
|
done = 0
|
||||||
# 分隔符 delimiter,用友为"",金蝶为 ".",注意odoo中一级科目,现金默认定义是4位头,银行是6位头
|
# 分隔符 delimiter,用友为"",金蝶为 ".",注意odoo中一级科目,现金默认定义是4位头,银行是6位头
|
||||||
# 我们使用 用友的多级科目方式,自动生成下级,此处直接覆盖原生
|
# 我们使用 用友的多级科目方式,自动生成下级,此处直接覆盖原生
|
||||||
delimiter = company.chart_template_id.delimiter or ''
|
delimiter = company.coa_delimiter or ''
|
||||||
for rec in self:
|
for rec in self:
|
||||||
if len(rec.code) > 2:
|
if len(rec.code) > 2:
|
||||||
p_code = rec.code[:len(rec.code) - 2]
|
p_code = rec.code[:len(rec.code) - 2]
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
<div class="alert alert-info" style="padding:8px;font-weight: 300; font-size: 20px;">
|
<div class="alert alert-info" style="padding:8px;font-weight: 300; font-size: 20px;">
|
||||||
<i class="fa fa-hand-o-right"></i>
|
<i class="fa fa-hand-o-right"></i>
|
||||||
<b>
|
<b>
|
||||||
<a href="http://www.odoo.com/apps/modules/16.0/app_web_superbar/" target="_blank" class="text-danger">
|
<a href="./app_web_superbar/" target="_blank" class="text-danger">
|
||||||
Extend features. superbar advance search navigator
|
Extend features. superbar advance search navigator
|
||||||
</a>
|
</a>
|
||||||
</b>
|
</b>
|
||||||
@@ -52,19 +52,19 @@
|
|||||||
<ul class="list-unstyled">
|
<ul class="list-unstyled">
|
||||||
<li>
|
<li>
|
||||||
<i class="fa fa-link text-primary"></i>
|
<i class="fa fa-link text-primary"></i>
|
||||||
<a href="http://www.odoo.com/apps/modules/16.0/app_web_widget_ztree/" target="_blank" class="text-danger">zTree widget (must need to use in following demo).</a>
|
<a href="./app_web_widget_ztree/" target="_blank" class="text-danger">zTree widget (must need to use in following demo).</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<i class="fa fa-link text-primary"></i>
|
<i class="fa fa-link text-primary"></i>
|
||||||
<a href="http://www.odoo.com/apps/modules/16.0/app_product_ztree/" target="_blank">Product and category.</a>
|
<a href="./app_product_ztree/" target="_blank">Product and category.</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<i class="fa fa-link text-primary"></i>
|
<i class="fa fa-link text-primary"></i>
|
||||||
<a href="http://www.odoo.com/apps/modules/16.0/app_stock_ztree/" target="_blank">Stock and Location.</a>
|
<a href="./app_stock_ztree/" target="_blank">Stock and Location.</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<i class="fa fa-link text-primary"></i>
|
<i class="fa fa-link text-primary"></i>
|
||||||
<a href="http://www.odoo.com/apps/modules/16.0/app_hr_ztree/" target="_blank">hr department and employee.</a>
|
<a href="./app_hr_ztree/" target="_blank">hr department and employee.</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
<div class="oe_row oe_spaced">
|
<div class="oe_row oe_spaced">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="oe_row">
|
<div class="oe_row">
|
||||||
<h3>Lastest update: v18.24.11.04</h3>
|
<h3>Lastest update: v18.24.12.13</h3>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<img class="oe_demo oe_screenshot img img-fluid" src="banner.png">
|
<img class="oe_demo oe_screenshot img img-fluid" src="banner.png">
|
||||||
</div>
|
</div>
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
<img class="oe_demo oe_screenshot img img-fluid" src="demo_account_zchart.jpg">
|
<img class="oe_demo oe_screenshot img img-fluid" src="demo_account_zchart.jpg">
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<img class="oe_demo oe_screenshot img img-fluid" src="demo_account_tree.jpg">
|
<img class="oe_demo oe_screenshot img img-fluid" src="demo_account_ztree.jpg">
|
||||||
</div>
|
</div>
|
||||||
<h3 class="oe_slogan">How to use</h3>
|
<h3 class="oe_slogan">How to use</h3>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|||||||
Reference in New Issue
Block a user