Hi the scenario is like this .
I have a record and that recoed is editable in all states except approved .
I have three groups.
group_A, group_B, group_C and group A and B can edit it in draft and new states . and group C can edit it once the record is in approved state.
'timesheet_ot_ids' : fields.one2many('timesheet.ot.line', 'sheet_otid',
'Timesheet OT lines',
'draft': [('readonly', False)],
'new': [('readonly', False)]}
and i need to make it editable for users from a particular group even though the state is approved .
Appreciate your help .
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 5/21/14, 6:47 AM|
|Seen: 1003 times|
|Last updated: 3/16/15, 8:10 AM|