Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • E-learning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Sociale media-marketing
    • E-mailmarketing
    • Sms-marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Artificiële Intelligentie
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelwinkel
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Horeca & Hospitality
    • Bar en café
    • Restaurant
    • Fastfood
    • Gastenverblijf
    • Drankenhandelaar
    • Hotel
    Vastgoed
    • Makelaarskantoor
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van mede-eigenaren
    Consulting
    • Accountantskantoor
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textiel
    • Metaal
    • Meubels
    • Eten
    • Brouwerij
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Diensten
    • Klusjesman
    • IT-hardware & ondersteuning
    • Zonne-energiesystemen
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC-diensten
    Andere
    • Non-profitorganisatie
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Alle bedrijfstakken bekijken
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijsprogramma
    • Scale Up! Business Game
    • Odoo bezoeken
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Partner worden
    • Diensten voor partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

default border remove from the table(GRN),

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
qwebreportodoo18
3 Antwoorden
1048 Weergaven
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
Annuleer
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
Beste antwoord

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
Annuleer
Avatar
Kalana Piyumantha
Auteur Beste antwoord

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
Annuleer
Avatar
Zehntech Technologies Inc.
Beste antwoord

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
Annuleer
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Gerelateerde posts Antwoorden Weergaven Activiteit
Overwrite or change standard report print name in odoo 18
report odoo18
Avatar
Avatar
1
apr. 25
4330
odoo 16 report target new page scss
qweb report
Avatar
Avatar
1
apr. 25
4050
Missing external identifier on new external layout template Opgelost
qweb report
Avatar
Avatar
2
mrt. 25
4821
Translate month name in t-esc Qweb report Opgelost
qweb report
Avatar
Avatar
Avatar
Avatar
Avatar
4
nov. 24
10026
QWeb Report Shows Different When Edit And Print Review Opgelost
qweb report
Avatar
Avatar
1
mrt. 24
4628
Community
  • Tutorials
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Partner worden
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة 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 is een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

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