mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
add hatch sale
This commit is contained in:
@@ -21,7 +21,6 @@ class ProductCategory(models.Model):
|
||||
_inherit = 'product.category'
|
||||
|
||||
# 更新 complete_name 算法,当有context: show_short =1 时,只显示短名
|
||||
@api.multi
|
||||
def name_get(self):
|
||||
if self._context.get('show_short'):
|
||||
new_res = []
|
||||
|
||||
@@ -21,7 +21,6 @@ class ProductCategory(models.Model):
|
||||
_inherit = 'product.category'
|
||||
|
||||
# 更新 complete_name 算法,当有context: show_short =1 时,只显示短名
|
||||
@api.multi
|
||||
def name_get(self):
|
||||
if self._context.get('show_short'):
|
||||
new_res = []
|
||||
|
||||
Reference in New Issue
Block a user