Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • e-learning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Conocimientos
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Cervecería
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y soporte técnico
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Explorar todos los sectores
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Servicios para partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyecto
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

pdf format problem

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
pdf
1623 Vistas
Avatar
Kareem

i design my pdf and when i add it in templet the format is different 

  • first that my design using normal html 


    • the problem when i use qweb template 
      • first qweb-html
        • bg-color not the same also the table not have bg-color also the row behave differently 
        • i can't even print this page 
        • second  qweb-pdf

          • not formatted also 
        • i searched and i found to add report.url = localhost:portName and did't work 
        • aslo i expected the css file the same class but it's different 
        • bootstrap --> 


          • odoo qweb


            • how i handle format if i did't using bootstrap i still have formatted issue 

qweb-pdf --> it's the same as normal html 

<template id="report_purchase_report">
<t t-foreach="docs" t-as="property">
<t t-call="web.html_container">
<t t-call="web.external_layout">
<div class="page" style="width: 21cm; min-height: 29.7cm;font-size: 14px;">
<style>
table {
font-size: 14px;
}
</style>
<section>
<div class="d-flex justify-content-center mb-3">
<div class="card w-50 shadow">
<div class="card-header text-bg-secondary text-center fw-bold">
Purchase Order
<br/>
(P.O.)
</div>
<div class="card-body d-flex justify-content-around align-items-center">
<div class="fw-bold">PO No.:</div>
<div class="flex-fill text-start">23000874</div>
<div class="fw-bold">Issue Date:</div>
<div class="flex-fill">18-oct-23</div>
</div>
</div>
</div>
</section>
<section>
<div class="card mb-3 shadow">
<div class="card-header text-bg-secondary text-start fw-bold">
Purchase Information
</div>
<div class="card-body">
<table>
<tbody>
<tr>
<td style="width: 3.1cm">Name:</td>
<td class="fw-bold">KCML (Karbala Cement Manufacturing Limited )</td>
</tr>
<tr>
<td>Contact Person:</td>
<td>Mohamed Ali Hamoud Obaiedan Al-tmimi</td>
</tr>
<tr>
<td>Address:</td>
<td class="fw-bold">Karbala Cement Plant , Al-Haj Haighway</td>
</tr>
<tr>
<td>Email:</td>
<td></td>
</tr>
</tbody>
</table>
</div>
</div>
</section>
<section>
<div class="card mb-3 shadow">
<div class="card-header text-bg-secondary text-start fw-bold">
Supplier Information
</div>
<div class="card-body d-flex">
<table>
<tbody>
<tr>
<td style="width: 3.1cm">Suppler Name:</td>
<td class="text-uppercase">naffco fzco</td>
</tr>

<tr>
<td>Contact Person:</td>
<td></td>
</tr>

<tr>
<td>Address:</td>
<td>P.O box 262169, Dubai Unted Arab Emirate</td>
</tr>

<tr>
<td>Phone #:</td>
<td></td>
</tr>

<tr>
<td>Email:</td>
<td></td>
</tr>
</tbody>
</table>
</div>
</div>
</section>
<section>
<div class="d-flex justify-content-between mb-3">
<div class="card shadow" style="width: 48%">
<div class="card-header text-bg-secondary fw-bold">
Requester Department
</div>
<div class="card-body text-center"></div>
</div>
<div class="card shadow" style="width: 48%">
<div class="card-header text-bg-secondary fw-bold">
Final Approver
</div>
<div class="card-body text-center">Vasilerim Karalia</div>
</div>
</div>
</section>
<section>
<p class="border border-3 rounded-4 border-secondary p-2 mb-3 shadow">
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad
minim veniam, quis nostrud exercitation ullamco laboris nisi ut
aliquip
</p>
</section>
<section>
<table
class="table shadow align-middle table-bordered table-sm text-center"
style="vertical-align:middle"
>
<thead class="table-secondary">
<tr>
<th>No.</th>
<th>Item Code</th>
<th>Item Description</th>
<th style="width: 1cm">QTY</th>
<th style="width: 1.5cm">UOM</th>
<th style="width: 2.7cm">Delivery Date</th>
<th style="width: 2.1cm">ETA Date</th>
<th style="width: 2cm">Unit Cost</th>
<th style="width: 2.1cm">Total Cost</th>
</tr>
</thead>
<tbody>
<tr>
<th>1</th>
<td>04090100225</td>
<td>
Replacement Of reel 60MTR for firefighting man truck type: TGS
33.360
</td>
<td>10000</td>
<td>EA</td>
<td>31-Aug-23</td>
<td>31-Aug-23</td>
<td>5,000.00</td>
<td>5,000.00</td>
</tr>
<tr>
<th>1</th>
<td>04090100225</td>
<td>
Replacement Of Double pole rocker switch body OFF/ON Momentary
for firefighting man truck type: Tgs 33.360
</td>
<td>1</td>
<td>EA</td>
<td>31-Aug-23</td>
<td></td>
<td>5,000.00</td>
<td>5,000.00</td>
</tr>
<tr>
<th>1</th>
<td>04090100225</td>
<td>
Replacement Of Double pole rocker switch body OFF/ON Momentary
for firefighting man truck type: Tgs 33.360
</td>
<td>1</td>
<td>EA</td>
<td>31-Aug-23</td>
<td></td>
<td>5,000.00</td>
<td>5,000.00</td>
</tr>
<tr>
<th>1</th>
<td>04090100225</td>
<td>
Replacement Of Double pole rocker switch body OFF/ON Momentary
for firefighting man truck type: Tgs 33.360
</td>
<td>1</td>
<td>EA</td>
<td>31-Aug-23</td>
<td></td>
<td>5,000.00</td>
<td>5,000.00</td>
</tr>
</tbody>
<tfoot class="table-secondary">
<tr>
<th class="text-end" colspan="8">Total (USD)</th>
<td>15,055.00</td>
</tr>
</tfoot>
</table>
</section>
<section>
<div class="card mb-3 shadow" style="page-break-before: always;">
<div class="card-header text-bg-secondary text-start fw-bold">
Terms And Conditions
</div>
<div class="card-body">
<table>
<tr>
<td style="width: 4.4cm;">Payment Terms:</td>
<td>100% advance payment</td>
</tr>
<tr>
<td>Delivery Terms:</td>
<td></td>
</tr>
<tr>
<td>Delivery Place:</td>
<td>KCML</td>
</tr>
<tr>
<td>Delivery Duration:</td>
<td>3 three mostla from order confirmation and payment</td>
</tr>
<tr>
<td>Penalty:</td>
<td>
A Delay Penalty of 0.1% from the Po total amount will be applied per
each delay Day/Not Over
than 10%
</td>
</tr>
<tr>
<td>Warranty:</td>
<td></td>
</tr>
<tr>
<td>Conditions:</td>
<td>FE# 20230000824</td>
</tr>
<tr>
<td>Notes and Comments:</td>
<td>Notes and Comments</td>
</tr>
</table>
</div>
</div>

</section>
<section>
<div class="d-flex justify-content-between mb-3">
<div class="card shadow" style="width: 48%">
<div class="card-header fw-bold">
Procurement Representative Signature
</div>
<div class="card-body text-center p-5"></div>
</div>
<div class="card shadow" style="width: 48%">
<div class="card-header fw-bold">
Supplier Representative Signature
</div>
<div class="card-body text-center"></div>
</div>
</div>
</section>
<section>
<div style="font-size: 18px">
<p class="text-uppercase fw-bold">
Purchasing Terms And Conditions
</p>
<p class="fw-bolder">
Application Of Conditions
</p>
</div>
</section>
</div>

</t>
</t>
</t>
</template>

normal html using bootstrap 

<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.5/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-SgOJa3DmI69IUzQ2PVdRZhwQ+dy64/BUtbMJw1MZ8t5HZApcHrRKUc4W0kG879m7"
crossorigin="anonymous"
/>

<title>Purchase</title>
</head>
<body>
<div class="page" style="width: 21cm; min-height: 29.7cm;font-size: 14px;">
<style>
table {
font-size: 14px;
}
</style>
<section>
<div class="d-flex justify-content-center mb-3">
<div class="card w-50 shadow">
<div class="card-header text-bg-secondary text-center fw-bold">
Purchase Order
<br/>
(P.O.)
</div>
<div class="card-body d-flex justify-content-around align-items-center">
<div class="fw-bold">PO No.:</div>
<div class="flex-fill text-start">23000874</div>
<div class="fw-bold">Issue Date:</div>
<div class="flex-fill">18-oct-23</div>
</div>
</div>
</div>
</section>
<section>
<div class="card mb-3 shadow">
<div class="card-header text-bg-secondary text-start fw-bold">
Purchase Information
</div>
<div class="card-body">
<table>
<tbody>
<tr>
<td style="width: 3.1cm">Name:</td>
<td class="fw-bold">KCML (Karbala Cement Manufacturing Limited )</td>
</tr>
<tr>
<td>Contact Person:</td>
<td>Mohamed Ali Hamoud Obaiedan Al-tmimi</td>
</tr>
<tr>
<td>Address:</td>
<td class="fw-bold">Karbala Cement Plant , Al-Haj Haighway</td>
</tr>
<tr>
<td>Email:</td>
<td></td>
</tr>
</tbody>
</table>
</div>
</div>
</section>
<section>
<div class="card mb-3 shadow">
<div class="card-header text-bg-secondary text-start fw-bold">
Supplier Information
</div>
<div class="card-body d-flex">
<table>
<tbody>
<tr>
<td style="width: 3.1cm">Suppler Name:</td>
<td class="text-uppercase">naffco fzco</td>
</tr>

<tr>
<td>Contact Person:</td>
<td></td>
</tr>

<tr>
<td>Address:</td>
<td>P.O box 262169, Dubai Unted Arab Emirate</td>
</tr>

<tr>
<td>Phone #:</td>
<td></td>
</tr>

<tr>
<td>Email:</td>
<td></td>
</tr>
</tbody>
</table>
</div>
</div>
</section>
<section>
<div class="d-flex justify-content-between mb-3">
<div class="card shadow" style="width: 48%">
<div class="card-header text-bg-secondary fw-bold">
Requester Department
</div>
<div class="card-body text-center"></div>
</div>
<div class="card shadow" style="width: 48%">
<div class="card-header text-bg-secondary fw-bold">
Final Approver
</div>
<div class="card-body text-center">Vasilerim Karalia</div>
</div>
</div>
</section>
<section>
<p class="border border-3 rounded-4 border-secondary p-2 mb-3 shadow">
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad
minim veniam, quis nostrud exercitation ullamco laboris nisi ut
aliquip
</p>
</section>
<section>
<table
class="table shadow align-middle table-bordered table-sm text-center text-"
style="font-size: 14px"
>
<thead class="table-secondary">
<tr>
<th>No.</th>
<th>Item Code</th>
<th>Item Description</th>
<th style="width: 1cm">QTY</th>
<th style="width: 1.5cm">UOM</th>
<th style="width: 2.7cm">Delivery Date</th>
<th style="width: 2.1cm">ETA Date</th>
<th style="width: 2cm">Unit Cost</th>
<th style="width: 2.1cm">Total Cost</th>
</tr>
</thead>
<tbody>
<tr>
<th>1</th>
<td>04090100225</td>
<td>
Replacement Of reel 60MTR for firefighting man truck type: TGS
33.360
</td>
<td>10000</td>
<td>EA</td>
<td>31-Aug-23</td>
<td>31-Aug-23</td>
<td>5,000.00</td>
<td>5,000.00</td>
</tr>
<tr>
<th>1</th>
<td>04090100225</td>
<td>
Replacement Of Double pole rocker switch body OFF/ON Momentary
for firefighting man truck type: Tgs 33.360
</td>
<td>1</td>
<td>EA</td>
<td>31-Aug-23</td>
<td></td>
<td>5,000.00</td>
<td>5,000.00</td>
</tr>
<tr>
<th>1</th>
<td>04090100225</td>
<td>
Replacement Of Double pole rocker switch body OFF/ON Momentary
for firefighting man truck type: Tgs 33.360
</td>
<td>1</td>
<td>EA</td>
<td>31-Aug-23</td>
<td></td>
<td>5,000.00</td>
<td>5,000.00</td>
</tr>
<tr>
<th>1</th>
<td>04090100225</td>
<td>
Replacement Of Double pole rocker switch body OFF/ON Momentary
for firefighting man truck type: Tgs 33.360
</td>
<td>1</td>
<td>EA</td>
<td>31-Aug-23</td>
<td></td>
<td>5,000.00</td>
<td>5,000.00</td>
</tr>
</tbody>
<tfoot class="table-secondary">
<tr>
<th class="text-end" colspan="8">Total (USD)</th>
<td>15,055.00</td>
</tr>
</tfoot>
</table>
</section>
<section>
<div class="card mb-3 shadow" style="page-break-before: always;">
<div class="card-header text-bg-secondary text-start fw-bold">
Terms And Conditions
</div>
<div class="card-body">
<table>
<thead>
<tr>
<td style="width: 4.4cm;">Payment Terms:</td>
<td>100% advance payment</td>
</tr>
<tr>
<td>Delivery Terms:</td>
<td></td>
</tr>
<tr>
<td>Delivery Place:</td>
<td>KCML</td>
</tr>
<tr>
<td>Delivery Duration:</td>
<td>3 three mostla from order confirmation and payment</td>
</tr>
<tr>
<td>Penalty:</td>
<td>
A Delay Penalty of 0.1% from the Po total amount will be applied per each delay Day/Not Over
than 10%
</td>
</tr>
<tr>
<td>Warranty:</td>
<td></td>
</tr>
<tr>
<td>Conditions:</td>
<td>FE# 20230000824</td>
</tr>
<tr>
<td>Notes and Comments:</td>
<td>Notes and Comments</td>
</tr>
</table>

</div>
</div>

</section>
<section>
<div class="d-flex justify-content-between mb-3">
<div class="card shadow" style="width: 48%">
<div class="card-header fw-bold">
Procurement Representative Signature
</div>
<div class="card-body text-center p-5"></div>
</div>
<div class="card shadow" style="width: 48%">
<div class="card-header fw-bold">
Supplier Representative Signature
</div>
<div class="card-body text-center"></div>
</div>
</div>
</section>
<section>
<div style="font-size: 18px">
<p class="text-uppercase fw-bold">
Purchasing Terms And Conditions
</p>
<p class="fw-bolder">
Application Of Conditions
</p>
</div>
</section>
</div>


</body>
</html>
0
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
Quote Builder With Custom Rental Report (Studio)
pdf
Avatar
0
oct 25
651
Quote Builder With Custom Rental Report (Studio)
pdf
Avatar
0
oct 25
4
How to edit the header of the quote template Resuelto
pdf
Avatar
Avatar
Avatar
2
ago 25
1542
Customize Report problem Resuelto
pdf
Avatar
Avatar
Avatar
3
ago 25
1835
How to Edit Out the Blank Space in the Quote/Order Confirmation PDFs? Resuelto
pdf
Avatar
Avatar
Avatar
Avatar
3
ago 25
2932
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y totalmente integrado.

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