Commit Graph
19 Commits
Author SHA1 Message Date
Olivier Dony 0870f6e3d5 [FIX] share: avoid crash in web addon with empty share filter
bzr revid: odo@openerp.com-20110505170312-zft5wiszaxng8n6q
2011-05-05 19:03:12 +02:00
Olivier Dony 6922668a77 [IMP] share: improved shared wizard
New features: can share to groups if user has "Share / User (Extended)"
group. Warning message if user does not have email and cannot share by
email. Names of sharing groups are now hidden in ORM access denied messages.
Better error reporting.
UI: more user-friendly labels, titles. More visibible button in web client.
Bugfixes: better handling of sharing objects with _inherits, can combine
ir.rules if already exist for same (object,group). Button is now hidden
in web client if user is not in "Share/User" group.

bzr revid: odo@openerp.com-20110408133608-vmdrzfeo0dz28wer
2011-04-08 15:36:08 +02:00
Olivier Dony 15e686e1b0 [FIX] share(web): action_id should be passed as an integer
bzr revid: odo@openerp.com-20110222172147-wirqzv14fta1af2q
2011-02-22 18:21:47 +01:00
Olivier Dony 07f520a856 [MERGE] merged bugfixes from 6.0 up to revision 4401
bzr revid: odo@openerp.com-20110214114507-8uwohpcblsfhgjae
2011-02-14 12:45:07 +01:00
Xavier Morel b0d1c26a07 [FIX] pad, share, wiki: update import to openobject.rpc instead of openerp.utils.rpc (package moved back into core)
Also removed a few unused imports

bzr revid: xmo@openerp.com-20110210161042-aq414sd3i4p6abka
2011-02-10 17:10:42 +01:00
Xavier Morel 804fa924cf [FIX] share: share wizard would not open in some cases due to view_id not being found in ir_act_window
Switch to using the action_id itself instead of reverse-matching action_id from view_id
* Not all ir_act_window have a view_id, for some we're supposed to go through ir_act_window_view
* Multiple ir_act_window (or ir_act_window_view) may have the same view_id, and we don't really have enough information to select the right one

Keep the old resolution via view_id for now, in case users update their web client and their addons out of sync

bzr revid: xmo@openerp.com-20110208123241-lj8v12ygz2a0jsgx
2011-02-08 13:32:41 +01:00
Xavier Morel 90fdc7244d [IMP] share: go through RPCProxy instead of raw rpc.session.execute
bzr revid: xmo@openerp.com-20110121200348-9hardo2hog798ck7
2011-01-21 21:03:48 +01:00
Olivier Dony f9c1dae400 [MERGE] backport of share and pad modules bugfixes
bzr revid: odo@openerp.com-20110120134858-snml4uyo0yb6mtra
2011-01-20 14:48:58 +01:00
Xavier Morel 1168590120 [FIX] share: find action's id by reverse-matching on the view_id instead of the view name, as the name can be localized (and will fail to match for non-english installations, or even potentially non-US-english installations for some view)
bzr revid: xmo@openerp.com-20110120113929-9tp1e9nadbgcgnki
2011-01-20 12:39:29 +01:00
Xavier Morel 21724da22b [REV] share: 4340 changes
bzr revid: xmo@openerp.com-20110120110738-nupvsxcefaugaysg
2011-01-20 12:07:38 +01:00
vda (Open ERP) 68b23d5226 [FIX] Add type url in pad,for share add act_window option of active_id.
bzr revid: vda@tinyerp.com-20110120060215-ih3ia6b3j068uty5
2011-01-20 11:32:15 +05:30
Xavier Morel e581a46bae [FIX] share: send correct share_root_url to server action, add dbname to share_root_url so user can actually be logged in if server has multiple dbs
bzr revid: xmo@openerp.com-20101122125334-w0cpt1p4s471q1wb
2010-11-22 13:53:34 +01:00
Xavier Morel 0ad1fbaefb [IMP] share: use **kwargs in dict.update call instead of creating a second dict within it
bzr revid: xmo@openerp.com-20101122121955-8b4b09m1xgzocjqx
2010-11-22 13:19:55 +01:00
Xavier Morel c8b4041d70 [IMP] action: formatting of ShareWizardController.index, bail out early to reduce nesting
bzr revid: xmo@openerp.com-20101122121813-ih6qf4d5jrif914d
2010-11-22 13:18:13 +01:00
Xavier Morel fa3bda7f54 [IMP] share: cleanup whitespace in web module
bzr revid: xmo@openerp.com-20101122121422-f36nnn86uc7jt6b5
2010-11-22 13:14:22 +01:00
Xavier Morel 11d5607f05 [FIX] share: naming of classes in web module
bzr revid: xmo@openerp.com-20101122121227-bjx7fi4r3ospdml1
2010-11-22 13:12:27 +01:00
vda (Open ERP) 4342ea1252 [FIX] Fixed share action according to framework,share_root_url.
bzr revid: vda@tinyerp.com-20101120070051-vnlh1dp99shaxpoa
2010-11-20 12:30:51 +05:30
vda (Open ERP) 15f8f81e05 [FIX] Improved share action method,share url and passed active db in email.
bzr revid: vda@tinyerp.com-20101115103706-vhkrxbnrw73sljmr
2010-11-15 16:07:06 +05:30
vda (Open ERP) 988ad9ccc9 [IMP] Share web addon.
bzr revid: vda@tinyerp.com-20101110071832-ftzgmrd3trsz0icr
2010-11-10 12:48:32 +05:30