Hi,
I need a means to force user registration / login before a user is able to checkout in the eCommerce module. I've found some entry points on the topic for older Odoo versions but I need a solution for 10.
Help greatly appreciated!
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
I need a means to force user registration / login before a user is able to checkout in the eCommerce module. I've found some entry points on the topic for older Odoo versions but I need a solution for 10.
Help greatly appreciated!
Hi,
Add a controller to change access
from odoo.addons.website_sale.controllers.main import WebsiteSale
from odoo import http
class SaleController(WebsiteSale):
@http.route(auth='user')
def checkout(self, **post):
#the user is logged in to checkout
return super(SaleController, self).checkout(**post)
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
Remove database select from website login page
Diselesaikan
|
|
2
Okt 19
|
5274 | |
|
3
Jul 23
|
27206 | ||
|
2
Jun 22
|
5781 | ||
|
2
Sep 21
|
4732 | ||
|
1
Nov 20
|
8045 |