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:
- CRM
- e-Commerce
- Financeiro
- Inventário
- PoS
- Project
- MRP
Esta pergunta foi sinalizada
2360
Visualizações
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-sePublicações relacionadas | Respostas | Visualizações | Atividade | |
---|---|---|---|---|
|
3
abr. 23
|
11941 | ||
|
0
dez. 22
|
2831 | ||
|
1
set. 22
|
3870 | ||
|
0
abr. 22
|
2751 | ||
|
0
nov. 23
|
280 |