Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textil
    • Kov
    • Nábytek
    • Jídlo
    • Pivovar
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • Podpora IT & hardware
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Procházet všechna odvětví
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Služby pro partnery
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

I would like to apply a 10% discount when the customer chooses the in-store pickup option for their order.

Odebírat

Get notified when there's activity on this post

This question has been flagged
salesecommercewebsite_sale
2 Odpovědi
2422 Zobrazení
Avatar
Mathieu Raux

Hello everyone,

I am encountering an issue with my e-commerce site using the Odoo Community version.

Context:

I would like to apply a 10% discount when the customer chooses the in-store pickup option for their order.

What I have tried:

  • I created a promotion linked to the product corresponding to in-store pickup.
  • Unfortunately, the discount is not applied, even at the time of payment.

Details:

  • Odoo Version: Community
  • Module involved: e-commerce / sales
  • Method used: promotion linked to the in-store pickup product

Issues faced:

  • The discount does not trigger when the in-store pickup option is selected.
  • I am unable to find a solution to have the promotion apply correctly.

Questions:

  1. Is there a specific way to configure this discount so that it applies automatically when the in-store pickup option is chosen?
  2. Should I use a specific module or customization to achieve this?
  3. Any other suggestions to resolve this issue are welcome.

Thank you in advance for your help!


0
Avatar
Zrušit
Avatar
Mathieu Raux
Autor Nejlepší odpověď

Hi there,

Thank you for your reply. The issue I'm facing is that I am using the community version and not the enterprise version. I have not been able to find any modules that can help with this.

Do you have any suggestions for modules that could handle this?


EDIT : With your explaination, i try to do some dev, and it seems to be working on community :



So I just have to add something to manage directly the product and the discount on the backend and it should be ok.


Thanks a lot!

0
Avatar
Zrušit
Avatar
Vinsinfo Pvt Ltd
Nejlepší odpověď

Hi,

You can achieve your requirement by following the below steps

Step 1 : Create a new shipment method with the below mentioned details and publish the newly created shipment method. It will also create a new product with the type service.

Step 2 : Create a two different automation rules using ODOO's studio one for our In-Store pickup method and another one for all other shipping methods.

In-Store pickup

Model 
:
 Sales Order
Trigger : On save
Apply on : [("order_line.product_id", "=", 6)]  (you have to enter product_id of the In-Store pickup id instead of 6) 

Action : 




Other shipping methods :

Model 
:
 Sales Order 
Trigger : On save
Apply on
 : 
[("order_line.product_id", "!=", 6)]  (you have to enter product_id of the In-Store pickup id instead of 6) 


Action : click the save button and save the automation rule.

Now you can provide a specified discount to customers who select "In-shop pickup" as their delivery method on the checkout page, and the total amount of the order will be updated to reflect the discounted amount. 


Thanks


0
Avatar
Zrušit
Mathieu Raux
Autor

Okay that's weird, it's ok on desktop, with studio (with a test database), and with a custom module, but on mobile I got the following error with both :

UncaughtClientError > TypeError
Uncaught Javascript Error > Attempted to assign to readonly property.
TypeError: Attempted to assign to readonly property.
extractFilteredSchemaValuesFromMicroData@https://test.fr/shop/payment:3:4012
extractSchemaValuesFromSchemaOrg@https://test.fr/shop/payment:3:5983
global code@https://test.fr/shop/payment:3:6397

Any idea ?

Enjoying the discussion? Don't just read, join in!

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

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
Webshop without Sales App Vyřešeno
sales ecommerce
Avatar
Avatar
1
bře 24
2891
Add shop and wishlist buttons on new website theme module
ecommerce website_sale
Avatar
0
úno 22
3017
Odoo 12 - How to Add Field at template
ecommerce website_sale
Avatar
Avatar
2
čvc 19
7265
Command not displayed in website module
sales ecommerce
Avatar
0
pro 18
3283
Ecommerce sales with regular grouped payment by bank transfer on invoices only
sales ecommerce website
Avatar
0
úno 25
1452
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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