← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 706886] Re: workflow 'group required' field not working

 

Hello Colin MacMillan,

If you are giving the rights on your particular user then you have to set group on the work-flow buttons. 
And then assign this groups to your user.

Now you can see those buttons for only this user.

By doing this way, you can prevent the user from executing any work flow
of the system. You can refer the same thing from the line-96 of
hr_holidays_view.xml.

Thanks.

** Changed in: openobject-addons
       Status: New => Invalid

** Converted to question:
   https://answers.launchpad.net/openobject-addons/+question/142664

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/706886

Title:
  workflow 'group required' field not working

Status in OpenERP Modules (addons):
  Invalid

Bug description:
  As an example, the Purchase Order workflow ...

  The Draft state has two outgoing transitions - Confirmed
  (purchase_confirm) and Cancel (purchase_cancel).

  If I create a 'Group Required' entry for the confirmed transition.
  Nothing happens.  If my user does not have that group assigned, I
  *should* be prevented from moving along the next stage of the
  workflow.

  I checked the code (but I'm not a programmer) and it does not look
  like the Group Required field is evaluated.  Check -
  wkf_confirm_order()

  I might be missing something but it does not seem that this
  functionality has been implemented.

  I also checked Sales Orders with the same result.





References