Odoo Help

Welcome!

This community 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.

0

Comment récupérer les reports (débit et crédit) dans openerp

By
Bienfait
on 2/28/14, 5:49 AM 1,346 views

Je commence à peine à développer en python, et je doit personnaliser la balance générale d'OpenERP. Je voudrai avoir un format suivant:

Compte l Libellé l Report débit l report crédit l Mouvement débit l mouvement crédit l soldes débiteur l solde créditeur l

En modifiant le fichier "account_balance.rml" qui se trouve dans le repertoire \Server\server\openerp\addons\account\report, je suis arrivé a obtenir le format voulu. Le contenu du fichier se trouve à la fin. Ma préoccupation est d'arriver à récuperer les valeurs au débit et crédit des report, mais aussi au niveau des soldes. Pour les mouvements, les valeurs sont données par OpenERP.

Voici mon idée comme piste de solution:

Pour les reports: - Arriver à récupérer l'année de l'exercice fiscal et déduire l'exercice précédant (n-1) - pour cette année (n-1), prendre les valeurs des débits et crédits des comptes et les affecter dans des variable "debit_rep" et "credit_rep"

Pour les soldes: le soldes débiteur est la sommation de report débit et mouvement report le solde créditeur est la sommation de report crédit et mouvement crédit

Voici le contenu du fichier "account_balance.rml"

<document filename="Account Balance.pdf"> <template title="Account Balance" author="OpenERP S.A.(sales@openerp.com)" allowsplitting="20"> <pagetemplate id="first"> <frame id="first" x1="35.0" y1="35.0" width="525" height="772"/> </pagetemplate> </template> <stylesheet> <blocktablestyle id="Standard_Outline"> <blockalignment value="LEFT"/> <blockvalign value="TOP"/> </blocktablestyle> <blocktablestyle id="Table_Tilte_Table"> <blockalignment value="LEFT"/> <blockvalign value="TOP"/> </blocktablestyle> <blocktablestyle id="Table2"> <blockvalign value="TOP"/> <blockalignment value="RIGHT"/> <linestyle kind="LINEBELOW" colorname="#000000" start="0,0" stop="-1,0"/> <linestyle kind="LINEBELOW" colorname="#e6e6e6" start="0,1" stop="-1,-1"/> </blocktablestyle>

<blocktablestyle id="Table8"> <blockalignment value="LEFT"/> <blockvalign value="TOP"/> <linestyle kind="LINEBEFORE" colorname="#cccccc" start="0,0" stop="0,-1"/> <linestyle kind="LINEABOVE" colorname="#cccccc" start="0,0" stop="0,0"/> <linestyle kind="LINEBEFORE" colorname="#cccccc" start="1,0" stop="1,-1"/> <linestyle kind="LINEABOVE" colorname="#cccccc" start="1,0" stop="1,0"/> <linestyle kind="LINEBEFORE" colorname="#cccccc" start="2,0" stop="2,-1"/> <linestyle kind="LINEABOVE" colorname="#cccccc" start="2,0" stop="2,0"/> <linestyle kind="LINEBEFORE" colorname="#cccccc" start="3,0" stop="3,-1"/> <linestyle kind="LINEABOVE" colorname="#cccccc" start="3,0" stop="3,0"/> <linestyle kind="LINEBEFORE" colorname="#cccccc" start="4,0" stop="4,-1"/> <linestyle kind="LINEABOVE" colorname="#cccccc" start="4,0" stop="4,0"/> <linestyle kind="LINEBEFORE" colorname="#cccccc" start="5,0" stop="5,-1"/> <linestyle kind="LINEABOVE" colorname="#cccccc" start="5,0" stop="5,0"/> <linestyle kind="LINEBEFORE" colorname="#cccccc" start="6,0" stop="6,-1"/> <linestyle kind="LINEAFTER" colorname="#cccccc" start="6,0" stop="6,-1"/> <linestyle kind="LINEABOVE" colorname="#cccccc" start="6,0" stop="6,0"/> <linestyle kind="LINEBEFORE" colorname="#cccccc" start="0,1" stop="0,-1"/> <linestyle kind="LINEABOVE" colorname="#cccccc" start="0,1" stop="0,1"/> <linestyle kind="LINEBELOW" colorname="#cccccc" start="0,-1" stop="0,-1"/> <linestyle kind="LINEBEFORE" colorname="#cccccc" start="1,1" stop="1,-1"/> <linestyle kind="LINEABOVE" colorname="#cccccc" start="1,1" stop="1,1"/> <linestyle kind="LINEBELOW" colorname="#cccccc" start="1,-1" stop="1,-1"/> <linestyle kind="LINEBEFORE" colorname="#cccccc" start="2,1" stop="2,-1"/> <linestyle kind="LINEABOVE" colorname="#cccccc" start="2,1" stop="2,1"/> <linestyle kind="LINEBELOW" colorname="#cccccc" start="2,-1" stop="2,-1"/> <linestyle kind="LINEBEFORE" colorname="#cccccc" start="3,1" stop="3,-1"/> <linestyle kind="LINEABOVE" colorname="#cccccc" start="3,1" stop="3,1"/> <linestyle kind="LINEBELOW" colorname="#cccccc" start="3,-1" stop="3,-1"/> <linestyle kind="LINEBEFORE" colorname="#cccccc" start="4,1" stop="4,-1"/> <linestyle kind="LINEABOVE" colorname="#cccccc" start="4,1" stop="4,1"/> <linestyle kind="LINEBELOW" colorname="#cccccc" start="4,-1" stop="4,-1"/> <linestyle kind="LINEBEFORE" colorname="#c0c0c0" start="5,1" stop="5,-1"/> <linestyle kind="LINEABOVE" colorname="#c0c0c0" start="5,1" stop="5,1"/> <linestyle kind="LINEBELOW" colorname="#c0c0c0" start="5,-1" stop="5,-1"/> <linestyle kind="LINEBEFORE" colorname="#c0c0c0" start="6,1" stop="6,-1"/> <linestyle kind="LINEAFTER" colorname="#c0c0c0" start="6,1" stop="6,-1"/> <linestyle kind="LINEABOVE" colorname="#c0c0c0" start="6,1" stop="6,1"/> <linestyle kind="LINEBELOW" colorname="#c0c0c0" start="6,-1" stop="6,-1"/> <linestyle kind="LINEBEFORE" colorname="#c0c0c0" start="7,1" stop="7,-1"/> <linestyle kind="LINEBELOW" colorname="#c0c0c0" start="7,-1" stop="7,-1"/> <linestyle kind="LINEBEFORE" colorname="#c0c0c0" start="8,1" stop="8,-1"/> <linestyle kind="LINEAFTER" colorname="#c0c0c0" start="8,1" stop="8,-1"/> <linestyle kind="LINEBELOW" colorname="#c0c0c0" start="8,-1" stop="8,-1"/> <linestyle kind="LINEBEFORE" colorname="#e6e6e6" start="9,1" stop="9,-1"/> <linestyle kind="LINEABOVE" colorname="#e6e6e6" start="9,1" stop="9,1"/> <linestyle kind="LINEBELOW" colorname="#e6e6e6" start="9,-1" stop="9,-1"/> <linestyle kind="LINEBEFORE" colorname="#e6e6e6" start="10,1" stop="10,-1"/> <linestyle kind="LINEABOVE" colorname="#e6e6e6" start="10,1" stop="10,1"/> <linestyle kind="LINEBELOW" colorname="#e6e6e6" start="10,-1" stop="10,-1"/> <linestyle kind="LINEBEFORE" colorname="#e6e6e6" start="11,1" stop="11,-1"/> <linestyle kind="LINEBELOW" colorname="#e6e6e6" start="11,-1" stop="11,-1"/> <linestyle kind="LINEBEFORE" colorname="#e6e6e6" start="12,1" stop="12,-1"/> <linestyle kind="LINEAFTER" colorname="#e6e6e6" start="12,1" stop="12,-1"/> <linestyle kind="LINEBELOW" colorname="#e6e6e6" start="12,-1" stop="12,-1"/> <linestyle kind="LINEBEFORE" colorname="#cccccc" start="13,1" stop="13,-1"/> <linestyle kind="LINEABOVE" colorname="#cccccc" start="13,1" stop="13,1"/> <linestyle kind="LINEBELOW" colorname="#cccccc" start="13,-1" stop="13,-1"/> <linestyle kind="LINEBEFORE" colorname="#cccccc" start="14,1" stop="14,-1"/> <linestyle kind="LINEAFTER" colorname="#cccccc" start="14,1" stop="14,-1"/> <linestyle kind="LINEABOVE" colorname="#cccccc" start="14,1" stop="14,1"/> <linestyle kind="LINEBELOW" colorname="#cccccc" start="14,-1" stop="14,-1"/> <linestyle kind="LINEBEFORE" colorname="#c0c0c0" start="0,2" stop="0,-1"/> <linestyle kind="LINEABOVE" colorname="#c0c0c0" start="0,2" stop="0,2"/> <linestyle kind="LINEBELOW" colorname="#c0c0c0" start="0,-1" stop="0,-1"/> <linestyle kind="LINEBEFORE" colorname="#c0c0c0" start="1,2" stop="1,-1"/> <linestyle kind="LINEAFTER" colorname="#c0c0c0" start="1,2" stop="1,-1"/> <linestyle kind="LINEABOVE" colorname="#c0c0c0" start="1,2" stop="1,2"/> <linestyle kind="LINEBELOW" colorname="#c0c0c0" start="1,-1" stop="1,-1"/> <linestyle kind="LINEBEFORE" colorname="#c0c0c0" start="0,3" stop="0,-1"/> <linestyle kind="LINEBELOW" colorname="#c0c0c0" start="0,-1" stop="0,-1"/> <linestyle kind="LINEBEFORE" colorname="#c0c0c0" start="1,3" stop="1,-1"/> <linestyle kind="LINEAFTER" colorname="#c0c0c0" start="1,3" stop="1,-1"/> <linestyle kind="LINEBELOW" colorname="#c0c0c0" start="1,-1" stop="1,-1"/> <linestyle kind="LINEBEFORE" colorname="#e6e6e6" start="0,4" stop="0,-1"/> <linestyle kind="LINEABOVE" colorname="#e6e6e6" start="0,4" stop="0,4"/> <linestyle kind="LINEBELOW" colorname="#e6e6e6" start="0,-1" stop="0,-1"/> <linestyle kind="LINEBEFORE" colorname="#e6e6e6" start="1,4" stop="1,-1"/> <linestyle kind="LINEABOVE" colorname="#e6e6e6" start="1,4" stop="1,4"/> <linestyle kind="LINEBELOW" colorname="#e6e6e6" start="1,-1" stop="1,-1"/> <linestyle kind="LINEBEFORE" colorname="#e6e6e6" start="0,5" stop="0,-1"/> <linestyle kind="LINEBELOW" colorname="#e6e6e6" start="0,-1" stop="0,-1"/> <linestyle kind="LINEBEFORE" colorname="#e6e6e6" start="1,5" stop="1,-1"/> <linestyle kind="LINEAFTER" colorname="#e6e6e6" start="1,5" stop="1,-1"/> <linestyle kind="LINEBELOW" colorname="#e6e6e6" start="1,-1" stop="1,-1"/> </blocktablestyle> <blocktablestyle id="Table5"> <blockalignment value="LEFT"/> <blockvalign value="TOP"/> <linestyle kind="LINEBEFORE" colorname="#cccccc" start="1,0" stop="1,-1"/> </blocktablestyle> <blocktablestyle id="Table6"> <blockalignment value="LEFT"/> <blockvalign value="TOP"/> <linestyle kind="LINEBELOW" colorname="#000000" start="0,0" stop="-1,0"/> </blocktablestyle> <blocktablestyle id="Table_Account_Balance_Content"> <blockalignment value="LEFT"/> <blockvalign value="TOP"/> <linestyle kind="LINEBELOW" colorname="#000000" start="0,-1" stop="0,-1"/> <linestyle kind="LINEBELOW" colorname="#000000" start="1,-1" stop="1,-1"/> <linestyle kind="LINEBELOW" colorname="#000000" start="2,-1" stop="2,-1"/> <linestyle kind="LINEBELOW" colorname="#000000" start="3,-1" stop="3,-1"/> <linestyle kind="LINEBELOW" colorname="#000000" start="4,-1" stop="4,-1"/> </blocktablestyle> <blocktablestyle id="Table_account_Detail"> <blockalignment value="LEFT"/> <blockvalign value="TOP"/> <linestyle kind="LINEBELOW" colorname="#cccccc" start="0,-1" stop="0,-1"/> <linestyle kind="LINEBELOW" colorname="#cccccc" start="1,-1" stop="1,-1"/> <linestyle kind="LINEBELOW" colorname="#cccccc" start="2,-1" stop="2,-1"/> <linestyle kind="LINEBELOW" colorname="#cccccc" start="3,-1" stop="3,-1"/> <linestyle kind="LINEBELOW" colorname="#cccccc" start="4,-1" stop="4,-1"/> </blocktablestyle> <initialize> <parastyle name="all" alignment="justify"/> </initialize> <parastyle name="P1" fontname="Helvetica-Bold" fontsize="9.0" leading="11" alignment="LEFT" spacebefore="0.0" spaceafter="0.0"/> <parastyle name="P2" fontname="Helvetica" fontsize="8.0" leading="10" alignment="LEFT" spacebefore="0.0" spaceafter="0.0"/> <parastyle name="P3" fontname="Helvetica-Bold" fontsize="8.0" leading="10" alignment="RIGHT" spacebefore="0.0" spaceafter="6.0"/> <parastyle name="P4" fontname="Helvetica" fontsize="8.0" leading="10" alignment="CENTER" spacebefore="0.0" spaceafter="0.0"/> <parastyle name="P5" fontname="Helvetica-Bold" fontsize="8.0" leading="10" alignment="CENTER" spacebefore="0.0" spaceafter="0.0"/> <parastyle name="P6" fontname="Helvetica-Bold" fontsize="2.0" leading="3" alignment="CENTER" spacebefore="0.0" spaceafter="0.0" textcolor="#ffffff"/> <parastyle name="P7" fontname="Helvetica-Bold" fontsize="9.0" leading="11" alignment="RIGHT" spacebefore="6.0" spaceafter="6.0"/> <parastyle name="P8" fontname="Helvetica"/> <parastyle name="P9" fontname="Helvetica-Bold" fontsize="8.0" leading="10" alignment="CENTER" spacebefore="6.0" spaceafter="6.0"/> <parastyle name="P10" fontname="Helvetica-Bold" fontsize="8.0" leading="10" spacebefore="0.0" spaceafter="0.0" alignment="RIGHT"/> <parastyle name="P11" fontname="Helvetica" fontsize="8.0" leading="10" alignment="LEFT" spacebefore="0.0" spaceafter="0.0"/> <parastyle name="P12" fontname="Helvetica-Bold" fontsize="8.0" leading="10" alignment="LEFT" spacebefore="6.0" spaceafter="6.0"/> <parastyle name="P13" fontname="Helvetica-Bold" fontsize="2.0" leading="3" alignment="CENTER" spacebefore="6.0" spaceafter="6.0" textcolor="#ffffff"/> <parastyle name="P14" rightindent="17.0" leftindent="-0.0" fontname="Helvetica-Bold" fontsize="8.0" leading="10" spacebefore="0.0" spaceafter="6.0"/> <parastyle name="P15" fontname="Helvetica-Bold" fontsize="12.0" leading="15" alignment="CENTER" spacebefore="12.0" spaceafter="6.0"/> <parastyle name="P16" fontname="Helvetica" fontsize="2.0" leading="3" alignment="LEFT" spacebefore="0.0" spaceafter="0.0"/> <parastyle name="P17" fontname="Helvetica-Bold" fontsize="9.0" leading="11" alignment="LEFT" spacebefore="6.0" spaceafter="6.0"/> <parastyle name="Standard" fontname="Helvetica"/> <parastyle name="Text body" fontname="Helvetica" spacebefore="0.0" spaceafter="6.0"/> <parastyle name="List" fontname="Helvetica" spacebefore="0.0" spaceafter="6.0"/> <parastyle name="Table Contents" fontname="Helvetica" spacebefore="0.0" spaceafter="6.0"/> <parastyle name="Table Heading" fontname="Helvetica" alignment="CENTER" spacebefore="0.0" spaceafter="6.0"/> <parastyle name="Caption" fontname="Helvetica" fontsize="10.0" leading="13" spacebefore="6.0" spaceafter="6.0"/> <parastyle name="Index" fontname="Helvetica"/> <parastyle name="Heading" fontname="Helvetica" fontsize="12.0" leading="15" spacebefore="12.0" spaceafter="6.0"/> <parastyle name="Footer" fontname="Helvetica"/> <parastyle name="Horizontal Line" fontname="Helvetica" fontsize="6.0" leading="8" spacebefore="0.0" spaceafter="14.0"/> <parastyle name="terp_header" fontname="Helvetica-Bold" fontsize="15.0" leading="19" alignment="LEFT" spacebefore="12.0" spaceafter="6.0"/> <parastyle name="Heading 9" fontname="Helvetica-Bold" fontsize="75%" leading="NaN" spacebefore="12.0" spaceafter="6.0"/> <parastyle name="terp_tblheader_General" fontname="Helvetica-Bold" fontsize="8.0" leading="10" alignment="LEFT" spacebefore="6.0" spaceafter="6.0"/> <parastyle name="terp_tblheader_Details" fontname="Helvetica-Bold" fontsize="9.0" leading="11" alignment="LEFT" spacebefore="6.0" spaceafter="6.0"/> <parastyle name="terp_default_8" fontname="Helvetica" fontsize="8.0" leading="10" alignment="LEFT" spacebefore="0.0" spaceafter="0.0"/> <parastyle name="terp_default_Bold_8" fontname="Helvetica-Bold" fontsize="8.0" leading="10" alignment="LEFT" spacebefore="0.0" spaceafter="0.0"/> <parastyle name="terp_tblheader_General_Centre" fontname="Helvetica-Bold" fontsize="8.0" leading="10" alignment="CENTER" spacebefore="6.0" spaceafter="6.0"/> <parastyle name="terp_tblheader_General_Right" fontname="Helvetica-Bold" fontsize="8.0" leading="10" alignment="RIGHT" spacebefore="6.0" spaceafter="6.0"/> <parastyle name="terp_tblheader_Details_Centre" fontname="Helvetica-Bold" fontsize="9.0" leading="11" alignment="CENTER" spacebefore="6.0" spaceafter="6.0"/> <parastyle name="terp_tblheader_Details_Right" fontname="Helvetica-Bold" fontsize="9.0" leading="11" alignment="RIGHT" spacebefore="6.0" spaceafter="6.0"/> <parastyle name="terp_default_Right_8" fontname="Helvetica" fontsize="8.0" leading="10" alignment="RIGHT" spacebefore="0.0" spaceafter="0.0"/> <parastyle name="terp_default_Centre_8" fontname="Helvetica" fontsize="8.0" leading="10" alignment="CENTER" spacebefore="0.0" spaceafter="0.0"/> <parastyle name="terp_header_Right" fontname="Helvetica-Bold" fontsize="15.0" leading="19" alignment="LEFT" spacebefore="12.0" spaceafter="6.0"/> <parastyle name="terp_header_Centre" fontname="Helvetica-Bold" fontsize="15.0" leading="15" alignment="CENTER" spacebefore="12.0" spaceafter="6.0"/> <parastyle name="terp_default_address" fontname="Helvetica" fontsize="10.0" leading="13" alignment="LEFT" spacebefore="0.0" spaceafter="0.0"/> <parastyle name="terp_default_9" fontname="Helvetica" fontsize="9.0" leading="11" alignment="LEFT" spacebefore="0.0" spaceafter="0.0"/> <parastyle name="terp_default_Bold_9" fontname="Helvetica-Bold" fontsize="9.0" leading="11" alignment="LEFT" spacebefore="0.0" spaceafter="0.0"/> <parastyle name="terp_default_Centre_9" fontname="Helvetica" fontsize="9.0" leading="11" alignment="CENTER" spacebefore="0.0" spaceafter="0.0"/> <parastyle name="terp_default_Right_9" fontname="Helvetica" fontsize="9.0" leading="11" alignment="RIGHT" spacebefore="0.0" spaceafter="0.0"/> <parastyle name="terp_default_9_italic" fontname="Helvetica-Oblique" fontsize="9.0" leading="11" alignment="LEFT" spacebefore="0.0" spaceafter="0.0"/> <parastyle name="terp_default_2" fontname="Helvetica" fontsize="2.0" leading="3" alignment="LEFT" spacebefore="0.0" spaceafter="0.0"/> <parastyle name="terp_default_Right_9_Bold" fontname="Helvetica-Bold" fontsize="9.0" leading="11" alignment="RIGHT" spacebefore="0.0" spaceafter="0.0"/> <parastyle name="Heading 3" fontname="Helvetica-Bold" fontsize="14.0" leading="17" spacebefore="12.0" spaceafter="6.0"/> <parastyle name="P12a" fontname="Helvetica-Bold" fontsize="8.0" leading="10" alignment="LEFT" spacebefore="0.0" spaceafter="0.0"/> <images/> </stylesheet> <story> <para style="P8"> </para> <blocktable colwidths="525.0" style="Table_Tilte_Table"> <para style="P15">Trial Balance </para> </blocktable> <para style="P11"> </para> <para style="P11"> </para> <blocktable colwidths="130.0,80.0,100.0,140.0,90.0" style="Table8"> <para style="terp_tblheader_General_Centre">Company[[ data['model']=='account.account' and ' ' or removeParentNode('para') ]]</para> <para style="terp_tblheader_General_Centre">Chart of Accounts[[ data['model']=='ir.ui.menu' and ' ' or removeParentNode('para') ]]</para> <para style="terp_tblheader_General_Centre">Fiscal Year</para> <para style="terp_tblheader_General_Centre">Display Account</para> <para style="terp_tblheader_General_Centre">Filter By [[ data['form']['filter']!='filter_no' and get_filter(data) ]] </para> <para style="terp_tblheader_General_Centre">Target Moves</para> <para style="terp_default_Centre_8">[[ get_account(data) or '' ]]</para> <para style="terp_default_Centre_8">[[ get_fiscalyear(data) or '' ]]</para> <para style="terp_default_Centre_7">All[[ data['form']['display_account']=='all' and ' ' or removeParentNode('para') ]]</para> <para style="terp_default_Centre_7">With movements[[ data['form']['display_account']=='movement' and ' ' or removeParentNode('para') ]]</para> <para style="terp_default_Centre_7">With balance is not equal to 0[[ data['form']['display_account']=='not_zero' and ' ' or removeParentNode('para') ]]</para> <para style="terp_default_Centre_8">[[ data['form']['filter']=='filter_no' and get_filter(data) or removeParentNode('para') ]] </para> <blocktable colwidths="60.0,60.0" style="Table5">[[ data['form']['filter']=='filter_date' or removeParentNode('blockTable') ]] <para style="terp_tblheader_General_Centre">Start Date</para> <para style="terp_tblheader_General_Centre">End Date</para> <para style="terp_default_Centre_8">[[ formatLang(get_start_date(data),date=True) ]]</para> <para style="terp_default_Centre_8">[[ formatLang(get_end_date(data),date=True) ]]</para> </blocktable> <blocktable colwidths="60.0,60.0" style="Table5">[[ data['form']['filter']=='filter_period' or removeParentNode('blockTable') ]] <para style="terp_tblheader_General_Centre">Start Period</para> <para style="terp_tblheader_General_Centre">End Period</para> <para style="terp_default_Centre_8">[[ get_start_period(data) or removeParentNode('para') ]]</para> <para style="terp_default_Centre_8">[[ get_end_period(data) or removeParentNode('para') ]]</para> </blocktable> <para style="terp_default_Centre_8">[[ get_target_move(data) ]]</para> </blocktable> <para style="P11"> </para> <para style="P11"> </para> <blocktable colwidths="35,190.0,100.0,100.0,100.0" style="Table8" repeatrows="1"> <para style="terp_tblheader_General_Centre">Compte</para> <para style="terp_tblheader_General_Centre">Libelle</para> <para style="terp_tblheader_General_Centre">Report</para> <blocktable colwidths="50.0,50.0" style="Table5"> <para style="terp_tblheader_General_Centre">Debit</para> <para style="terp_tblheader_General_Centre">Credit</para> </blocktable> <para style="terp_tblheader_General_Centre">Mouvement</para> <blocktable colwidths="50.0,50.0" style="Table5"> <para style="terp_tblheader_General_Centre">Debit</para> <para style="terp_tblheader_General_Centre">Credit</para> </blocktable> <para style="terp_tblheader_General_Centre">Soldes Courants</para> <blocktable colwidths="50.0,50.0" style="Table5"> <para style="terp_tblheader_General_Centre">Debit</para> <para style="terp_tblheader_General_Centre">Credit</para> </blocktable> <para style="P14">[[ repeatIn(lines(data['form']), 'a') ]][[ (a['type']<>'view' and setTag('para','para',{'fontName':"Helvetica"})) or removeParentNode('font') ]][[ a['code'] or removeParentNode('tr') ]]</para> <para style="P14">[[ (a['type']<>'view' and setTag('para','para',{'fontName':"Helvetica"})) or removeParentNode('font') ]][[ '..'*(a['level']-1) ]][[ a['name'] ]] </para>

<blocktable colwidths="50.0,50.0" style="Table5">

<para style="P3">[[ (a['type']<>'view' and setTag('para','para',{'fontName':"Helvetica"})) or removeParentNode('font') ]][[ a['type']=='view' and removeParentNode('font') ]][[ formatLang(a['debit']) ]][[ a['type']<>'view' and removeParentNode('font') ]] [[formatLang(a['debit']) ]]</para> <para style="P3">[[ (a['type']<>'view' and setTag('para','para',{'fontName':"Helvetica"})) or removeParentNode('font')]][[ a['type']=='view' and removeParentNode('font') ]][[ formatLang(a['credit']) ]][[ a['type']<>'view' and removeParentNode('font') ]] [[ formatLang(a['credit']) ]] </para> </blocktable> <blocktable colwidths="50.0,50.0" style="Table5">

<para style="P3">[[ (a['type']<>'view' and setTag('para','para',{'fontName':"Helvetica"})) or removeParentNode('font') ]][[ a['type']=='view' and removeParentNode('font') ]][[ formatLang(a['debit']) ]][[ a['type']<>'view' and removeParentNode('font') ]] [[formatLang(a['debit']) ]]</para> <para style="P3">[[ (a['type']<>'view' and setTag('para','para',{'fontName':"Helvetica"})) or removeParentNode('font')]][[ a['type']=='view' and removeParentNode('font') ]][[ formatLang(a['credit']) ]][[ a['type']<>'view' and removeParentNode('font') ]] [[ formatLang(a['credit']) ]] </para> </blocktable> <blocktable colwidths="50.0,50.0" style="Table5">

<para style="P3">[[ (a['type']<>'view' and setTag('para','para',{'fontName':"Helvetica"})) or removeParentNode('font') ]][[ a['type']=='view' and removeParentNode('font') ]][[ formatLang(a['debit']) ]][[ a['type']<>'view' and removeParentNode('font') ]] [[formatLang(a['debit']) ]]</para> <para style="P3">[[ (a['type']<>'view' and setTag('para','para',{'fontName':"Helvetica"})) or removeParentNode('font')]][[ a['type']=='view' and removeParentNode('font') ]][[ formatLang(a['credit']) ]][[ a['type']<>'view' and removeParentNode('font') ]] [[ formatLang(a['credit']) ]] </para> </blocktable>

</blocktable> <para style="P11"> </para> </story> </document>

Copier le fichier et voyer ce que ca donne. Vous remarquerez que nous avons pour l'instant les memes valeurs pour le report, le mouvements et le solde. Aidez moi à résoudre le problème

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 2/28/14, 5:49 AM
Seen: 1346 times
Last updated: 3/16/15, 8:10 AM