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

Hi guys, I need a simple form (list) of products so I added <report> into the xml, now I can see print button in tree view if product selected. Adapted one report(label) form from product but it's structure is horrible. So I would like to ask you for help ... how to create a simple ..... very simple form which will contain a header (title, date), table which will contain only 3 columns: name, quantity and location, no footer required. Simplest ..... Best.

Still getting an error:

TypeError: get_response() takes exactly 2 arguments (1 given)

while trying create a simple report form :(

What a'm i doing wrong ?

<?xml version="1.0" encoding="ISO-8859-1"?>

<templates xml:space="preserve">

<t t-name="Product report" t-attf-class="base #{cls}">

<div style="background-color: red;">This is simple HTML</div>

</t>

</templates>

아바타
취소
베스트 답변

Hello,

you can check this link : http://parikshitvaghasiya.blogspot.in/2015/09/qweb-report-in-odoo.html

hope this will help you.

아바타
취소

Thank you @parikshit. It's helpful for me.

베스트 답변

Hello,

You can check Yenthe's tutorial tutorial  


아바타
취소
작성자

Thanx Ahmed

Thanks for linking it Ahmed :) +1

관련 게시물 답글 화면 활동
2
8월 17
9432
1
8월 16
7942
1
10월 15
3841
3
2월 24
13032
5
1월 20
8603