コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2352 ビュー
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')
アバター
破棄
関連投稿 返信 ビュー 活動
3
4月 23
11936
0
12月 22
2830
1
9月 22
3869
0
4月 22
2749
0
11月 23
280