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
3692
Prikazi
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Prijavi| Related Posts | Odgovori | Prikazi | Aktivnost | |
|---|---|---|---|---|
|
|
3
apr. 26
|
15528 | ||
|
|
0
dec. 22
|
4652 | ||
|
|
1
sep. 22
|
6067 | ||
|
|
0
apr. 22
|
4100 | ||
|
|
0
nov. 23
|
280 |