Community mailing list archives

community@mail.odoo.com

Re: Fwd: Access Error when confirming the sales order

by
Mohamed Hagag
- 06/30/2015 22:57:37

How are you Rami? and Ramadan Kareem for all ;) ,


for sure you are right, If this SO contains products with reordering rules / minimum stock rules or for any reason generates a procurement or a purchase order then the sales manager should get a purchase user permission.


Regards,


On 07/01/2015 04:43 AM, Rami Talat wrote:
<blockquote cite="mid:CAELMeov3yeu=MneH4KwQJfwvuGAB7bjQsU9fdi5MsHrSgpt-XQ@mail.gmail.com" type="cite">
Due to what Mohamed said before, if this user creates purchase quotations, then he has to have the Purchase rights also.
Please @Mohamed M. Hagag justify my answer.

On Wed, Jul 1, 2015 at 3:12 AM, Abu Helal <guru.abu.helal@gmail.com> wrote:
Another problem ...
When I granted the 'Sales manager' the 'Manufacturing Manager's rights, and when he is trying to confirm the quotation, this error pops up...

AccessError

Sorry, you are not allowed to access this document. Only users with the following access level are currently allowed to do that:
- Purchases/User
- Purchases/Manager
- Warehouse/User

(Document model: purchase.order)

Any ideas?!!!



On Tue, Jun 30, 2015 at 9:46 PM, Abu Helal <guru.abu.helal@gmail.com> wrote:
Thanks all for your clarification...

On Tue, Jun 30, 2015 at 9:33 PM, Mohamed M. Hagag <mohamedhagag1981@gmail.com> wrote:

In another words make your products normal products without BOMs and create & confirm SO


Then create MO manually based on the SO


the 3rd solution which I created for Sales, Warehouse, and Accounting is to create security record rules that for example will hide the MO from the sales manager after it get created.


In odoo with normal groups you have 2 options:

1- automation that will need more permissions per user - ex. sales user will need WH permission to generate delivery automatically from SO

2- Limit permissions per department / module and create some records manually .


Regards,


On 06/30/2015 08:48 PM, Ermin Trevisan wrote:
<blockquote cite="mid:5592E351.8040401@twanda.com" type="cite">

In that case you should only sell products, which do not involve any MRP functionalities. It is self explanatory that a sales manager needs corresponding access rights, when it concerns MRP operations. The meaning of an integrated system is that sales knows, what production can produce in which time frames. If you do not need any capacity and production planning, then do not use MRP and no products, which use MRP.

On 30.06.2015 20:33, Abu Helal wrote:
<blockquote cite="mid:CABTM-pMd6GuMDobRHxL=fCy-hoxsNZdzYqTkK81cX54f4W7M6Q@mail.gmail.com" type="cite">
Thx Mohammed and Rami for your reply
Basically, in my situation, the 'Sales manager' is the assumed person to approve the sales orders, and assumed also to not have the MRP rights.

On Tue, Jun 30, 2015 at 6:16 PM, Rami Talat <rami.talat@gmail.com> wrote:
Thanks Mohamed for your reply.
But this is supposed to be the Sales Manager! and should not have the Manufacturing rights. Am I right?

On Tue, Jun 30, 2015 at 7:29 AM, Mohamed M. Hagag <mohamedhagag1981@gmail.com> wrote:

This is a normal expected behaviour if the sales order generates a Manufacturing order .


In this case the SO must create a MO which needs that the user have MRP access .



On 06/30/2015 06:43 AM, Abu Helal wrote:
<blockquote cite="mid:CABTM-pMwTj1fBkPm-_9wqLeO908BZe=ZyVO662=72TikUjDq6Q@mail.gmail.com" type="cite">
Any ideas?

---------- Forwarded message ----------
From: Abu Helal <guru.abu.helal@gmail.com>
Date: Tue, Jun 23, 2015 at 6:22 AM
Subject: Access Error when confirming the sales order
To: "Odoo S.A. Community" <community@mail.odoo.com>


Hi community,

When the sales manager tries to confirm sales orders, he gets this error message...



AccessError
No value found for mrp.routing(864,).workcenter_lines 

While if a user has both the sales manager and the manufacturing manager's rights it passes with no exception!

I -of course- reviewed the privileges of that user and found nothing abnormal!

Can any one help?



_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


-- 
twanda AG
Ermin Trevisan
Artherstrasse 19
CH-6318 Walchwil 
T    +41 41 758 1515
M    +41 79 208 7373
E    trevi@twanda.com 
www.twanda.ch
www.ipadweinkarte.twanda.ch

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe



_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe