Ir al contenido
Odoo Menú
  • Iniciar sesión
  • 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
    • Inteligencia artificial
    • IoT
    • VoIP
    • Información
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Sectores
    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
    • Asesoría 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 corporativos
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Oficios
    • Servicios de mantenimiento
    • 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 vallas publicitarias
    • 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 asesoría 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
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Sobre este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Sobre este foro
Ayuda

default border remove from the table(GRN),

Suscribirse

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

Esta pregunta ha sido marcada
qwebreportodoo18
3 Respuestas
1047 Vistas
Avatar
Kalana Piyumantha

i want to remove this table border , i tried css, bootstrap methods but anything not succeed. I used web.external layout,  think layout thing is affect to this atribute from somewhere i want to replace this solid line with dashed line, Can Someone help me,

<table class="table table-borderless stock-move-table">
<thead>
<tr>
<th name="th_sm_product">
<strong>Product</strong>
</th>
<th name="th_ordered" class="text-end">
<strong>Ordered</strong>
</th>
<th name="th_delivered" class="text-end">
<strong>Delivered</strong>
</th>
</tr>
</thead>
<tbody>
<t t-set="lines" t-value="o.move_line_ids_without_package"/>

<tr t-foreach="lines" t-as="move" style="color:black;">
<td>
<span t-field="move.product_id"/>
</td>
<td class="text-end">
<span t-field="move.move_id.product_uom_qty"/>
<span t-field="move.move_id.product_uom"/>
</td>
<td class="text-end">
<span t-field="move.quantity"/>
<span t-field="move.move_id.product_uom"/>
</td>
</tr>
</tbody>
</table>,.delivery-receipt-table { border: none !important; width: 100% !important;}.delivery-receipt-table thead tr{ border:none !important; border-left: none !important; border-right: none !important;}.delivery-receipt-table thead th { border-left: none !important; border-right: none !important; border-top: 1px dashed !important; border-bottom: 1px dashed !important;}.delivery-receipt-table tbody tr td { border: none !important; border-top: none !important; border-bottom: 1px dashed black !important;}
0
Avatar
Descartar
Codesphere Tech

You need to add in <tbody> which cover whole stock move line.
<tbody style="border:dashed !important; border-left:0 !important;border-right:0 !important;"/>

Avatar
Codesphere Tech
Mejor respuesta

Hello,
This is the root cause of why you’re not able to override the bottom border:
.o_table_standard table:not(.o_ignore_layout_styling) thead {border-bottom: 1px solid #111827;}

Please Update as below:
<thead style="border-bottom: 0 !important;"/>
Hope this helps
Thanks

2
Avatar
Descartar
Avatar
Kalana Piyumantha
Autor Mejor respuesta

Thank you ! It is worked, Now I want to help to this table too, i wanted out put is like this image, table borders(dashed borders with no borders in left and right)current output is second image

<table class=" delivery-receipt-table" name="stock_move_table"><!--                        table table-sm table-borderless-->                        <thead>                            <tr>                                <th name="th_sm_product">                                    <strong>Product</strong>                                </th>                                <th name="th_quantity" class="text-left">                                    <strong>Qty</strong>                                </th>                                <th name="th_price" class="text-left">                                    <strong>Price</strong>                                </th>                                <th name="th_amount" class="text-left">                                    <strong>Amount</strong>                                </th>                                <th name="th_refno" class="text-left">                                    <strong>Ref.No</strong>                                </th>                                <th name="th_unit" class="text-left">                                    <strong>Unit</strong>                                </th>                            </tr>                        </thead>                        <tbody>                            <t t-set="lines" t-value="o.move_line_ids_without_package"/>                            <t t-set="tot" t-value="0.00"/>                            <t t-set="tot_weight" t-value="0.00"/>                            <tr t-foreach="lines" t-as="move" style="color:black;">                                <td>                                    <span t-field="move.product_id"/>                                </td>                                <td class="text-left">                                    <span t-field="move.quantity"/>                                </td>                                <td class="text-left">                                    <!-- Call the method to get unit cost -->                                    <span t-esc="move._get_unit_cost()"                                          t-options='{"widget": "monetary", "display_currency": o.currency_id}'/>                                </td>                                <td class="text-left">                                    <!-- Calculate line amount using the method -->                                    <t t-set="unit_cost" t-value="move._get_unit_cost()"/>                                    <t t-set="line_amount" t-value="unit_cost * move.quantity"/>                                    <span t-esc="line_amount"                                          t-options='{"widget": "monetary", "display_currency": o.currency_id}'/>                                    <t t-set="tot" t-value="tot + line_amount"/>                                </td>                                <td class="text-left">                                    <span t-field="move.lot_id"/>                                </td>                                <td class="text-left"                                    style="background-color: #FFF;">                                    <span t-field="move.product_uom_id"/>                                </td>                                <t t-set="tot_weight" t-value="tot_weight + (move.product_id.weight * move.quantity)"/>                            </tr>                        </tbody>                    </table>,
=============================================================
Styles
.delivery-receipt-table { border: none !important; width: 100% !important;}.delivery-receipt-table thead tr{ border:none !important; border-left: none !important; border-right: none !important;}.delivery-receipt-table thead th { border-left: none !important; border-right: none !important; border-top: 1px dashed !important; border-bottom: 1px dashed !important;}.delivery-receipt-table tbody tr td { border: none !important; border-top: none !important; border-bottom: 1px dashed black !important;}.delivery-receipt-table tbody tr:last-child td { border-bottom: 1px dashed black !important;}
0
Avatar
Descartar
Avatar
Zehntech Technologies Inc.
Mejor respuesta

Hello,

Yes, you’re on the right track — this behavior usually comes from the default styles applied by web.external_layout, which can override your custom CSS.

To fix this, you need to ensure:

  • Your CSS selector is more specific than Odoo’s default

  • Or apply styles inline / with stronger priority

For example, try updating your table like this:

<table class="table stock-move-table" style="border: none !important; border-collapse: collapse;">

What is this?

And adjust CSS with higher specificity:

.stock-move-table,

.stock-move-table th,

.stock-move-table td {

border: none !important;

}


.stock-move-table thead th {

border-top: 1px dashed black !important;

border-bottom: 1px dashed black !important;

}


.stock-move-table tbody td {

border-bottom: 1px dashed black !important;

}

If it still doesn’t work, check if any parent template (like web.external_layout) is injecting styles — in that case, inheriting and overriding that template may be required.

Hope this works for you! Feel free to reach out for further discussion.

Regards,

Zehntech Technologies Inc.

santosh.sekwadia@zehntech.com

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
Overwrite or change standard report print name in odoo 18
report odoo18
Avatar
Avatar
1
abr 25
4330
odoo 16 report target new page scss
qweb report
Avatar
Avatar
1
abr 25
4050
Missing external identifier on new external layout template Resuelto
qweb report
Avatar
Avatar
2
mar 25
4821
Translate month name in t-esc Qweb report Resuelto
qweb report
Avatar
Avatar
Avatar
Avatar
Avatar
4
nov 24
10026
QWeb Report Shows Different When Edit And Print Review Resuelto
qweb report
Avatar
Avatar
1
mar 24
4628
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 Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo es un conjunto de aplicaciones empresariales de código abierto que cubre 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 estar 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