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')
This question has been flagged
3682
Zobrazení
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Přihlásit se| Related Posts | Odpovědi | Zobrazení | Aktivita | |
|---|---|---|---|---|
|
|
3
dub 26
|
15518 | ||
|
|
0
pro 22
|
4652 | ||
|
|
1
zář 22
|
6063 | ||
|
|
0
dub 22
|
4095 | ||
|
|
0
lis 23
|
280 |