Skip to Content
Menú
This question has been flagged

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
Related Posts Respostes Vistes Activitat
2
de gen. 24
2144
2
de gen. 24
3037
1
de jul. 23
1617
1
de jul. 23
1789
0
de nov. 22
2028