2012/11/30 Arnaud Pineux (OpenERP) <[email protected]> > Hello everybody, > > The share module sent wrong url to share document but even if we just > fixes it, we will not be able to share every document. > To read a document you need the access right for that document and also > for its dependencies and its relation (many2many, ...). > Almost every model (document) is defined with these relationship but there > are sometimes, fields "function" which need a specific model in their > functions. In that case, we cannot create "read access right"
IMHO this have solution, but is not a 2 hours one. If you put a generic method that with created action to open the model and created or linked user try to "read" the document, put in a try, the traceback due to __internal permisions__ inside function fields will appear, in this case catch the model AND ask the user if he is sure to allow other user read that object, or simply hide it in the client side (this should be the default behaviour) Is really sad that a feature as cool as this is totally broken by default, object per object you easylly can expend 20 hours in ACL testing to say "It is working." I am talking with experience on it. At least you want to show one object without usefull information to customer is so so so difficult put in production OOB this feature. IMHO if this will be one of the social features ready to use in V7 we should expend the necesary time to at least propose extra official addons that enable object per object or improve the ACL rules in the core. Regards.! > because we cannot look inside every function. > In conclusion, the share module works (and will be soon released) for > almost every model (document) but there are still limitations. > (For example: Invoice and sale order can be shared to anyone). > Good luck to everybody, > > Arnaud Pineux > > -- > You received this bug notification because you are subscribed to OpenERP > Project Group. > https://bugs.launchpad.net/bugs/1004833 > > Title: > [6.1/Trunk] Share module doesn't work > > Status in OpenERP Addons (modules): > In Progress > > Bug description: > Hello, > > I'm trying to use the "share" function with a customer invoice. > > The e-mail is sent correctly to the recipient, and the recipient can > connect using his e-mail address as login and the password received. > However the result is the following error message: > > AccessError > You can not read this document (account.journal) ! Be sure your user > belongs to one of these groups: User, Human Resources / User, Manager, > Invoicing & Payments. > > Best regards, > > -sbi > > To manage notifications about this bug go to: > https://bugs.launchpad.net/openobject-addons/+bug/1004833/+subscriptions > -- -------------------- Saludos Cordiales Nhomar G. Hernandez M. +58-414-4110269 Skype: nhomar00 Web-Blog: http://geronimo.com.ve Servicios IT: http://vauxoo.com Linux-Counter: 467724 Correos: [email protected] [email protected] twitter @nhomar -- You received this bug notification because you are a member of OpenERP Indian Team, which is subscribed to OpenERP Addons. https://bugs.launchpad.net/bugs/1004833 Title: [6.1/Trunk] Share module doesn't work Status in OpenERP Addons (modules): In Progress Bug description: Hello, I'm trying to use the "share" function with a customer invoice. The e-mail is sent correctly to the recipient, and the recipient can connect using his e-mail address as login and the password received. However the result is the following error message: AccessError You can not read this document (account.journal) ! Be sure your user belongs to one of these groups: User, Human Resources / User, Manager, Invoicing & Payments. Best regards, -sbi To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-addons/+bug/1004833/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~openerp-india Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-india More help : https://help.launchpad.net/ListHelp

