Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Pickup Date for E-Commerce

Subscribe

Get notified when there's activity on this post

This question has been flagged
action
2 Replies
246 Views
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
Discard
Avatar
Kais Akram
Best Answer

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
Discard
Avatar
Bloopark systems GmbH & Co. KG
Best Answer
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
Discard
Enjoying the discussion? Don't just read, join in!

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

Sign up
Related Posts Replies Views Activity
Odoo19, odoo studio related question
action
Avatar
0
Nov 25
19
UI is inappropriate when i install custom module in odoo19 Solved
action
Avatar
Avatar
1
Nov 25
146
Need Advice For Migrate Thousands of Messy SKUs
action
Avatar
0
Nov 25
8
[FAQ's]~Can you book a cruise over the phone?
action
Avatar
0
Nov 25
2
How can an administrator enable Odoo Studio access for a user? i use odoo19
action
Avatar
Avatar
1
Nov 25
342
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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