Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2365 Prikazi
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
Opusti
Related Posts Odgovori Prikazi Aktivnost
3
apr. 23
11944
0
dec. 22
2831
1
sep. 22
3871
0
apr. 22
2751
0
nov. 23
280