Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2148 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
gen 24
2140
2
gen 24
3015
1
lug 23
1587
1
lug 23
1763
0
nov 22
2011