Zum Inhalt springen
Odoo Menü
  • Anmelden
  • Jetzt gratis testen
  • Apps
    Finanzen
    • Buchhaltung
    • Rechnungsstellung
    • Spesenabrechnung
    • Tabellenkalkulation (BI)
    • Dokumente
    • E-Signatur
    Vertrieb
    • CRM
    • Vertrieb
    • Kassensystem – Shop
    • Kassensystem – Restaurant
    • Abonnements
    • Vermietung
    Websites
    • Website-Builder
    • E-Commerce
    • Blog
    • Forum
    • Livechat
    • E-Learning
    Lieferkette
    • Lager
    • Fertigung
    • PLM
    • Einkauf
    • Wartung
    • Qualität
    Personalwesen
    • Mitarbeiter
    • Personalbeschaffung
    • Abwesenheiten
    • Mitarbeiterbeurteilung
    • Personalempfehlungen
    • Fuhrpark
    Marketing
    • Social Marketing
    • E-Mail-Marketing
    • SMS-Marketing
    • Veranstaltungen
    • Marketing-Automatisierung
    • Umfragen
    Dienstleistungen
    • Projekte
    • Zeiterfassung
    • Außendienst
    • Kundendienst
    • Planung
    • Termine
    Produktivität
    • Dialog
    • Genehmigungen
    • IoT
    • VoIP
    • Wissensdatenbank
    • WhatsApp
    Apps von Drittanbietern Odoo Studio Odoo Cloud-Plattform
  • Branchen
    Einzelhandel
    • Buchladen
    • Kleidergeschäft
    • Möbelhaus
    • Lebensmittelgeschäft
    • Baumarkt
    • Spielwarengeschäft
    Essen & Gastgewerbe
    • Bar und Kneipe
    • Restaurant
    • Fast Food
    • Gästehaus
    • Getränkehändler
    • Hotel
    Immobilien
    • Immobilienagentur
    • Architekturbüro
    • Baugewerbe
    • Immobilienverwaltung
    • Gartenarbeit
    • Eigentümervereinigung
    Beratung
    • Buchhaltungsfirma
    • Odoo-Partner
    • Marketingagentur
    • Anwaltskanzlei
    • Talentakquise
    • Prüfung & Zertifizierung
    Fertigung
    • Textil
    • Metall
    • Möbel
    • Speisen
    • Brauerei
    • Firmengeschenke
    Gesundheit & Fitness
    • Sportklub
    • Brillengeschäft
    • Fitnessstudio
    • Therapeut
    • Apotheke
    • Friseursalon
    Handel
    • Handyman
    • IT-Hardware & -Support
    • Solarenergiesysteme
    • Schuster
    • Reinigungsdienstleistungen
    • HLK-Dienstleistungen
    Sonstiges
    • Gemeinnützige Organisation
    • Umweltschutzagentur
    • Plakatwandvermietung
    • Fotostudio
    • Fahrrad-Leasing
    • Software-Händler
    Alle Branchen ansehen
  • Community
    Lernen
    • Tutorials
    • Dokumentation
    • Zertifizierungen
    • Schulung
    • Blog
    • Podcast
    Bildung fördern
    • Bildungsprogramm
    • Scale-Up! Planspiel
    • Odoo besuchen
    Software anfragen
    • Herunterladen
    • Editionen vergleichen
    • Releases
    Zusammenarbeiten
    • Github
    • Forum
    • Veranstaltungen
    • Übersetzungen
    • Partner werden
    • Dienstleistungen für Partner
    • Buchhaltungsfirma registrieren
    Services anfragen
    • Partner finden
    • Buchhalter finden
    • Einen Experten treffen
    • Implementierungsservices
    • Kundenreferenzen
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Eine Demo erhalten
  • Preiskalkulation
  • Hilfe

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

  • CRM
  • e-Commerce
  • Buchhaltung
  • Lager
  • PoS
  • Projekte
  • MRP
All apps
Sie müssen registriert sein, um mit der Community zu interagieren.
Alle Beiträge Personen Abzeichen
Stichwörter (Alle anzeigen)
odoo accounting v14 pos v15
Über dieses Forum
Sie müssen registriert sein, um mit der Community zu interagieren.
Alle Beiträge Personen Abzeichen
Stichwörter (Alle anzeigen)
odoo accounting v14 pos v15
Über dieses Forum
Hilfe

Selectable pricelists available to logged in Portal users only, and not Public users (V15 community).

Abonnieren

Erhalten Sie eine Benachrichtigung, wenn es eine Aktivität zu diesem Beitrag gibt

Diese Frage wurde gekennzeichnet
3 Antworten
3252 Ansichten
Avatar
Rob Strange

We have Odoo 15 Community with a B2B (Wholesalers/Installers) website where the 'Public' pricelist is set to $0.00 for all products so general public cannot see pricing.

We have confirgured that logged in Portal users (B2B) then get their allocated pricelist (Contact->Sales & Purchase->Pricelist->...).

  • We would like to be able to configure the Portal users (only) to be able to select specific (per portal user) Pricelist/s when they login.

We have tried Sales->Products->Pricelists->.... and enabled 'Selectable' but this then makes those Pricelists viewable to Public users as well. This does not work for us as we cannot have Public users seeing our Wholesalers (B2B) prices. 

Struggling to find collateral or Apps that enable this capability which has got us wondering if we are missing something simple. Any guidance would be appreciated.

0
Avatar
Verwerfen
Avatar
MICHAEL
Beste Antwort

Hi Mohammed, 

where would you inject this code? I'm looking for exactly this behaviour

0
Avatar
Verwerfen
Avatar
Rob Strange
Autor Beste Antwort

Thank Muhammad for prompt response. 

From a quick look at the code it would seem this will give our Portal users access to one predefined pricelist (which we currently have). Our goal is for the Portal users to have access to multiple pricelists once they have logged in. But Public users must only see Public Price List ($0.00)/or no prices. Let us know if we are reading your code incorrectly.

0
Avatar
Verwerfen
Avatar
Muhammad Amir Nazir
Beste Antwort

In Odoo, it is possible to configure different pricelists for different users or user groups. To do this, you will need to create separate pricelists for each user or user group and assign the appropriate pricelist to each user or user group.

Here is an example of how you can set this up:

  1. Create the pricelists that you want to use for your B2B users. To do this, go to "Sales > Configuration > Pricelists" and click "Create" to create a new pricelist. Enter the name and other details of the pricelist, and set the prices for the products that you want to include in the pricelist.

  2. Assign the pricelists to the appropriate users or user groups. To do this, go to "Contacts > Users & Companies > Users" and edit the user or user group that you want to assign the pricelist to. In the "Sales & Purchase" tab, select the appropriate pricelist in the "Pricelist" field.

  3. Configure the website to use the appropriate pricelist for each user. To do this, you will need to override the default behavior of the website by adding a custom piece of code. Here is an example of how you might do this:

Copy codefrom odoo import http

class Website(http.Controller):
    @http.route(['/'], type='http', auth='public', website=True)
    def index(self, **kw):
        if http.request.env.user.partner_id.property_product_pricelist:
            # Set the pricelist to the user's allocated pricelist
            http.request.website.sale_get_order(force_pricelist=http.request.env.user.partner_id.property_product_pricelist.id)
        return http.request.render('website.homepage')

This code will set the pricelist to the user's allocated pricelist when they log in to the website.


0
Avatar
Verwerfen
Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!

Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!

Registrieren
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Herunterladen
  • Github
  • Runbot
  • Übersetzungen
Dienstleistungen
  • Odoo.sh-Hosting
  • Support
  • Upgrade
  • Individuelle Entwicklungen
  • Bildung
  • Buchhalter finden
  • Partner finden
  • Partner werden
Über uns
  • Unsere Firma
  • Markenwerte
  • Kontakt
  • Karriere
  • Veranstaltungen
  • Podcast
  • Blog
  • Kunden
  • Rechtliches • Datenschutz
  • Sicherheit
الْعَرَبيّة 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 ist eine Suite von Open-Source-Betriebsanwendungen, die alle Bedürfnisse Ihres Unternehmens abdecken: CRM, E-Commerce, Buchhaltung, Lager, Kassensystem, Projektmanagement etc.

Das einzigartige Wertversprechen von Odoo ist, dass es gleichzeitig sehr einfach zu bedienen und voll integriert ist.

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