I have to add Asset:Asset_name in _description.. Asset_name will come from the "name" field value
classAssetCategory(models.Model):
""" This class used for the Asset Category data model. """
_name = 'asset.asset_category'
_description = 'Asset Category'
_inherit = ['portal.mixin', 'mail.thread', 'mail.activity.mixin']
description = fields.Text(string="Description", track_visibility='onchange')
name = fields.Char(string="Name", required=True, track_visibility='onchange')
신고된 질문입니다
3707
화면
| 관련 게시물 | 답글 | 화면 | 활동 | |
|---|---|---|---|---|
|
|
3
4월 26
|
15571 | ||
|
|
0
12월 22
|
4683 | ||
|
|
1
9월 22
|
6089 | ||
|
|
0
4월 22
|
4173 | ||
|
|
0
11월 23
|
280 |