Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

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

Subscribe

Get notified when there's activity on this post

This question has been flagged
balancereportaccount_balancegénéral
5467 Views
Avatar
Bienfait

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

0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
How make changes in balance sheet report in openerp 7.0 ?
report account_balance
Avatar
Avatar
1
Mar 15
6352
How to select journal to record initial account balance
balance account_balance initial
Avatar
0
Jan 21
3502
Order of lines on balance sheet report
balance report sheet
Avatar
0
Jul 15
4671
How to alter the Trial Balance report? (account_balance.rml changes are not honored)?
account report account_balance 6.1
Avatar
Avatar
Avatar
2
Mar 15
10767
How To Remove Zero Balances in OpenERP Reports
balance report zero financial
Avatar
0
Mar 15
5427
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now