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

menu = "False" Attribute is not working where i'm wrong please correct my mistake or any advice to achieve my goal 

Code Preview

Problem Preview

아바타
취소

did you upgrade related module? after make changes in XML....

작성자

yes i restart my server and upgrade this module ....

베스트 답변

You should try with this code, Hope it is worked

<report
string="Purchase Order"
id="purchase.action_report_purchase_order"
model="purchase.order"
report_type="qweb-pdf"
name="purchase.report_purchaseorder"
file="purchase.report_purchaseorder"
print_report_name="
(object.state in ('draft', 'sent') and 'Request for Quotation - %s' % (object.name) or
'Purchase Order - %s' % (object.name))"
menu="False"
/>

Restart the server and update the module.

아바타
취소
베스트 답변

how can i compute two fields?

아바타
취소
작성자

you can post question on form for getting best answer this is already solved issue ...

베스트 답변

Hi,

   In your code, there are two report definitions with the same name Purchase Order. Make sure which report is working by changing the Report String.  Then check it .         

아바타
취소
관련 게시물 답글 화면 활동
1
8월 23
1769
3
9월 19
5800
3
6월 20
5706
1
1월 20
6075
2
1월 24
16069