跳至內容
選單
此問題已被標幟
2287 瀏覽次數

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)

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
1月 24
2252
2
1月 24
3282
1
7月 23
1707
1
7月 23
1899
0
11月 22
2139