add hatch sale

This commit is contained in:
ivan deng
2019-11-21 02:11:38 +08:00
parent 03c66d115b
commit 045b10cfd4
2 changed files with 0 additions and 2 deletions

View File

@@ -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 = []