Seems like this is a work in progress thread which I'll be answering on my own.

Thinking I just need to create a read-only version of the view by setting all 
fields to read-only. Then I give both users update and read access.

Then it looks like I can use fields_view_get on res_partners. Here's a piece of 
code that seems to do similar.

http://bazaar.launchpad.net/~openerp-commiter/openobject-addons/stable_5.0-extra-addons/annotate/head%3A/fleet_maintenance/stock.py

I can switch the view to the new one but I am not working out how to use the 
context.get or how to see if a user is in a group or if customer is true.




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=54597#54597

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users

Reply via email to