Fields Level Permission for Create

Registered by Mantavya Gajjar (Open ERP)

What's already Implemeneted is We can define the permission on the fields for read and write as follows
'emp_id':fields.many2one('res.users','Employee escalated',write=["crm.group_crm_user"],read=["crm.group_crm_user","crm.group_crm_manager"]),

but the proble is if we give the only read access and no write access then and only we can create the new record and set the value for that fields even the related user have only read permission

need to makc a changes smoethings like

if Read permission only - then allow to read only
if Write Permission Only then - Allow Write + Read permission
if create Permission Only then - Allow Create + Read

so already developed

read = []
write = []

need to implement
create = []

Blueprint information

Status:
Complete
Approver:
None
Priority:
Medium
Drafter:
Mantavya Gajjar (Open ERP)
Direction:
Approved
Assignee:
Mantavya Gajjar (Open ERP)
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Mantavya Gajjar (Open ERP)
Completed by
Mantavya Gajjar (Open ERP)

Sprints

Whiteboard

No, I don't think so.

If read: allow read
If write: allow create and write.

No need for a create permission. So, I don't think we should change something.

Implemented the same things in trunk server

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.