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

I need to only edit the field name of "Internal Reference" in product to 

"Customer Artwork code/Internal reference"

아바타
취소
베스트 답변

There is more than one way to do it. Some easier, some better. In each case, you must enable "developer mode" first. To do that, go to Settings / Dashboard, and look for "enable developer mode" link somewhere on the right.

  • The harder is to create a module with code from Giusy.

  • Easier is to customize the translation, finding and editing the label via Settings/Translations/Translated terms.

  • You can also customize the form view by inserting a help string. But there is a bunch of inherited view in product form and the right one is a bit hard to find. Click on the bug icon at the top right of the screen, then on Open View. In the search box, type "product". Then click on the "product.product.form" (I guess it is the one you want) then bug icon again and "Edit Form View".

아바타
취소
베스트 답변

Hi!!

You must enter:

_inherit = 'product.product'

default_code = fields.Char('Customer Artwork code/Internal reference', index=True)
아바타
취소
관련 게시물 답글 화면 활동
1
12월 19
9528
1
11월 19
5368
1
12월 16
8217
2
12월 23
20615
2
10월 24
2043