Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
4 Replies
2813 Tampilan

Everything I read is for older versions, which of course those steps no longer work on the new version. 

So I'll ask again hopefully someone can confirm. This is for V17 Online version.

Disable new user registration (Login ok but not registration) with eCommerce APP enabled.

If this is not an option to disable, can we atleast leave the registered account as a restricted account where they cannot make a purchase (default to a zero price, price group or another means of disabling checkout for them)?

Avatar
Buang
Jawaban Terbai

create a CSS file (hide_signup.css):

a[href*="/web/signup"] {

    display: none !important;

}

call in the ___manifest__.py

'assets': {

'web.assets_frontend': [

'your_module/static/src/css/hide_signup.css',

],

}

hopefully this advice works


Avatar
Buang
Jawaban Terbai

Hi Rajesh,

It works, but in Login page, is still a 'don't have an account' button, hohowever after redirect no signup forum (disable), but is there some way to remove 'don't have an account' button? o just hide it

Avatar
Buang
Penulis Jawaban Terbai

Thank you Rajesh!

This work around should be a good. I'm not to worried about users trying to find ways to get to the signup page. And I can register new accounts manually.

But I have 1 more question. These changes to the html, will the be overridden when updates are done to the version I'm on?

Avatar
Buang
Jawaban Terbai

Hey Gabriel, 

Since Odoo Online doesn’t allow direct customization, you need to rely on settings and potentially some technical workarounds:

1. Disable Guest Checkout from website setting (which I guess you already know after reading lot of frustrating answers)

2. Hide the Signup Option ( below way I think can be workaround)

technical > view modification  (I commented that signup-page view)


3. Hide the Sign up redirection on the login page as well . again its view html moditication

these above step - again are not proper way but workaround.

Best way is to take your odoo to the Odoo.sh - to have more customization capabilities. which is obviously needed as Odoo ecommerce is not - ready made for the B2B wholesale. 


On top of this , if further need to restrict the existing user - it can be done with the combination of defiing separate access rights and assigin it to all the ecomerce users and reducing the User interface with the help of View html modification can be achieved.

I hope I point you to some workable direction.

Thanks,

Rajesh 
ERP Consultant | Wholesale | Manufacturing| Integrations 
Silent Infotech Inc ( https://silentinfotech.com )

Avatar
Buang

Hi Rajesh,

It works, but in Login page, is still a 'don't have an account' button, hohowever after redirect no signup forum (disable), but is there some way to remove 'don't have an account' button? o just hide it

Post Terkait Replies Tampilan Aktivitas
0
Okt 24
1620
0
Mei 24
3151
2
Mar 24
1839
1
Feb 24
1529
2
Mar 25
2363