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

Tax_id field many2many

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
developmentproductmany2manystudio
4 Replies
1380 Tampilan
Avatar
passionfruit, Ingrid Revenu

Hello, I am new here and trying to customise a product sheet on Odoo online, however I am running into an issue to extract the price without tax as my main price is tax included. 

I am unable to find a way to extract either the price without tax, either the tax rate (taxes_id) as it is not a float but a many2many field, anyone could help me ? 


The idea behind is that I added a extra field with ooo studio and need to calculate the value of the field using the price without tax.


Thanks

2
Avatar
Buang
CandidRoot Solutions

In Odoo Online, the product form does not store a “price without tax”.
Even if your sale price is tax-included, Odoo calculates the untaxed value only on documents like Quotations, Sales Orders, and Invoices (Subtotal / Untaxed Amount).

That’s why you won’t find an untaxed price field on the product page.
Showing it there would require backend customization, which is not possible on Odoo Online (SAAS) But Yes, this requirement can be handled on Odoo.sh or On-Premise.
We can add a small backend customization that uses Odoo’s tax engine to calculate the price without tax correctly, even when the product price is tax-included and multiple taxes are applied.

passionfruit, Ingrid Revenu
Penulis

Thank you for your answer, I am not looking to have multiple tax id, I am only looking for a way to extract the tax % of the product, so I can use it for a calculation. Do you know how I could extract the tax % out of the product page ? 

Thank you in advance

Avatar
CandidRoot Solutions
Jawaban Terbai

Hello Ingrid,

This is expected behavior in Odoo Online, especially when working with tax-included prices and Odoo Studio.

In Odoo, product taxes are stored in the taxes_id field, which is a many2many field because multiple taxes can apply to a single product. The actual tax computation (including extracting price without tax) is handled by Odoo’s internal tax engine using server-side Python logic (compute_all).

However, Odoo Studio formulas do not support iterating over many2many fields or applying tax engine logic. Because of this limitation:

  • You cannot reliably calculate price excluding tax in Studio when the product price is tax-included.

  • Accessing the tax rate directly from taxes_id for calculation is not possible in Studio.

Available approaches:
  1. Use Odoo’s standard untaxed values

    Odoo already calculates untaxed amounts correctly on documents like quotations, sales orders, and reports.

  2. Single fixed tax workaround (limited use case)

    If only one fixed tax is always applied, you may use a manual formula (e.g. price / 1.18).

    Please note this is only an approximation and not recommended for flexible or multi-tax scenarios.

  3. Recommended (accurate) solution

    A proper and scalable solution requires a small server-side Python customization using Odoo’s tax computation methods. This is only possible on Odoo.sh or On-Premise, not on Odoo Online.

So this is not a bug, but a functional limitation of Odoo Studio in Odoo Online.

If you would like help implementing a robust solution or exploring alternative approaches, CandidRoot would be happy to assist.

 If this solution helped you, kindly upvote this answer.

Best regards,


CandidRoot Solutions Pvt. Ltd.
Mobile: (+91) 8849036209
Whatapp: (+91) 8849036209

Email: info@candidroot.com
Web: https://www.candidroot.com

3
Avatar
Buang
passionfruit, Ingrid Revenu
Penulis

Thanks, do you know how I can have the untaxed value as you mentioned in option 1 ? As my product price is tax included, I cannot find a field without tax on the product page. Thanks in advance

Avatar
Chris TRINGHAM
Jawaban Terbai

Maybe I'm missing something here, but you can extract the tax percentage from the sales tax (and the tax string)


0
Avatar
Buang
Avatar
Jose
Jawaban Terbai

Use the unit price field (price_unit) to obtain the sales price without added taxes.

-1
Avatar
Buang
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Jawaban Terbai

Hi,

In Odoo, the built-in Tax ID field is a single value field on the partner model, not a many2many field. That means Odoo lets you store only one Tax/VAT number per contact by default.

If you need to associate multiple tax identifiers with a partner, you must model it differently:

    Create a custom model to store tax ID records.

    Add a many2many or one2many field on the partner pointing to that model.

    In that custom model, include fields such as Tax Type, Country, and Tax Number.

This way, the partner can hold multiple tax identifiers.

Odoo doesn’t provide a many2many tax ID field by default, so extending the model with a custom related table is the standard way to handle it.


Hope it helps

-2
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
What is the best practice of using Odoo Studio? Diselesaikan
development studio
Avatar
Avatar
Avatar
2
Okt 25
2449
Obtener edad desde fecha de nacimiento / Get age from date of birth Diselesaikan
development studio V18.1
Avatar
Avatar
2
Mar 25
2635
How to add Text field from products onto Quote/Sales PDF Diselesaikan
sales product studio
Avatar
Avatar
Avatar
Avatar
3
Jul 24
5923
Copy Many2Many from Parent to Child Many2Many field Diselesaikan
many2many studio server_actions
Avatar
1
Jul 23
8462
How to use self.env.cr.execute get my data? Diselesaikan
development many2many sql
Avatar
Avatar
Avatar
2
Des 23
33804
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