Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    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 Managament
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Producție
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and 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
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

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

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

[Odoo11] PaperFormat: A5

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
paperformat
3 Răspunsuri
8979 Vizualizări
Imagine profil
Deepa Venkatesh

I have designed a Report using A5 paperformat. However the resultant isn't the way it is supposed to be.

Especially  when  I print in on the paper, the data printed on it more or less covers 3/4th of A4 sheet. which is not right.

What am I missing.


[EDIT]

Paper Format

<record id="paperformat_short" model="report.paperformat">    
<field name="name">Short (Half-A4)</field>
<field name="default" eval="False" />
<field name="format">A5</field>
<field name="orientation">Portrait</field>
<field name="margin_top">7</field>
<field name="margin_bottom">7</field>
<field name="margin_left">7</field>
<field name="margin_right">7</field>
<field name="header_line" eval="False" />
<field name="header_spacing">0</field>
<field name="dpi">90</field></record>

Report Action

<report id="action_report_payment_receipt_short"        
model="account.payment"
string="Payment Receipt"
report_type="qweb-pdf"
name="MODULE_NAME.report_payment_receipt_short"
file="xfactory_reports.report_payment_receipt_short" 
paperformat="MODULE_NAME.paperformat_short" />
0
Imagine profil
Abandonează
Yenthe Van Ginneken (Mainframe Monkey)

Please share the code, now we simply have to guess as there is nothing to look at.

Deepa Venkatesh
Autor

@Yenthe, I have added the Code, Please have a look at it. I have also selected the printer option as "A5" before giving the print, but no luck.

Imagine profil
Eman Abdulmalik
Cel mai bun răspuns

     Create a paper format:


  <record id="sheet_a5" model="report.paperformat">

<field name="name">A5 Format</field>

            <field name="default" eval="True"/>

            <field name="format">custom</field>

            <field name="page_height">210</field>

            <field name="page_width">148</field>

            <field name="orientation">Portrait</field>

            <field name="margin_top">3</field>

            <field name="margin_bottom">3</field>

            <field name="margin_left">3</field>

            <field name="margin_right">3</field>

            <field name="header_line" eval="False" />

            <field name="header_spacing">3</field>

            <field name="dpi">130</field>

</record>

Create a Report

 <report

            string="a5 Report"

            id="action_poc_sheet_a5"

            model="your.model"

            report_type="qweb-pdf"

            name="your_module.template_name"

            file="your_module.template_name"

        />

Edit the paperformat_id:

        <record id="action_poc_sheet_a5" model="ir.actions.report.xml">

            <field name="paperformat_id" ref="your_module.sheet_a5"/>

        </record>

0
Imagine profil
Abandonează
Enjoying the discussion? Don't just read, join in!

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

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
How to set default paper format from xml?
paperformat
Imagine profil
Imagine profil
1
feb. 24
2751
How to Add Custom Paper Format ? Rezolvat
paperformat odoo16features
Imagine profil
Imagine profil
Imagine profil
2
oct. 23
7562
How to change printing paper format in openerp 7? Rezolvat
opnerp7 paperformat
Imagine profil
Imagine profil
Imagine profil
2
apr. 15
5821
How To Change QWEB Footer Height ( Bottom-Margin ) In Specific Page ( Last Page )
qweb wkhtmltopdf paperformat
Imagine profil
Imagine profil
1
aug. 25
1343
Paper format for paper roll (dynamic height depending on its content)
printer odoo paperformat
Imagine profil
Imagine profil
1
sept. 23
8118
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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