how to get rid of security restriction error in odoo pos? - security

i'am using multi company odoo 12 , and i have more then 8 companies each one has it's own POS , but most of them the get too much popup errors with different records while the cashier on the screen of the pos with restriction rules and this the content of error "the requested operation can't be due to the security restriction please contact your system administrator.
(document type: product, Operation: read)
(Records :[21343, 23423, 23434, ........], user: 9)
if i access the parent company and searched for the records i found it's belongs to another company , why this error appear and how can i get ride of it ?

Related

AzureAD Graph API - Getting the delta of users in a group

We are using the MS Graph API and would like to check the changes of users in a certain group. Currently we get the users via this query:
https://graph.microsoft.com/v1.0/groups/group-id/members
This is how we retrieved the delta of the group:
https://graph.microsoft.com/v1.0/groups/delta?$filter=id eq 'GroupId'&$select=members
Now my question would be if there is a way to relate this delta only to users in this group.
I can see a result when I add or delete a user from the group, but I need a result, even if the name, street or something else getting changed.
I would be very grateful for any feedback.
Kind regards
There are limited supported-resources to query delta , which includes groups, Users etc but not particularly for member and its properties of one such group.
I tried to query for members this way and got unsupported error
https://graph.microsoft.com/v1.0/groups/xxxxxxxx/members/delta?$select=displayName,jobTitle,mobilePhone
But you may retrieve members of all groups whose membership changes, such as when users are added or removed /( updated ) as you knew .
I’ve tried this way with prefer: return=minimal 'header' to return only the object properties that have changed since the last round. and got removed and updated users but their properties that changed are not listed .We may need to copy the user Id that changed and query for that using user-delta
https://graph.microsoft.com/beta/groups/delta?$filter=id+eq+'xxxx-xxxxa-xxxxx52eb'&$select=members+&$select=displayName
(or)
https://graph.microsoft.com/beta/groups/delta?$filter=id+eq+'xxxx2-xxxxxxxxeb'&$expand=members
To filter separately for other properties like jobTitle ,its not valid .
https://graph.microsoft.com/beta/groups/delta?$filter=id+eq+'xxxxxxxxxxxx2-xxx'&$expand=members+&$select=displayName,jobTitle,mobilePhone
You can raise a Support request for the same.
References :
delta-query-groups | Microsoft Docssupported-resources
microsoft-graph-issues

Getting error "Invalid Subsidiary Combination" after submitting Timesheet record in Netsuite

I am updating timesheet record through client script but on Submitting the record getting an error as "Invalid Subsidiary Combination".
PS: I am working on 15.2 latest version of Netsuite
I had a similar issue with one of our cost rollup script that works with time tracking(timebill) - check the accounts related the employee/project/labor item etc - if the accounts are not exposed to the subsidiaries in question - this can happen.Also if you are using consolidation or elimination subsidiary, make sure that those are not the subsidiaries in context. In our case one project was mistakenly assigned to our consolidation subsidiary thus causing subsidiary mis-match.
That error message usually means the subsidiary and employee location don't match. i.e. the employee and/or their location are not part of the subsidiary you specified.

Permission error when saving a document

I've workflow application using 8 xpages. It was working fine upto this moment and all of sudden when saving new document for any xpage, it started giving the following error:
Unexpected runtime error
The runtime has encountered an unexpected error.
Error source
Page Name:/XpNew.xsp
Exception
Error saving data source document1
Could not save the document 44F2A NotesException: Notes error: You cannot update or delete the document(s) since you are not listed as an allowable Author for this document
Even though I've manager access to the database. It is also weird that it started giving error on test and production server. I also ran compact with -c and still the same issue.
Ran Fixup and still same issue.
In this situation, since it appears to be a core Notes exception and not anything at the XSP layer, I'd look into ACLs first. Are you manager by way of being in a group? And if so, has that group changed in any way recently, or is it specified in a secondary Directory referenced via Directory Assistance? I've had situations where the HTTP task just sort of "forgets" group membership from a secondary Directory until I restart it.
Another potential source of trouble could be the "Maximum Internet name and password" field on the database's ACL's Advanced tab - if that's set to Author, it will override whatever your real access is.
As a troubleshooting step, I'd make an XPage with this in a computed text item:
database.queryAccess(session.getEffectiveUserName());
That should return your numeric access level. Additionally, to check on the first paragraph's theory, you could add a Form or Page with a computed value of:
#UserNamesList
That will give you a list of all effective names, groups, and roles for the current user in the current database.
There was a Authors field on Notes form with value #Username which was returning value in hierarchical form as First Name/Company.
Changed the formula to #Name([Canonicalize];#UserName) and Maximum access Level thru web kept default editor. This resolve the issue. Now it is saving documents without any issue.
Thanks everybody for help

people picker gives error custommembershipprovider no exact match

In my sharepoint project i have list(meeting) and it has a column named as participant
the participant column type is "person or group"
and in 'my meeting add page' this column is represented as a people picker textbox.
but when i try to add a new user in this box i m getting custommembershipprovider:no exacth match error
i attached the picture of the situtation. by the way this project is not written by me and i m new in sharepoint.
not: two days ago it was working. then we went into iis manager. we changed the identity of some application pools. I think the reason is this. but i do not know how to fix it since i do not know what it should be.
so what can be the possible problems.
in addition to this for sharepoint web sites there are a lot of application pool. what was the configration of this?

Sql Server analysis Services 2008 Dynamic dimension security using MDX expression

Some dimension tables in my warehouse:
DML
Site
Id bigint
Name nvarchar(256)
Primary key (Id)
DATA
SiteId Name
2 Site 2
3 Site A
DML
UserSite
Username nvarchar(256)
SiteId bigint
Primary key (Username, SiteId)
Foreign key (SiteId) referrences Site(Id)
DATA
Username SiteId
EMSUser1 2
EMSUser1 3
EMSUser2 3
My SSAS Project:
I have used these two dimension tables in one dimension in a BIDS project, created using the dimension wizard.
The usernames relate to two local windows user accounts on the SSAS Server, they are members of a local windows
group ReportBrowsers. I have created a Role for that group in BIDS and added an MDX Expression to the dimension Data tab
for this dimension in the AllowedSet box for the Username attribute:
STRTOMEMBER("[UserSiteSite].[Username].["+Trim(Mid( UserName, InStr(1, UserName, "\")+ 1,128))+"]")
This dimension is used in a cube that's all processed and deployed. I then have an SSRS Report based on that cube.
My intention:
What I'm trying to do is take the logged in user currently browsing SSRS and remove the "<domain>\" part of the string returned
effectively filtering the results to just the sites that username has a record for.
So for EMSUser1 I should see records for both sites, but it appears to be allowing the first one only ("Site 2" with Id 2)
There's no sign of "Site A" even though records exist for that site in the fact table.
I've been trawling through Analysis Services 2008 unleashed and the step by step book and all over blogs etc.
I just can't quite grok the internal workings to achieve my goal.
What am I doing wrong?
Well it's been some time now. I don't have the complete answer even now but I did get some help else where that has lead me to a solution. The details can be found here.
There are a lot of ways to solve this kind of scenario. I feel there may still be a better one for me, but I have something that at least works. Basically create a seperate class library with a static class and function that makes it's own connection to the database and selects out the allowed set. If you reference the Microsoft.AnalysisServices
and Microsoft.AnalysisServices.AdomdServer namespaces you can return a 'Set' object. You can then call this function in the Role objects Dimension data advance tab:
MyAssembly.MyMethod(UserName)

Resources