Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
4 Odpowiedzi
2882 Widoki

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)?

Awatar
Odrzuć
Najlepsza odpowiedź

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


Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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?

Awatar
Odrzuć
Najlepsza odpowiedź

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 )

Awatar
Odrzuć

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

Powiązane posty Odpowiedzi Widoki Czynność
0
paź 24
1656
0
maj 24
3209
2
mar 24
1888
1
lut 24
1589
2
mar 25
2447