Odoo Help


Partner Overdue report

on 2/8/16, 10:31 AM 648 views

Hello everyone,

I have modify the report of partner overdue like follow:

<?xml version="1.0" encoding="utf-8"?>

<!--Custom report.-->



<template id="report_snc.report_credit_document">

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

<div class="page">

<div class="row">

<h2>Règlements en retard



<table class="table table-condensed">

<thead style="background-color:#ffffff;border: 1px solid #000000;color:#000000;">


<th style="border: 1px solid #000000">Nom</th>

<th style="border: 1px solid #000000">Montant non payé</th>




<tr t-foreach="docs" t-as="partner">

<td style="border: 1px solid #000000">

<span t-field="partner.name"/>


<td style="border: 1px solid #000000">

<span t-esc="formatLang(due[partner.id] - paid[partner.id], currency_obj=res_company.currency_id)"/> 









<template id="report_credit">

<t t-call="report.html_container">

<t t-foreach="doc_ids" t-as="doc_id">

<t t-raw="translate_doc(doc_id, doc_model, 'lang', 'report_snc.report_credit_document')"/>






My problem is one I select for example 2 partners I get 2 page of this report also I need to not get the partner who hasn't an amount to pay.


About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 2/8/16, 10:31 AM
Seen: 648 times
Last updated: 2/8/16, 10:51 AM