Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3949 Lượt xem

Hi, is there an existing tutorial to create a partner report, from contact list?

Many explanation are dedicated to accounting part.

https://www.odoo.com/documentation/13.0/reference/reports.html

And template (views, models) already embedded into Odoo CE are also around accountinng, invoicing...

There is no guidance clearly posted to deal with contact data.


The goal should be to report, how much partners are still active for example, and from wich country they come from.

So from my point of this is directly linked to partner side.

You should answer that excel is a decent way to get that info, but I still want to make this through a report.


Hoping to be enough precise.


Previous post with such question:

https://www.odoo.com/fr_FR/forum/aide-1/how-can-i-print-a-report-list-of-my-contacts-114710

https://www.odoo.com/fr_FR/forum/aide-1/custom-reports-in-odoo-13-ce-160647


Ảnh đại diện
Huỷ bỏ
Tác giả

I tried from an existing view and get an error to make a very small test:

=> return is an exception raise...

[Error to render compiling AST

RecursionError: maximum recursion depth exceeded in comparison

Template: web.external_layout_standard

Path: /t/div[1]/div[3]/div/div

Node: <div t-field="company.partner_id" t-options="]

---

[REPORT]

Model = res.partner

Type = HTML

-

[VIEW]

Template= QWeb

Inherit view mode = Basic view

<?xml version="1.0"?>

<t t-name="partner.scopartnerlist_internalreport">

<t t-call="partner.scopartnerlist_internalreport">

<t t-foreach="docs" t-as="o">

<t t-call="web.external_layout">

<div class="page">

<h2>Rapport SST</h2>

<p>Nom de ce SST : <span t-field="o.name"/></p>

</div>

</t>

</t>

</t>

</t>

Câu trả lời hay nhất

Have you checked this playlist? It's not the specific answer but it will give you an idea. If I'm not mistaken, are you trying to create a qweb report in Accounting app that traverses res.partner?

\https://www.youtube.com/watch?v=SkKAXURqNfQ&list=PLqRRLx0cl0hqclwqsT4cm8vkIU4NAj3uA

Ảnh đại diện
Huỷ bỏ
Tác giả

Bonjour Hi Serge,

No sorry, it's not that, but thank you, I'll look on this video.

I was just saying that many examples and explanation are dedicated for accounting side.

I just want a report on the partner side

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 2 21
27739
1
thg 8 25
498
1
thg 5 25
1429
1
thg 4 25
1519
1
thg 3 25
1572