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
    Rantai Pasokan
    • 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
    • Diskusi
    • Approval
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • Industri-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
    • Estate Management
    • 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
    • Temui penasihat
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan

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

  • CRM
  • e-Commerce
  • Akuntansi
  • Inventaris
  • PoS
  • Project
  • MRP
All apps
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

[10.0] "A transaction can't have a 0 amount. None" Error on validate Odoo POS payment.

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
validateprinterrorspoint_of_sale
1 Balas
6897 Tampilan
Avatar
Sidhi Tejomoyo

I have the following error during POS...

During POS Check out for payment, I put the paid cash amount and then select the customer. After that I click Validate and got this error message... 


What could possibly cause this error and how to fix it ? 

 

A transaction can't have a 0 amount. None

Traceback (most recent call last): File "/opt/odoo/odoo-10.0/odoo/http.py", line 638, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/odoo/odoo-10.0/odoo/http.py", line 675, in dispatch result = self._call_function(**self.params) File "/opt/odoo/odoo-10.0/odoo/http.py", line 331, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/odoo/odoo-10.0/odoo/service/model.py", line 119, in wrapper return f(dbname, *args, **kwargs) File "/opt/odoo/odoo-10.0/odoo/http.py", line 324, in checked_call result = self.endpoint(*a, **kw) File "/opt/odoo/odoo-10.0/odoo/http.py", line 933, in __call__ return self.method(*args, **kw) File "/opt/odoo/odoo-10.0/odoo/http.py", line 504, in response_wrap response = f(*args, **kw) File "/opt/odoo/odoo-10.0/addons/web/controllers/main.py", line 862, in call_kw return self._call_kw(model, method, args, kwargs) File "/opt/odoo/odoo-10.0/addons/web/controllers/main.py", line 854, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/opt/odoo/odoo-10.0/odoo/api.py", line 679, in call_kw return call_kw_model(method, model, args, kwargs) File "/opt/odoo/odoo-10.0/odoo/api.py", line 664, in call_kw_model result = method(recs, *args, **kwargs) File "/opt/odoo/odoo-10.0/addons/point_of_sale/models/pos_order.py", line 503, in create_from_ui pos_order = self._process_order(order) File "/opt/odoo/odoo-10.0/addons/point_of_sale/models/pos_order.py", line 107, in _process_order order.add_payment(self._payment_fields(payments[2])) File "/opt/odoo/odoo-10.0/addons/point_of_sale/models/pos_order.py", line 691, in add_payment self.env['account.bank.statement.line'].with_context(context).create(args) File "/opt/odoo/odoo-10.0/addons/account/models/account_bank_statement.py", line 399, in create line.amount = line.amount File "/opt/odoo/odoo-10.0/odoo/fields.py", line 908, in __set__ record.write({self.name: write_value}) File "/opt/odoo/odoo-10.0/odoo/models.py", line 3549, in write self._write(old_vals) File "/opt/odoo/odoo-10.0/odoo/models.py", line 3695, in _write self._validate_fields(vals) File "/opt/odoo/odoo-10.0/odoo/models.py", line 1069, in _validate_fields check(self) File "<decorator-gen-71>", line 2, in _check_amount File "/opt/odoo/odoo-10.0/odoo/api.py", line 361, in loop result = [method(rec, *args, **kwargs) for rec in self] File "/opt/odoo/odoo-10.0/addons/account/models/account_bank_statement.py", line 380, in _check_amount raise ValidationError(_('A transaction can\'t have a 0 amount.')) ValidationError: (u"A transaction can't have a 0 amount.", None)


For the browser console log files : https://drive.google.com/open?id=0B4Zbp3gbakWlSGFrY0FWNlNFWWs

For Odoo log, I look for /var/log/odoo/ and did not find any log file...( I follow https://www.odoo.com/forum/help-1/question/how-can-i-see-the-error-log-74643  for Linux log file Also I tried to search can not find odoo log file...)



The reason I re-post this message are :

I already tried to ask this question on https://www.odoo.com/forum/help-1/question/error-on-pos-121456 and got closed for not enough information given. Thats why I repost with more detailed question. 

I already tried to do the suggested solution and still no good.. https://www.odoo.com/forum/help-1/question/pos-error-a-transacation-can-t-have-a-0-amount-94050 I use physical and virtual server and still give me the same error... 


Looking forward for the answers... 


0
Avatar
Buang
Avatar
Fazryan Fareka Riznendi
Jawaban Terbai

Hello Sidhi,

I have experienced something like that,

error occurs because the currency on the odoo must have a decimal value.


how to fix it,

1. First debug the odoo

2. Enter the settings module> user> company

3. in form company click (icon) Currency (many2one)

4. then in "Price Accuracy" change the "Rounding factor" value field to 0.01 (two numbers behind comma)

* Try not to 0 if you don't want the error log to appear

0
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
Odoo point de vente Validation doit attendre une réponse du backend
validate point_of_sale
Avatar
0
Okt 22
2404
[V8] [WORKAROUND] Is there a way to bypass printing page on POS? Diselesaikan
v8 pos validate print point_of_sale
Avatar
1
Mei 15
4566
can't print receipt from POS
print receipt point_of_sale
Avatar
0
Jul 22
3285
All the account entries lines must be processed in order to close the statement.???? Diselesaikan
pos validate errors
Avatar
Avatar
Avatar
2
Jun 22
3760
No se registra las ordenes de venta en POS
pos errors point_of_sale odoo Point Of Sale
Avatar
Avatar
Avatar
Avatar
3
Sep 23
5883
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
  • Tugas
  • 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 ภาษาไทย Türkçe українська Tiếng Việt

Odoo adalah rangkaian aplikasi bisnis open source yang mencakup semua kebutuhan perusahaan Anda: CRM, eCommerce, akuntansi, inventaris, point of sale, manajemen project, dan seterusnya.

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