Ir al contenido
Menú
Se marcó esta pregunta

I want to generate custom asset codes in the asset form for fixed assets if the vendor bill's product is a fixed asset.  i have no idea in this.


fromodooimportmodels, fields, api, _
classAccountAsset(models.Model):_inherit='account.asset'
asset_code=fields.Char(string='Asset Code', copy=False,)location=fields.Char(string='Location', copy=False)

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
ene 24
2135
2
ene 24
2996
1
jul 23
1584
1
jul 23
1746
0
nov 22
1995