Bonjour,
Un grand merci pour le partage du code qui améliore sensiblement la mise en page.
J'ai légèrement modifié vos valeurs de façon à obtenir dans la situation comptable une seule ligne lorsque le solde est débiteur et supérieur à 1000 €.
Je publie le code modifié .
<model hmargin="10.0" vmargin="10.0" page_width="210.0" page_height="297.0">
<header extent="25.0">
<text height="20.0" width="120.0" top="5.0" left="70.0" padding="1.0" spacing="0.0" border_color="black" border_style="" border_width="0.2" text_align="center" line_height="20" font_family="sans-serif" font_weight="" font_size="20">
{[b]}#OUR_DETAIL.name{[/b]}
</text>
<image height="30.0" width="30.0" top="0.0" left="10.0" padding="1.0" spacing="0.0" border_color="black" border_style="" border_width="0.2">
#OUR_DETAIL.image
</image>
</header>
<bottom extent="10.0">
<text height="10.0" width="190.0" top="00.0" left="0.0" padding="1.0" spacing="0.0" border_color="black" border_style="" border_width="0.2" text_align="center" line_height="8" font_family="sans-serif" font_weight="" font_size="8">
{[italic]}
#OUR_DETAIL.address - #OUR_DETAIL.postal_code #OUR_DETAIL.city - #OUR_DETAIL.tel1 #OUR_DETAIL.tel2 #OUR_DETAIL.email{[br/]}#OUR_DETAIL.identify_number
{[/italic]}
</text>
</bottom>
<body>
<text height="8.0" width="190.0" top="0.0" left="0.0" padding="1.0" spacing="0.0" border_color="black" border_style="" border_width="0.2" text_align="center" line_height="15" font_family="sans-serif" font_weight="" font_size="15">
{[b]}appel de fonds #num{[/b]}
</text>
<text height="8.0" width="190.0" top="8.0" left="0.0" padding="1.0" spacing="0.0" border_color="black" border_style="" border_width="0.2" text_align="center" line_height="13" font_family="sans-serif" font_weight="" font_size="13">
#date
</text>
<text height="20.0" width="100.0" top="25.0" left="80.0" padding="1.0" spacing="0.0" border_color="black" border_style="" border_width="0.2" text_align="center" line_height="11" font_family="sans-serif" font_weight="" font_size="11">
{[b]}#owner.third.contact.str{[/b]}{[br/]}#owner.third.contact.address{[br/]}#owner.third.contact.postal_code #owner.third.contact.city
</text>
<table height="100.0" width="170.0" top="70.0" left="5.0" padding="1.0" spacing="0.0" border_color="black" border_style="" border_width="0.2">
<columns width="20.0" display_align="center" border_color="black" border_style="solid" border_width="0.2" text_align="center" line_height="10" font_family="sans-serif" font_weight="" font_size="9">
{[b]}catégorie de charges{[/b]}
</columns>
<columns width="84.0" display_align="center" border_color="black" border_style="solid" border_width="0.2" text_align="center" line_height="10" font_family="sans-serif" font_weight="" font_size="9">
{[b]}désignation{[/b]}
</columns>
<columns width="17.0" display_align="center" border_color="black" border_style="solid" border_width="0.2" text_align="center" line_height="10" font_family="sans-serif" font_weight="" font_size="9">
{[b]}total{[/b]}
</columns>
<columns width="25.0" display_align="center" border_color="black" border_style="solid" border_width="0.2" text_align="center" line_height="10" font_family="sans-serif" font_weight="" font_size="9">
{[b]}somme des tantièmes{[/b]}
</columns>
<columns width="17.0" display_align="center" border_color="black" border_style="solid" border_width="0.2" text_align="center" line_height="10" font_family="sans-serif" font_weight="" font_size="9">
{[b]}tantième{[/b]}
</columns>
<columns width="17.0" display_align="center" border_color="black" border_style="solid" border_width="0.2" text_align="center" line_height="10" font_family="sans-serif" font_weight="" font_size="9">
{[b]}montant{[/b]}
</columns>
<rows data="calldetail_set">
<cell display_align="center" border_color="black" border_style="solid" border_width="0.2" text_align="center" line_height="7" font_family="sans-serif" font_weight="" font_size="7">
#set
</cell>
<cell display_align="center" border_color="black" border_style="solid" border_width="0.2" text_align="center" line_height="7" font_family="sans-serif" font_weight="" font_size="7">
#designation
</cell>
<cell display_align="center" border_color="black" border_style="solid" border_width="0.2" text_align="center" line_height="7" font_family="sans-serif" font_weight="" font_size="7">
#total_amount
</cell>
<cell display_align="center" border_color="black" border_style="solid" border_width="0.2" text_align="center" line_height="7" font_family="sans-serif" font_weight="" font_size="7">
#set.total_part
</cell>
<cell display_align="center" border_color="black" border_style="solid" border_width="0.2" text_align="center" line_height="7" font_family="sans-serif" font_weight="" font_size="7">
#owner_part
</cell>
<cell display_align="center" border_color="black" border_style="solid" border_width="0.2" text_align="center" line_height="7" font_family="sans-serif" font_weight="" font_size="7">
#price_txt
</cell>
</rows>
</table>
<text height="15.0" width="50.0" top="120.0" left="95.0" padding="1.0" spacing="0.0" border_color="black" border_style="" border_width="0.2" text_align="right" line_height="9" font_family="sans-serif" font_weight="" font_size="9">
{[u]}total de l'appel :{[/u]}{[br/]}
</text>
<text height="15.0" width="20.0" top="120.0" left="140.0" padding="1.0" spacing="0.0" border_color="black" border_style="" border_width="0.2" text_align="right" line_height="9" font_family="sans-serif" font_weight="" font_size="9">
{[u]}{[b]}#total{[/b]}{[/u]}{[br/]}
</text>
<text height="20.0" width="100.0" top="120.0" left="0.0" padding="1.0" spacing="0.0" border_color="black" border_style="" border_width="0.2" text_align="left" line_height="9" font_family="sans-serif" font_weight="" font_size="9">
#comment
</text>
<text height="5.0" width="190.0" top="130.0" left="00.0" padding="1.0" spacing="0.0" border_color="black" border_style="" border_width="0.2" text_align="center" line_height="9" font_family="sans-serif" font_weight="" font_size="9">
{[u]}{[i]}situation au #owner.date_current{[/i]}{[/u]}
</text>
<text height="15.0" width="60.0" top="135.0" left="00.0" padding="1.0" spacing="0.0" border_color="black" border_style="" border_width="0.2" text_align="right" line_height="9" font_family="sans-serif" font_weight="" font_size="9">
{[i]}état initial (ch. courantes):{[/i]}{[br/]}
{[i]}total des appels de fonds (ch.courantes):{[/i]}{[br/]}
{[i]}total des règlements (sur ch. courantes):{[/i]}{[br/]}
{[i]}solde propriétaire (ch. courantes):{[/i]}{[br/]}
{[br/]}
{[i]}total des appels de fonds (avance):{[/i]}{[br/]}
{[i]}total des règlements (avance):{[/i]}{[br/]}
</text>
<text height="15.0" width="20.0" top="135.0" left="60.0" padding="1.0" spacing="0.0" border_color="black" border_style="" border_width="0.2" text_align="right" line_height="9" font_family="sans-serif" font_weight="" font_size="9">
#owner.total_current_initial{[br/]}
#owner.total_current_call{[br/]}
#owner.total_current_payoff{[br/]}
#owner.total_current_owner{[br/]}
{[br/]}
#owner.total_cash_advance_call{[br/]}
#owner.total_cash_advance_payoff{[br/]}
</text>
<text height="15.0" width="70.0" top="135.0" left="90.0" padding="1.0" spacing="0.0" border_color="black" border_style="" border_width="0.2" text_align="right" line_height="9" font_family="sans-serif" font_weight="" font_size="9">
{[i]}état initial (ch. exceptionnelles):{[/i]}{[br/]}
{[i]}total des appels de fonds (ch. exceptionnelles):{[/i]}{[br/]}
{[i]}total des règlements (sur ch. exceptionnelles):{[/i]}{[br/]}
{[i]}solde propriétaire (ch. exceptionnelles):{[/i]}{[br/]}
{[br/]}
{[i]}total des appels de fonds (fonds de travaux):{[/i]}{[br/]}
{[i]}total des règlements (fonds travaux):{[/i]}{[br/]}
</text>
<text height="15.0" width="20.0" top="135.0" left="160.0" padding="1.0" spacing="0.0" border_color="black" border_style="" border_width="0.2" text_align="right" line_height="9" font_family="sans-serif" font_weight="" font_size="9">
#owner.total_exceptional_initial{[br/]}
#owner.total_exceptional_call{[br/]}
#owner.total_exceptional_payoff{[br/]}
#owner.total_exceptional_owner{[br/]}
{[br/]}
#owner.total_fund_works_call{[br/]}
#owner.total_fund_works_payoff{[br/]}
</text>
<text height="15.0" width="190.0" top="170.0" left="0.0" padding="1.0" spacing="0.0" border_color="black" border_style="" border_width="0.2
" text_align="center" line_height="11" font_family="sans-serif" font_weight="" font_size="12">
{[b]}{[u]}MONTANT A PAYER : #owner.sumtopay{[/u]}{[/b]}
</text>
</body>
</model>
En pièce jointe, le résultat avant / après.
PS : Il est possible de voir le résultat en imprimant un appel de fond déjà réalisé et en choisissant dans la boite de dialogue "générer un duplicata".