I have a problem in using openERP.
I uninstalled the base kanban module by accident, but I've succeeded to install it back:
But then my installed project management got uninstalled automatically, and now I can't install it back. It says:
"Constraint Error
You can not have two users with the same login !"
I've been looking for solutions through Google but I haven't found any.
"You can not have two users with the same login !" error raise in two condition, either in demo data you have define two or more users with same login or the user with this login already exits in db and it again going to crate user with same login,
please check it
Hope this help
"You can not have two users with the same login !" is an sql_constraint defined in res_users model. There must be a record in res_users in your database which has the login value as of the one you are creating. Also check that the one in the database may be active=False, so it will not appear in the normal tree view, but you can check it by adding an advanced filter in the view.
Related
I've installed a very basic custom module (contains one tiny model) and when i try to use it in a form i get the following error:
Sorry, you are not allowed to access this document. Please contact
your system administrator if you think this is an error.
(Document model: {model name here}) - (Operation: read, User: 2)
While i'm logged in as admin and have developer mode on (should be irrelevant). I haven't altered anything in the security directory that was generated by odoo-bin scaffold ...
Since Odoo 12 the user OdooBot user (ID 1) is now the super user and doesn't need rights explicitly. But user Admin (ID 2) needs them now. I bet your tiny module does not have any right definition (ir.model.access.csv) in it.
So either implement rights or for testing purposes switch to OdooBot (developer mode context menu).
In case anyone is having similar problem and have properly configured security definition then check if you spelled your reference model right. In may case I was referencing res.user (which does not exists) instead of res.users and got that error
I want to add a comment to a specific user and, if that user at the moment online,then that user to show a notification regarding to that comment.
And later I want to add messaging system too.
I followed many articles, they are using #aspnet/signalr-client package in angular app.But I can't install it and occurs this error
This package has been deprecated. Use '#aspnet/signalr' instead.
I wasted much time for this problem.
Can you please give me an article or any other code related to this problem.
What I want to know is,
How to connect user with server and connected users between communication.then
When user log into system after that user's friends to indicate
current user in their friends list.
If that user logout / disconnect then also that users friends to
indicate it.
If a specific user to add comment then that user online at that
moment,that user to see is it as a notification
3rd one is very important.If someone can give a piece of code for this,very helpful to me
You need to use #aspnet/signalr package which is stated in GitHub Repository of AspNetCore
Here is Samples which you can take a look.
For basic tutorial (simply how to start): Reference
I'm running Odoo 11.0 CE 20180126.
Normal users get an error when trying to create a new partner under contacts, telling them that they need to be admin.
The extra permissions to create contacts are set, the buttons appears and the form can be called. But the below error message immediately pops up.
Weirdly enough users can edit existing contacts but not create new ones.
Any help is greatly appreciated.
The issue was an interaction with another module which restricted the access. Solution was to remove the unused module.
I try to get information from users on a new openldap server,
I want to get the current count of login attempt,
but the only thing I get from the internet is an attribute named 'badPwdCount' but it's only for Microsoft AD.
If anybody know it, please tell m, or if is there a good documentation about the hidden attributs that we can't get with a simple '*'.
You need to install and configure the ppolicy overlay, and then query the operational attribute pwdFailureTime. The number of values of this attribute is the count of the most recent login failures. When the user logs in successfully it is cleared.
I'm working on a marketplace website. The idea is to allow for suppliers to login, add their products, view orders, generate reports etc.
I'm using Spree Commerce, and I see everyone suggesting to use spree-drop-ship extension to achieve all/part of above.(it's not really clear from the documentation, all the features that spree-drop-ship is supposed to add)
I've followed 'demo' instructions from https://github.com/spree-contrib/spree_drop_ship and successfully installed spree with the dropship extension, I can see 'suppliers' tab in /admin page. BUT I don't understand how the suppliers are supposed to login. They don't appear to be special user(actually I can't see in Users any supplier), and also when creating new supplier there is no way to set a password.
So my question is, how are supplier supposed to login, i.e. how they/I create supplier user and set password.
Thank you in advance,
- Jack
Note:
I know there is also 'marketplace' extension, which is not maintained anymore by #JDutil, but from what I understand it was solving payment issues to the dropshipper.
I think this is still in progress, Please see the following steps.
Register a normal User
From Admin, Add a new supplier. Add the user created above in the user field in new supplier form.
Login as a normal user, using the user from step 1.
It logs in as a normal user.
Now, goto /admin and it will show you supplier admin panel. But, Not able to add a product from here. It shows "Authorization error" when we click on "Add new" link.
Any help would be great.
For this you just need to signup as normal user then from admin panel, from suppliers tab admin can assign a user as supplier. Hope it is helpful for you.