Skip to Content
मेन्यू
This question has been flagged
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')
Avatar
Discard
Related Posts Replies Views Activity
3
अप्रैल 23
11969
0
दिस॰ 22
2842
1
सित॰ 22
3883
0
अप्रैल 22
2760
0
नव॰ 23
280