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

Hi all. I need to add an additional image to the generic PDF template for one of our companies. The image needs to be show in the top-right corner of the page, directly under the header. The images needs to be shown on all Purchase Orders, RFQs, Sales Orders, Quotes and Invoices.

How do I do this in Studio? Can someone point me in the right direction?

Thanks,

Paul

아바타
취소
베스트 답변

1.Go to company form view --> add a customized field  using studio(x_studio_im)

2.Go to general settings under "document layout"-->choose your layout(external_layout_standard)


3.open it(Edit layout), and add this code as shown in the pic below:

             <div class="row">
          <div class="col-12 text-right" style="margin-top:20px;">
           <img t-if="company.x_studio_im" t-att-src="image_data_uri(company.x_studio_im)" style="max-height: 45px;" alt="Logo"/>
          </div>
            </div>

4. save changes --> save settings

5. after refresh this page go check your new layout
from settings-->general settings--> under document layout-->"preview document"

6.finally you can check every report(invoice,sale order, purchase order)

invoice

Hope it will help you :)

아바타
취소
관련 게시물 답글 화면 활동
2
4월 25
25565
1
12월 24
1263
2
8월 24
3674
1
1월 24
1159
2
10월 23
2894