Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding tasks to SO's for restricted users
#1
This may be some simple thing I overlook, but I can't find it. I want to give a certain profile/group access to create a task from the related modules below a Sales Order. So I enabled 'create/change' on tasks for this group. This works for almost every module now (like accounts, helpdesk), but not for Sales Orders. Is there a special setting I need to set to make this work? I can do this from my account (admin), so it must be possible.
Reply
#2
Hi,

SalesOrder get_activities function was missing support for events. Update or apply this patch and give it a try:

https://github.com/tsolucio/corebos/comm...775c898ecf
Joe
TSolucio
Reply
#3
Thanks! This brings 'activities' to be added for normal non-admin users. I haven't found how to bring tasks also, maybe we need a Global Variable setting for this?
Reply
#4
Tasks was already there, it is the block right above the first one added in the patch above:

https://github.com/tsolucio/corebos/blob...r.php#L190

if the current user has permission to access the "parent_id" field on Calendar module they will see the "Add Task" button. I tried this with both admin and normal user in my development install and it is there.
Joe
TSolucio
Reply
#5
I see. It was an issue of the 'lock-symbol' in the profile settings. The field was set as visible but locked. Therefor the 'add task' button did not appear. Sometimes these things can be a bit vague in my opinion (which is more of a vTiger fault if you ask me), you need a bit of trial and error to get the behaviour you want.
Reply
#6
I agree, I have been here so long that I lose that perspective :-)
Joe
TSolucio
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)