İçereği Atla
Odoo Menü
  • Portal
  • Ücretsiz deneyin
  • Uygulamalar
    Finans
    • Muhasebe
    • Faturalama
    • Masraf Yönetimi
    • Elektronik Çizelge (BI)
    • Belgeler
    • İmza
    Satış
    • Müşteri İlişkileri Yönetimi (CRM)
    • Satış
    • Satış Noktası Mağaza
    • Satış Noktası Restoran
    • Abonelikler
    • Kiralama
    Web Sitesi
    • Web Sitesi Oluşturucu
    • eTicaret
    • Blog
    • Forum
    • Canlı Sohbet
    • eÖğrenme
    Tedarik Zinciri
    • Envanter
    • Üretim
    • Ürün Yaşam Döngüsü Yönetimi
    • Satın Alma
    • Bakım
    • Kalite
    İnsan Kaynakları
    • Çalışanlar
    • İşe Alım
    • İzin
    • Değerlendirme
    • Referans
    • Filo Yönetimi
    Pazarlama
    • Sosyal Medyada Pazarlama
    • E-posta ile Pazarlama
    • SMS ile Pazarlama
    • Etkinlikler
    • Pazarlama Otomasyonu
    • Anket
    Hizmetler
    • Proje Yönetimi
    • Çalışma Çizelgeleri
    • Saha Hizmeti
    • Yardım Masası
    • Planlama
    • Randevular
    Verimlilik
    • Sohbet
    • Onay
    • Nesnelerin İnterneti
    • VoIP
    • Bilgi Bankası
    • WhatsApp
    Üçüncü taraf uygulamalar Odoo Stüdyo Odoo Bulut Platformu
  • Sektörler
    Perakende satış
    • Kitapçı
    • Giyim Mağazası
    • Mobilya Mağazası
    • Gıda Marketi
    • Hırdavat Dükkanı
    • Oyuncak Dükkanı
    Gıda ve Konaklama
    • Bar ve Pub
    • Restoran
    • Fast Food Restoranı
    • Konuk Evi
    • İçecek Distribütörü
    • Otel
    Gayrimenkul
    • Emlak Acentesi
    • Mimarlık Firması
    • İnşaat
    • Emlak Yönetimi
    • Bahçe Tasarımı
    • Mülk Sahipleri Derneği
    Uzmanlık
    • Muhasebe Firması
    • Odoo Partner
    • Pazarlama Ajansı
    • Hukuk Firması
    • Yetenek Kazanımı
    • Denetim ve Belgelendirme
    Üretim
    • Tekstil
    • Metal
    • Mobilyalar
    • Gıda
    • Bira fabrikası
    • Kurumsal Hediye
    Sağlık ve Spor
    • Spor Kulübü
    • Optik Mağazası
    • Fitness Merkezi
    • Sağlıklı Yaşam Merkezi
    • Eczane
    • Kuaför Salonu
    Ticaret
    • Tamirci
    • BT Donanım & Destek
    • Güneş Enerjisi Sistemleri
    • Ayakkabı İmalatçısı
    • Temizlik Hizmetleri
    • HVAC Hizmetleri
    Diğerleri
    • Kar Amacı Gütmeyen Kuruluş
    • Çevre Ajansı
    • Reklam Panosu Kiralama
    • Fotoğrafçılık
    • Bisiklet Kiralama
    • Yazılım Bayisi
    Tüm Sektörlere Göz Atın
  • Topluluk
    Öğrenim
    • Eğitim Araçları
    • Dokümantasyon
    • Sertifikasyonlar
    • Eğitim Etkinlikleri
    • Blog
    • Podcast
    Eğitim ve Gelişim
    • Eğitim Programı
    • Scale Up! İşletme Oyunu
    • Odoo'yu Ziyaret Edin
    Yazılım
    • İndirin
    • Sürümleri Kıyaslayın
    • Sürümler
    İş Birliği
    • Github
    • Forum
    • Etkinlikler
    • Çeviriler
    • Partner Olun
    • Partnerler için Hizmetler
    • Muhasebe Firmanızı Kaydettirin
    Hizmetler
    • Partner Bulun
    • Muhasebeci Bulun
    • Bir danışmanla görüşün
    • Kurulum Hizmetleri
    • Müşteri Referansları
    • Destek
    • Sürüm Yükseltme
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Demo randevusu alın
  • Fiyatlandırma
  • Yardım

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

  • Müşteri İlişkileri Yönetimi
  • e-Commerce
  • Muhasebe
  • Envanter
  • PoS
  • Proje Yönetimi
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
Yardım

Pre-selecting products in orders depending on customer ...

Abone Ol

Get notified when there's activity on this post

Bu soru işaretlendi
productorder
3 Cevaplar
2783 Görünümler
Avatar
Reto Schmid

Hi all


I offer products (e.g. "computing course") to various customers (e.g. "school XY").

These products are customer-specific (e.g. "computing course" for "school XY").


When looking the the proper product on the oder line, odoo should list only the products relevant for the respective customer.


I've tried / thought about the following:

Approach

Comment

Drawback

Adding a prefix to the product name reflecting the customer name.


This prefix is shown on the order  too. This "concatenated product name" is not in line with the product name the customers expects.

Entering the customer name in the field "internal reference" of the product.

That seems to work.

However, it seems to add the "internal reference" to the order which is not in line with the product description the customers expects.

Creating order templates per customer with all the products for this very customer.

By design, odoo adds all the products from the selected template.

Every time I have to manually remove the product line, which is not needed in tha particular sales order.

Moreover, trying to add later on a product - that I removed earlier - leads me again in the position of finding products of other customers. This is what I tried to avoid to begin with.

Do you have an idea how to "pre-select" the subset of relevant products in the product selection field of the oder line?


Thanks a lot

1
Avatar
Vazgeç
Avatar
Chris TRINGHAM
En İyi Yanıt

It's simple to do in Odoo Studio if you have that installed:

1. Add a many2many field on products for a list of customers who will buy the product

2. Add this field to the domain for the product code, something like this


["&", ("sale_ok", "=", True), ("x_studio_customer", "=", parent.partner_id)]

More information: Adding fields using Odoo Studio - please me know if you need more details on this!

Or the same could be achieved by manually adding the field and displaying it in the Form View.  

0
Avatar
Vazgeç
Reto Schmid
Üretici

Hi Chris
Many thanks for your support. I'm very new to odoo. I've installed Studio now and went through the respective documentation and videos.

Reto Schmid
Üretici

I added a new tab to customer called "CU related product" (CU stands for "customization").
I added the many2many field called "CU product of customer".
This part seems to work. I can add / reference products for a specific customer.

I don't understand your comment "add this field to the domain". Can you give me one more hint?

Now, I would like to make sure in my "sales order" to make this new field "CU related product" available in my "product search" in my "sales order -> line item".
This is where I get stuck. Even trying to add this field "CU related product" to "user defined search" does not work, because my new field "CU related product" is not available.

Can you please give me some more hints?

Thank you very much for your support
Reto

Chris TRINGHAM

I added an example above - the domain is matching the customer on the product with the customer on the sales order. This probably isn't exactlly what you want, but maybe it helps.

Reto Schmid
Üretici

Thanks again!!!!
I believe this is exactly what I'm looking for.
However, entering below code in the field "domain" of "product" in "order lines", I'm getting the error message "This domain is not supported".

Do you have an idea what is wrong with "my" code? I also tried out various alternatives with " and '. It did not help. The name of my new attribute is 'CU_product_of_partner' (I changed it compared to my orignal message, since I thought odoo doesn't like spaces in names).

Thank you once more. Thank you for your valuable time and expertise. I really appreciate this a lot!!!

========================

<data>
  <xpath expr="//field[@name='product_template_id']" position="attributes">
    <attribute name="domain">["&amp;", ("sale_ok", "=", True), ("CU_product_of_partner", "=", parent.partner_id)]</attribute>
  </xpath>
</data>
["&", ("sale_ok", "=", True), ("CU_product_of_partner", "=", parent.partner_id)]

========================

I also tried this option. However, I got the same error message:
<data>
  <xpath expr="//field[@name='product_template_id']" position="attributes">
    <attribute name="CU_product_of_partner">["&amp;", ("sale_ok", "=", True), ("CU_product_of_partner", "=", parent.partner_id)]</attribute>
  </xpath>
</data>
["&", ("sale_ok", "=", True), ("CU_product_of_partner", "=", parent.partner_id)]

Chris TRINGHAM

If you are using Studio, the field name should be something like x_studio_cu_product_of_partner. This is a field on product.product / product.template that contains the customer for a product.

Avatar
Reto Schmid
Üretici En İyi Yanıt

Thanks for your thoughts.


The functionality looks promising.


However ... correct me, if I'm wrong:

  • It's not available for "odoo online"; and I am on "odoo online".
  • It's available for odoo V 16.0 but not V 17.0; which I guess is not an issue, right?


Regards

Reto

0
Avatar
Vazgeç
Avatar
Cybrosys Techno Solutions Pvt.Ltd
En İyi Yanıt

Hi,
Please go through our blog 'Product Recommendations in Sales Order'

https://www.cybrosys.com/blog/product-recommendation-in-sales-order-odoo-app

Try this app,

https://apps.odoo.com/apps/modules/13.0/product_recommendation_in_sales_order/


Hope it helps

0
Avatar
Vazgeç
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Üye Ol
İlgili Gönderiler Cevaplar Görünümler Aktivite
What field activates the "order grid entry" option in a product ?
product order grid
Avatar
1
Ara 23
2502
How to define order units for products? Çözüldü
product order unit
Avatar
Avatar
Avatar
Avatar
3
Eki 21
10245
[Sales App] add automatically a product B if product A is added to order
sales product order
Avatar
Avatar
Avatar
3
Ağu 20
5118
Sales order line pop-up Çözüldü
sales product order
Avatar
Avatar
Avatar
Avatar
5
Eki 19
9894
How to disable product autocomplete?
product
Avatar
Avatar
Avatar
2
Eyl 25
887
Topluluk
  • Eğitim Araçları
  • Dokümantasyon
  • Forum
Açık Kaynak
  • İndirin
  • Github
  • Runbot
  • Çeviriler
Hizmetler
  • Odoo.sh Hosting
  • Destek
  • Sürüm Yükseltme
  • Özel Geliştirmeler
  • Eğitim
  • Muhasebeci Bulun
  • Partner Bulun
  • Partner Olun
Hakkında
  • Şirketimiz
  • Pazarlama Gereçleri
  • İletişim
  • Kariyer
  • Etkinlikler
  • Podcast
  • Blog
  • Müşteriler
  • Hukuki • Gizlilik
  • Güvenlik
الْعَرَبيّة 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, müşteri ilişkileri yönetimi, eTicaret, muhasebe, envanter, satış noktası, proje yönetimi gibi şirketinizin tüm ihtiyaçlarını karşılayan bir açık kaynak işletme uygulamaları paketidir.

Odoo’nun eşsiz değer önermesi, aynı anda hem kullanımının çok kolay olup hem de tamamen entegre olmasıdır.

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