mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
opt grn and ztree
This commit is contained in:
@@ -23,7 +23,7 @@ class ProductCategory(models.Model):
|
||||
# 更新 complete_name 算法,当有context: show_short =1 时,只显示短名
|
||||
@api.multi
|
||||
def name_get(self):
|
||||
if self._context.get('category_show_short'):
|
||||
if self._context.get('show_short'):
|
||||
new_res = []
|
||||
for category in self:
|
||||
name = category.name
|
||||
|
||||
@@ -207,7 +207,7 @@
|
||||
</li>
|
||||
<li>
|
||||
<i class="fa fa-check-square-o text-primary"></i>
|
||||
Easy to show custom parent children tree for tree, kanban, pivot, graph view.
|
||||
Easy to show custom parent children tree for tree, kanban, pivot, graph view.(Note that there would be little different in UI between odoo12,11,10)
|
||||
</li>
|
||||
<li>
|
||||
<i class="fa fa-check-square-o text-primary"></i>
|
||||
|
||||
Reference in New Issue
Block a user