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
3750
डेटा देखने का तरीका
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
साइन अप करें| Related Posts | Replies | डेटा देखने का तरीका | ऐक्टिविटी | |
|---|---|---|---|---|
|
|
3
अप्रैल 26
|
15658 | ||
|
|
0
दिस॰ 22
|
4764 | ||
|
|
1
सित॰ 22
|
6161 | ||
|
|
0
अप्रैल 22
|
4214 | ||
|
|
0
नव॰ 23
|
280 |