Odoo 11e: Multi Company user can't save Quotations under 2nd company when custom module is installed
This is Odoo Enterprise hosted on Odoo.sh
I have Multi Company set up with two companies.
I have a user, set for both companies in Allowed Companies.
When her Current Company is set as Company A, she is able to create and save Quotations without problem.
When her Current Company is set as Company B, she can not create and save Quotations, it returns the error:
The requested operation cannot be completed due to security restrictions.
Please contact your system administrator.
(Document type: account.invoice, Operation: read)
This ONLY happens within Company B, and ONLY when a custom module is installed which has a few View and Model extensions.
So what I need to know is, "account.invoice, Operation: read": where can I set this that it will be Read/Create/Write for both companies? It must be set correctly in general, because it works in Company A, but I don't know if I'm missing a step to transfer (if that's the correct word) the rights to when the user is in Company B.
And/or: Is there some extra permission/code I have to implement in the custom module to allow the permissions to extend to a second company?
odoo odoo-11
add a comment |
This is Odoo Enterprise hosted on Odoo.sh
I have Multi Company set up with two companies.
I have a user, set for both companies in Allowed Companies.
When her Current Company is set as Company A, she is able to create and save Quotations without problem.
When her Current Company is set as Company B, she can not create and save Quotations, it returns the error:
The requested operation cannot be completed due to security restrictions.
Please contact your system administrator.
(Document type: account.invoice, Operation: read)
This ONLY happens within Company B, and ONLY when a custom module is installed which has a few View and Model extensions.
So what I need to know is, "account.invoice, Operation: read": where can I set this that it will be Read/Create/Write for both companies? It must be set correctly in general, because it works in Company A, but I don't know if I'm missing a step to transfer (if that's the correct word) the rights to when the user is in Company B.
And/or: Is there some extra permission/code I have to implement in the custom module to allow the permissions to extend to a second company?
odoo odoo-11
add a comment |
This is Odoo Enterprise hosted on Odoo.sh
I have Multi Company set up with two companies.
I have a user, set for both companies in Allowed Companies.
When her Current Company is set as Company A, she is able to create and save Quotations without problem.
When her Current Company is set as Company B, she can not create and save Quotations, it returns the error:
The requested operation cannot be completed due to security restrictions.
Please contact your system administrator.
(Document type: account.invoice, Operation: read)
This ONLY happens within Company B, and ONLY when a custom module is installed which has a few View and Model extensions.
So what I need to know is, "account.invoice, Operation: read": where can I set this that it will be Read/Create/Write for both companies? It must be set correctly in general, because it works in Company A, but I don't know if I'm missing a step to transfer (if that's the correct word) the rights to when the user is in Company B.
And/or: Is there some extra permission/code I have to implement in the custom module to allow the permissions to extend to a second company?
odoo odoo-11
This is Odoo Enterprise hosted on Odoo.sh
I have Multi Company set up with two companies.
I have a user, set for both companies in Allowed Companies.
When her Current Company is set as Company A, she is able to create and save Quotations without problem.
When her Current Company is set as Company B, she can not create and save Quotations, it returns the error:
The requested operation cannot be completed due to security restrictions.
Please contact your system administrator.
(Document type: account.invoice, Operation: read)
This ONLY happens within Company B, and ONLY when a custom module is installed which has a few View and Model extensions.
So what I need to know is, "account.invoice, Operation: read": where can I set this that it will be Read/Create/Write for both companies? It must be set correctly in general, because it works in Company A, but I don't know if I'm missing a step to transfer (if that's the correct word) the rights to when the user is in Company B.
And/or: Is there some extra permission/code I have to implement in the custom module to allow the permissions to extend to a second company?
odoo odoo-11
odoo odoo-11
asked Nov 21 '18 at 15:21
sugapablosugapablo
1259
1259
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53415228%2fodoo-11e-multi-company-user-cant-save-quotations-under-2nd-company-when-custom%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53415228%2fodoo-11e-multi-company-user-cant-save-quotations-under-2nd-company-when-custom%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown