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
此問題已被標幟
2401
瀏覽次數
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
3
4月 23
|
11989 | ||
|
0
12月 22
|
2855 | ||
|
1
9月 22
|
3897 | ||
|
0
4月 22
|
2780 | ||
|
0
11月 23
|
280 |