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

Unable to print Arabic in Qweb-PDF template

Abonare

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

Această întrebare a fost marcată
qwebtranslationsqweb-reportQweb-htmlqweb-pdf
2 Răspunsuri
4118 Vizualizări
Imagine profil
Ramish

I am having problem converting hardcoded arabic to be printed in Qweb-PDF. It’s working fine in Html but when i print it in pdf arabic is encoded. Any idea why?


like:

Buyer الÙ...Ø ́Øaري

Here: Ø§Ù„Ù...Ø ́Øaري was arabic for buyer which was enforce encoded in pdf but was okay in Qweb-html


code:

Buyer

المشتري



P.s: i am not having this issue in header or footer just in body.

0
Imagine profil
Abandonează
Imagine profil
Ramish
Autor Cel mai bun răspuns

This is how my layout works: it works fine for the header but don't work inside page div. I have tried removing page div too...

<t t-call="web.html_container">
<t t-foreach="docs" t-as="o">
<t t-if="not o" t-set="o" t-value="doc"/>

<t t-if="not company">

<t t-if="company_id">
<t t-set="company" t-value="company_id"/>
t>
<t t-elif="o and 'company_id' in o and o.company_id.sudo()">
<t t-set="company" t-value="o.company_id.sudo()"/>
t>
<t t-else="else">
<t t-set="company" t-value="res_company"/>
t>
t>
<div t-attf-class="header o_company_#{company.id}_layout" t-att-style="report_header_style">
<div class="row">
<div class="col-auto col-3 mw-100 mb-2">
<img t-if="company.logo" t-att-src="image_data_uri(company.logo)" style="max-height: 45px;" alt="Logo"/>
<div class="col-9 text-end" style="margin-top:22px;" t-field="company.report_header" name="moto"/>
div>

<div class="col-auto col-3 mw-100 mb-2" >
<div style="border-bottom-style: dotted; font-size: small;">
<strong>Invoice Reference Number:strong>
<span t-field="o.name"/>
<strong>رقم الفاتورةstrong>
div>
<div style="border-bottom-style: dotted; font-size: small;">
<strong>Supply Date:strong>
<span t-field="o.create_date"/>
<strong>اإلصدار تاريخstrong>
div>
div>

 

<div class="page">
<div class="oe_structure"/>

<div style="text-align: center;">
<span><strong>TAX INVOICE / فاتورة الضريبةstrong>span>
div>

0
Imagine profil
Abandonează
Imagine profil
Niyas Raphy (Walnut Software Solutions)
Cel mai bun răspuns

Hi,
Move the content inside the web.html_container and see if it makes any difference



Thanks

0
Imagine profil
Abandonează
Niyas Raphy (Walnut Software Solutions)

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

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 can I use the full width of a page layout (without margins) in a QWEB report?
qweb qweb template view qweb-report Qweb-html qweb-pdf
Imagine profil
Imagine profil
1
iun. 24
3103
New image won't display in report
qweb qweb-report Qweb-html
Imagine profil
Imagine profil
1
nov. 21
6952
how to tidy up the appearance of the qweb report
qweb qweb-report qweb-css Qweb-html
Imagine profil
0
iun. 21
3651
Report translation issue.
qweb translations issues odooV8 qweb-report
Imagine profil
0
mar. 15
3744
[SOLVED]How to remove currency symbol from Monetary field qweb report ?
qweb qweb-report
Imagine profil
Imagine profil
Imagine profil
Imagine profil
7
oct. 25
29435
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