Skip to Content
Menu
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)

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
saus. 24
2141
2
saus. 24
3023
1
liep. 23
1604
1
liep. 23
1772
0
lapkr. 22
2015