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

Pickup Date for E-Commerce

Odebírat

Get notified when there's activity on this post

This question has been flagged
action
2 Odpovědi
318 Zobrazení
Avatar
fsdfsdfsd

Hi, 


I use an extra step in tthe e-commerce check out field to let customers pick there pickup date. Now this info is only visible in the order logs, not very handy and quickly overlooked by our staff. 


Can i use Studio to 

  • retrieve this info out of the extra step in the e-commerce check out
  • put in on the sales order
  • send an email reminder when an e-commerce order is placed 

ps: i know this is personalisation, must be possible in studio but i'm new user of studo so could use some help :) 

0
Avatar
Zrušit
Avatar
Kais Akram
Nejlepší odpověď

Yes 🙂

You can do all three of those things in Odoo without any custom code, just using Studio / standard config.

Below is a “do this, then that” guide.

1. Make the pickup date go onto the Sales Order (not just logs)

Right now your extra step is probably writing into the chatter / order notes.

Instead, you want it to fill a real field on sale.order.

The easiest: reuse the standard Delivery Date field on the Sales Order (Other Info tab). That field is meant exactly for “when is this order expected / picked up” and also shows on the delivery order. Odoo+1

Steps (on the website checkout):

  1. Go to your website and start a test checkout until you reach the Extra Info step.

  2. Click Edit (website builder).

  3. Click on your pickup date field in the form.

  4. In the right-hand panel:

    • Look for something like Field → Existing field.

    • Search for Delivery Date (or “Delivery / Scheduled date” depending on version).

    • Select that existing field instead of a “free” custom field.

If you currently have a “plain” date field that doesn’t link to anything, remove it and use only the one bound to Delivery Date.

Test it

  1. Place a test web order with a pickup date.

  2. Go to Sales → Orders → open that order.

  3. Check Other Info tab → Delivery section.

    You should now see the chosen pickup date there (not only in the log). Odoo

2. Make the date visible & hard to miss for your staff

Now that the date is on the Sales Order, you can surface it nicely with Studio:

Show it in the Sales Order list (so it can’t be overlooked)

  1. Go to Sales → Orders (list view).

  2. Click the Studio icon (wrench/hammer).

  3. In the fields panel, find Delivery Date.

  4. Drag it into the list as a new column.

  5. Close Studio / Save.

Now your team can see pickup dates directly in the list, sort by them, and even filter on them. Odoo

You can also put the field in a more visible place on the form (e.g. top-right) by dragging it there in Studio.

3. Send an automatic email when an e-commerce order is placed

You want: when a web order comes in, send the customer an email that includes the pickup date.

You can do this with an automated action + email template.

3.1 Create the email template

You can do this either via Settings → Technical or directly via Studio; I’ll describe the Studio-flavoured way:

  1. Open any Sales Order.

  2. Click Studio.

  3. Go to Automations → Email Templates (or “+ New” from the automated action later).

  4. Create a template:

    • Model: Sales Order (sale.order)

    • Subject: e.g.

      Your pickup on {{ object.commitment_date or object.expected_date or '' }}

    • Body (HTML) – simple example:

      Hello {{ object.partner_id.name }},<br/><br/> Thank you for your order {{ object.name }}.<br/> Your chosen pickup date is <b>{{ object.commitment_date }}</b>.<br/><br/> Best regards,<br/> Your Company

      Note: depending on your version, the field may be commitment_date or similar – in Studio, when you insert dynamic field, just pick Delivery Date and it will use the correct technical name.

Save the template.

3.2 Create the automation (send email for web orders)

  1. Still in Studio, go to Automations → Automated Actions (name may vary slightly).

  2. Click New:

    • Model: Sales Order

    • Trigger:

      • On Creation (so it fires when the order is created), or

      • On Creation & Update with a condition.

    • Apply on domain (to make it only for web orders), for example:

      • If you have a website:

        [('website_id', '!=', False)]

      • Or by sales team, if your website orders use a dedicated team:

        [('team_id', '=', <Website Sales Team>)]

  3. Action To Do: Send Email.

  4. Choose your email template from step 3.1.

  5. Save.

Now, whenever an e-commerce order is created, Odoo will send that email automatically, including the pickup date. Odoo+1

Bonus: if one day you want a reminder before pickup

You asked for “send an email reminder when an e-commerce order is placed” – the above sends it immediately.

If in the future you want “remind 1 day before pickup”, that’s possible but a bit more advanced (scheduled actions / custom code), and often needs a developer or Odoo.sh access rather than just Studio.

If you tell me:

  • which Odoo version you’re on (e.g. 16, 17, 18, Online / On-prem), and

  • whether you see the Delivery Date field already in the Other Info tab,

I can adapt the click-by-click instructions exactly to your screen names.

1
Avatar
Zrušit
Avatar
Bloopark systems GmbH & Co. KG
Nejlepší odpověď
We recommend to not use Odoo studio for this because later if you want to improve that feature or update something you have to continue with studio and the the risk of bugs will be hight as it's pure logic

Instead, it's doable in fewer steps by code, and it will be more robust

Add your field in the XML view
<input type="text" id="pickup_date" name="pickup_date" class="form-control" />
Override _prepare_checkout_page_values to pass the field value
    def _prepare_checkout_page_values(self, order_sudo, **kwargs):
values = super()._prepare_checkout_page_values(order_sudo, **kwargs)
values["pickup_date"] = form_data.get("pickup_date", "")
return values
Override shop_confirm_order controller to update the sale order
    @http.route(
"/shop/confirm_order", type="http", auth="public", website=True, sitemap=False
)
def shop_confirm_order(self, **post):
order_sudo = request.website.sale_get_order()

if redirection := self._check_cart_and_addresses(order_sudo):
return redirection

data = {
"pickup_date": post.get("pickup_date"),
}

order_sudo.write(
{
"pickup_date": data.get("pickup_date", ""),
}
)

return super().shop_confirm_order(**post)
Do not forget to add the field to the sale order
class SaleOrder(models.Model):
_inherit = "sale.order"

pickup_date = fields.Char()
This way, any future improvement will be easy to add improvements

Odoo studio should be used for prototyping or small view changes

Hope it helps




0
Avatar
Zrušit
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
How do I deliver Odoo Studio customizations to my client? Odoo 19,,0 Vyřešeno
action
Avatar
Avatar
2
lis 25
279
UI is inappropriate when i install custom module in odoo19 Vyřešeno
action
Avatar
Avatar
1
lis 25
247
Need Advice For Migrate Thousands of Messy SKUs
action
Avatar
0
lis 25
9
How can an administrator enable Odoo Studio access for a user? i use odoo19
action
Avatar
Avatar
1
lis 25
391
Odoo 17 - Sales Invoice Error: “The entry / (id 75075) is using accounts from a different company
action
Avatar
0
lis 25
304
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