İçereği Atla
Menü
Bu soru işaretlendi
2203 Görünümler

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Oca 24
2159
2
Oca 24
3067
1
Tem 23
1634
1
Tem 23
1800
0
Kas 22
2061