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

Checkout Page Redirects to Error Instead of Payment Methods

Subscribe

Get notified when there's activity on this post

This question has been flagged
errorinternalerrorcheckout
2 Replies
2530 Views
Avatar
Amina

Hello everyone,

I'm encountering an issue with my website's checkout process and could really use some guidance. When customers attempt to checkout, instead of landing on the page where they can choose their payment method, they are redirected to an error page. This problem persists despite my efforts to find a solution online.

Interestingly, when logging with admin account, I don't experience this issue. This leads me to believe that there might be a permission-related or user-specific setting causing the problem.

If anyone has encountered a similar issue or has insights into what might be causing this redirect to the error page, I would greatly appreciate your advice.
Here is the error:

500: Internal Server Error

Modèle de repli

Une erreur s'est produite lors de l'affichage du modèle website_sale.address.

Si cette erreur est causée par une de vos modification dans les modèles, vous avez la possibilité de réinitialiser le modèle à ses paramètres d'usine.

  • Address Management

Restaurer la version précédente (soft reset). Réinitialisation à la version initiale (hard reset).

QWeb

Message d'erreur :

Error while render the template
ValueError: View 'website_sale.cart_summary' in website 1 not found
Template: website_sale.address
Path: /t/t[2]/div/div/div[2]/div[2]/div/t[1]
Node: 

L'erreur s'est produite lors du rendu du modèle website_sale.address et de l'évaluation des expressions suivantes : 

Retraçage

Traceback (most recent call last):
  File "", line 904, in template_8187
  File "", line 886, in template_8187_content
  File "", line 88, in template_8187_t_call_0
  File "", line 5, in not_found_template
ValueError: View 'website_sale.cart_summary' in website 1 not found

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/odoo/src/odoo/17.0/odoo/http.py", line 1764, in _serve_db
    return service_model.retrying(self._serve_ir_http, self.env)
  File "/home/odoo/src/odoo/17.0/odoo/service/model.py", line 133, in retrying
    result = func()
  File "/home/odoo/src/odoo/17.0/odoo/http.py", line 1791, in _serve_ir_http
    response = self.dispatcher.dispatch(rule.endpoint, args)
  File "/home/odoo/src/odoo/17.0/odoo/http.py", line 1908, in dispatch
    return self.request.registry['ir.http']._dispatch(endpoint)
  File "/home/odoo/src/odoo/17.0/addons/website/models/ir_http.py", line 235, in _dispatch
    response = super()._dispatch(endpoint)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_http.py", line 224, in _dispatch
    result.flatten()
  File "/home/odoo/src/odoo/17.0/odoo/http.py", line 1313, in flatten
    self.response.append(self.render())
  File "/home/odoo/src/odoo/17.0/odoo/http.py", line 1305, in render
    return request.env["ir.ui.view"]._render_template(self.template, self.qcontext)
  File "/home/odoo/src/odoo/17.0/addons/website/models/ir_ui_view.py", line 442, in _render_template
    return super()._render_template(template, values=values)
  File "/home/odoo/src/enterprise/17.0/web_studio/models/ir_ui_view.py", line 1310, in _render_template
    return super(View, self)._render_template(template, values)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_ui_view.py", line 2051, in _render_template
    return self.env['ir.qweb']._render(template, values)
  File "/home/odoo/src/odoo/17.0/odoo/tools/profiler.py", line 292, in _tracked_method_render
    return method_render(self, template, values, **options)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 599, in _render
    result = ''.join(rendering)
  File "", line 910, in template_8187
odoo.addons.base.models.ir_qweb.QWebException: Error while render the template
ValueError: View 'website_sale.cart_summary' in website 1 not found
Template: website_sale.address
Path: /t/t[2]/div/div/div[2]/div[2]/div/t[1]
Node: 


Thank you in advance!


0
Avatar
Discard
Avatar
Amina
Author Best Answer

Hi,
I first tried this solution by Odoo Support:

1. Change the Key Name:

- Change the key name from "website_sale.cart_lines" to "website_sale.cart_lines-1".

- This modification should resolve the issue without impacting the backend database or other functionalities.

- The error often occurs when the same key name is used multiple times.


2. Testing:

- Please test the above change in a duplicate database first.

- Once you have successfully implemented and tested the change, you can then apply it to your production database.


That didn't resolve the issue for me, it was still indicating that the view "website_sale.cart_summary" was not found, so I've created a template for website_sale.cart_summary and added it, that worked!

I don't know if it's a good solution but it resolved the problem

0
Avatar
Discard
Avatar
Natalia Azcarraga Kuri
Best Answer

Same error, could you find a solution?

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
Internal Server Error Solved
error 500 internalerror Internalservererror
Avatar
Avatar
1
Sep 22
4544
?"Your country might be blocked by our hosting provider" error when I create new website
error
Avatar
0
Oct 25
586
Payment Page Return Error with Razorpay on Mobile Devices
error
Avatar
0
Sep 25
1194
How to remove ZIP code field in check out page ?
checkout
Avatar
0
Mar 25
1862
Error processing payment discount is no longer available or have expired
error ecommerce authorize.net discounts checkout
Avatar
0
Feb 25
1385
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