Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2295 Weergaven
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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
3
apr. 23
11599
0
dec. 22
2703
1
sep. 22
3642
0
apr. 22
2634
0
nov. 23
280