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

Good night,
I have a problem I can't understand how to change the visible name in the print menu for the existing report Purchase Oder to Purchase_Order. How could it be done?

아바타
취소
베스트 답변

Hi,

If you need to change it from user interface without code, you can activate the developer mode and navigate to Settings -> Technical -> Actions -> Report, and search Purchase Order, then open the corresponding record and you can change the name as per the need.


If you need to do it from the code, do as follows: 

https://ibb.co/Y4SHzjw


Thanks

아바타
취소

<record id="purchase.action_report_purchase_order" model="ir.actions.report">

<field name="name">New Name</field>

</record>

작성자

If I do it from the user interface it works correctly, however in my case I want to do it with code, I have tried the code that has been attached to me but it does not work for me, it does not make any changes to me. Why could it be?

관련 게시물 답글 화면 활동
1
12월 22
2021
0
2월 24
1213
2
2월 22
2832
0
2월 20
5475
1
3월 19
5140