콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

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
2199
2
1월 24
3131
1
7월 23
1650
1
7월 23
1818
0
11월 22
2072