Skip ke Konten
Odoo Menu
  • Login
  • Uji coba gratis
  • Aplikasi
    Keuangan
    • Akuntansi
    • Faktur
    • Pengeluaran
    • Spreadsheet (BI)
    • Dokumen
    • Tanda Tangan
    Sales
    • CRM
    • Sales
    • POS Toko
    • POS Restoran
    • Langganan
    • Rental
    Website
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventaris
    • Manufaktur
    • PLM
    • Purchase
    • Maintenance
    • Kualitas
    Sumber Daya Manusia
    • Karyawan
    • Rekrutmen
    • Cuti
    • Appraisal
    • Referensi
    • Armada
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Acara
    • Otomatisasi Marketing
    • Survei
    Layanan
    • Project
    • Timesheet
    • Layanan Lapangan
    • Meja Bantuan
    • Planning
    • Appointment
    Produktivitas
    • Discuss
    • Kecerdasan Buatan
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • Industri
    Retail
    • Toko Buku
    • Toko Baju
    • Toko Furnitur
    • Toko Kelontong
    • Toko Hardware
    • Toko Mainan
    Makanan & Hospitality
    • Bar dan Pub
    • Restoran
    • Fast Food
    • Rumah Tamu
    • Distributor Minuman
    • Hotel
    Real Estate
    • Agensi Real Estate
    • Firma Arsitektur
    • Konstruksi
    • Manajemen Properti
    • Perkebunan
    • Asosiasi Pemilik Properti
    Konsultansi
    • Firma Akuntansi
    • Mitra Odoo
    • Agensi Marketing
    • Firma huku
    • Talent Acquisition
    • Audit & Sertifikasi
    Manufaktur
    • Tekstil
    • Logam
    • Perabotan
    • Makanan
    • Brewery
    • Corporate Gift
    Kesehatan & Fitness
    • Sports Club
    • Toko Kacamata
    • Fitness Center
    • Wellness Practitioners
    • Farmasi
    • Salon Rambut
    Perdagangan
    • Handyman
    • IT Hardware & Support
    • Sistem-Sistem Energi Surya
    • Pembuat Sepatu
    • Cleaning Service
    • Layanan HVAC
    Lainnya
    • Organisasi Nirlaba
    • Agen Lingkungan
    • Rental Billboard
    • Fotografi
    • Penyewaan Sepeda
    • Reseller Software
    Browse semua Industri
  • Komunitas
    Belajar
    • Tutorial-tutorial
    • Dokumentasi
    • Sertifikasi
    • Pelatihan
    • Blog
    • Podcast
    Empower Education
    • Program Edukasi
    • Game Bisnis 'Scale Up!'
    • Kunjungi Odoo
    Dapatkan Softwarenya
    • Download
    • Bandingkan Edisi
    • Daftar Rilis
    Kolaborasi
    • Github
    • Forum
    • Acara
    • Terjemahan
    • Menjadi Partner
    • Layanan untuk Partner
    • Daftarkan perusahaan Akuntansi Anda.
    Dapatkan Layanan
    • Temukan Mitra
    • Temukan Akuntan
    • Konsultasi
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Help

odoo 18 customer portal. Display order reference

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
portalreferencecustomer_portal
2 Replies
653 Tampilan
Avatar
Upex Electrical Distributors Ltd.

We want to roll the portal out to our customers so they can log on and see their invoices. Out of the box the portal does not display the customer order reference. Is it an easy task for this to be added. Would anyone have any instructions or guidance on how to achieve this.

Online, Odoo 18.

Thank you all

0
Avatar
Buang
Codesphere Tech

Hello
You can update in this template: My Invoices and Payments and add field <t t-out="invoice.ref"/>

Avatar
Cybrosys Techno Solutions Pvt.Ltd
Jawaban Terbai
Hi,
Please add the following XML code to your custom module and install it. Once installed, the Customer Reference field will be available on the portal.

<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <template id="portal_my_invoices_inherit_ref"
              inherit_id="account.portal_my_invoices"
              name="Portal My Invoices: Customer Reference">

        <!-- Add header column after "Invoice Date" -->
        <xpath expr="//thead/tr/th[2]" position="after">
            <th>Customer Ref</th>
        </xpath>

        <!-- Add body cell after the invoice_date cell -->
        <xpath expr="//tbody//td[2]" position="after">
            <td>
                <span t-out="invoice.ref or invoice.invoice_origin or ''"/>
            </td>
        </xpath>

    </template>
</odoo>

Hope it helps.

-1
Avatar
Buang
Avatar
Jainesh Shah(Aktiv Software)
Jawaban Terbai

Hello Upex Electrical Distributors Ltd,


Yes, this can be done easily by adding the following code in your custom module.

Inherit the portal_my_invoices template and add the Customer Reference column:


<template id="portal_my_invoices_inherit_ref" inherit_id="account.portal_my_invoices">
    <xpath expr="//th[@name='amount_due']" position="after">
        <th name="customer_ref" class="text-end pe-3">Customer Reference</th>
    </xpath>
    <xpath expr="//td[@name='invoice_status']" position="before">
        <td class="text-end pe-3">
            <span t-out="invoice.ref"/>
        </td>
    </xpath>

</template>


This uses invoice.ref which is the native Customer Reference field on the invoice. No extra computation needed.

Portal users will now see the Customer Reference column on their invoice list.


If you have any questions, feel free to reach out.

Hope this helps!

 

Thanks and Regards,

Email: odoo@aktivsoftware.com

-1
Avatar
Buang
Menikmati diskusi? Jangan hanya membaca, ikuti!

Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!

Daftar
Post Terkait Replies Tampilan Aktivitas
Giving access to report pdf via access token
portal customer_portal AccessControl accesstoken
Avatar
Avatar
Avatar
2
Jan 23
8852
How do I create a customer portal page?
customize portal customer_portal website
Avatar
0
Des 21
10283
Customer Portal Invoice (We haven't sent you any invoice) OpenERP Version-7
customer portal customer_portal invoice_portal
Avatar
Avatar
1
Mar 15
6419
Customer Portal Invoice domain
v7 invoices portal customer_portal
Avatar
0
Mar 15
6593
ValueError: Expected singleton: res.partner() when I try to give Portal Access to a customer Diselesaikan
portal
Avatar
Avatar
2
Jan 26
2710
Komunitas
  • Tutorial-tutorial
  • Dokumentasi
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Terjemahan
Layanan
  • Odoo.sh Hosting
  • Bantuan
  • Peningkatan
  • Custom Development
  • Pendidikan
  • Temukan Akuntan
  • Temukan Mitra
  • Menjadi Partner
Tentang Kami
  • Perusahaan kami
  • Aset Merek
  • Hubungi kami
  • Karir
  • Acara
  • Podcast
  • Blog
  • Pelanggan
  • Hukum • Privasi
  • Keamanan
الْعَرَبيّة 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 adalah software terintegrasi dengan 70+ aplikasi seperti CRM, Akuntansi, Inventaris, Sales, eCommerce, Marketing, POS; plus fitur lokal Indonesia!

Mudah digunakan dan terintegrasi penuh pada saat yang sama adalah value proposition unik Odoo.

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