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

How to filter numerical values?

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
filterv7
1 Balas
11722 Tampilan
Avatar
michel Guénard

The question is trivial. However I does not succeed in filtering numerical values! my database is V7, runing in SaaS mode.

see C:\fakepath\FILTRES OPENERP.JPGthe enclosed capture of my resulting screen with filters

What is wrong with my defintion of filter?

5
Avatar
Buang
Martin

You forgot to show your filter definition ;-(

michel Guénard
Penulis

I thought it was visible from the capture screen image.:) However it is a standard one "Quantity in stock superior or equal to 0" (zero). The result is not filtered at all! as products with zero or negative quantities are shown. I have tries tens of times always without success; I am using "V7 online"

Martin

Just tried it myself. Looks like a bug to me.

michel Guénard
Penulis

I made additionnal test of various advanced filters on the demo database (online); filters do not work on quantities (on hand or forecasted), nor on public price; they work on alphabetical values; they also work on cost (although numerical)! I wonder who will escalate the issue to the appropriate level to make professionnal testings and solve.

Martin

https://bugs.launchpad.net/openobject-library/+bug/1134329

wjn

When this will be solved? For v6 there was/is something like zero-stock-filter: http://v6apps.openerp.com/addon/7685?filter=%7B%22order_by%22%3A+%22downloads_sum+desc%22%2C+%22author%22%3A+391%7D&page=0

michel Guénard
Penulis

seems that the reported bug is not taken into consideration!

Martin

@Ad Libiton. Did you indicated that you are affected? Are you "Guenard"? Did "wjn" do so? Often, bugs only get attention in proportion to the number of complaints.

michel Guénard
Penulis

Yes I am Guenard! alias Ad Libitom

wjn

Yes, we have an Enterprise Contract and the OpenERP partner reported this bug to support@openerp as an issue for us.

Avatar
Anaël Closson (acl)
Jawaban Terbai

Integer (and float) fields are actually well searchable.

If some integer fields aren't, it's because they hide functional fields. In those field, the integer value is computed each time the values shows up in form fields.

You can't search through those values as they are not available in a computed form. Using the computing function when searching is not a good idea either as it may be CPU intensive.

fnct_search

A solution can be to assign a search dedicated function to the field. This may be intersting when you can return false positives, use an optimized method or you may search other data than the actual field. That function is setup using the "fnct_search" parameter of field.function(). Unfortunately this is not always the best solution.

store

A second one is to ask the server to store the computed value. But in order to update the value when needed, you also need to know what will update it : which data change should trigger the field computation ?

Here the default is to recompute it when the object changed. Therefore you can use the "store=True" parameter. But as it may not be accurate if your value depends of other objects, you may also use a 3-tuple like this one : (mapping_function,['trigger_field1','trigger_field2'],priority).

  • mapping_function : returns the list of ids that needs to be recomputed

  • ['trigger_field1','trigger_field2'] : fields that triggers computation when changed

  • priority : allows ordering functional fields, useful to computed functional fields based on others

For this one, you need to take into account that it needs a database structure change when added on fields that don't have the store attribute, and that it may sometimes be difficult to predict which changes will trigger an update.

You may find more information about it in fields.py : bazaar.launchpad.net/~openerp/openobject-server/7.0/view/head:/openerp/osv/fields.py#L840

With that in mind, if you still think a field should be searchable (technically and practically), then a bug report is sure welcome.

4
Avatar
Buang
michel Guénard
Penulis

ok!!!!!!!!I just need to filter openerp.com standard fileds like Quantity on hand.

michel Guénard
Penulis

alvar.vilu just wrote This is not a bug. You can not sort nor filter by function values! I do not understand this statement; I just want to be able to filter fields appearing on the search box of the online standard V7; until now I obtain no result when filtering on" quantity on hand"

Anaël Closson (acl)

Yes, those fields should not be listed, like in the 6.x OpenERP series... this should be corrected soon.

wjn

If field can be filtered via "Advanced Search" in a standard OpenERP v7 installation and it does not work, like with Quantity on Hand and Future Stock (new name of Forecast), than it is a bug. These fields should not appear in the Advanced Search field list, if they are not filterable.

wjn

@Anael Closson: We started recently with consignment stock in OpenERP. To do so, an additional location under warehouses was created. Now we want to see all products in consignment, thus we have to filter on "on hand / delivered" or "forecasted / future stock". Otherwise we have to check over 700 products, or, like you suggested, create some custom fields/report.

Sam path

Hi all, even I'm facing a same issue. Did you find any solution to filter on quantity on hand?

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
How to use AND / OR operators in advanced filters? Diselesaikan
filter v7
Avatar
Avatar
Avatar
Avatar
3
Apr 23
34947
Filter last year and last month Diselesaikan
filter v7
Avatar
Avatar
Avatar
3
Agu 17
24435
Why an advanced product search with condition "doesn't contain" doesn't display products with empty searched field?
filter v7
Avatar
0
Mar 15
5345
How to write a Domain in a filter? [SOLVED] Diselesaikan
filter domain v7
Avatar
Avatar
1
Apr 24
14802
Filter the project issues assigned to a user
filter v7 issues
Avatar
Avatar
1
Mar 15
5575
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