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')
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
2368
查看
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
3
4月 23
|
11945 | ||
|
0
12月 22
|
2831 | ||
|
1
9月 22
|
3872 | ||
|
0
4月 22
|
2752 | ||
|
0
11月 23
|
280 |