Commit Graph

160 Commits

Author SHA1 Message Date
Launchpad Translations on behalf of openerp 752df5acbd Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110905055933-cld0r3vv3jmiu5bx
bzr revid: launchpad_translations_on_behalf_of_openerp-20110906044018-ajk9u7zfqoiatufs
2011-09-06 04:40:18 +00:00
Olivier Dony 68854bdef0 [FIX] share: remove deprecated @default attribute for <filter>
bzr revid: odo@openerp.com-20110901082147-3gp1bnnqip2qda60
2011-09-01 10:21:47 +02:00
Launchpad Translations on behalf of openerp ae7b1699cb Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110823050537-7q5lx6k2wq8n70ld
bzr revid: launchpad_translations_on_behalf_of_openerp-20110824043728-ri9o75i5hp2tss1x
2011-08-24 04:37:28 +00:00
Launchpad Translations on behalf of openerp 063e28a83d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110820045348-7oh5zs7l4lr3zsq1
2011-08-20 04:53:48 +00:00
Launchpad Translations on behalf of openerp b93ee681aa Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110819043543-y0ffrzj9o2vtuktx
2011-08-19 04:35:43 +00:00
Launchpad Translations on behalf of openerp ac9c0e55b0 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110818043608-kjmi6rgmnpk2d36r
2011-08-18 04:36:08 +00:00
Raphael Collet f40c454fe4 adapt inherited views to new users form
bzr revid: rco@openerp.com-20110803081620-kzl9agsl7900tsdd
2011-08-03 10:16:20 +02:00
Raphael Collet 81a1eb18a1 [MERGE] from trunk
bzr revid: rco@openerp.com-20110718083424-kdaesx3gflza142a
2011-07-18 10:34:24 +02:00
Launchpad Translations on behalf of openerp 836dfd65b5 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110709045504-ux83biq0v8y4hryx
bzr revid: launchpad_translations_on_behalf_of_openerp-20110710043445-5lunm58m7o69ea13
bzr revid: launchpad_translations_on_behalf_of_openerp-20110711045137-koeggao4qyme5kg4
2011-07-11 04:51:37 +00:00
Raphael Collet 292b4683b6 [MERGE] add field 'complexity' in modules
bzr revid: rco@openerp.com-20110708100307-5axn5hnn92qm8qiw
2011-07-08 12:03:07 +02:00
Launchpad Translations on behalf of openerp a505c35f8f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110708044347-hlix53uc5vzzhmks
2011-07-08 04:43:47 +00:00
Hardik Ansodariy (OpenERP) 1f5aa0643f [IMP]: module is defined by its complexity
bzr revid: han@tinyerp.com-20110706122928-xvcpdu5inpkganfy
2011-07-06 17:59:28 +05:30
Olivier Dony ab51dd803c [MERGE] sync with trunk
bzr revid: odo@openerp.com-20110624102544-5gkueta6bkk1xd8j
2011-06-24 12:25:44 +02:00
Olivier Dony fe71f70e90 [FIX] share: urlescaping + typo
bzr revid: odo@openerp.com-20110624101727-jz3xfab71sio0afq
2011-06-24 12:17:27 +02:00
Olivier Dony 5cfa1974c6 [IMP] share,portal: improve sharing with portal group
Use a new strategy: documents are shared with a
temporary group, and when everything is setup,
the access rights are copied to the groups we are
sharing with, and the rules are transferred to them.
The temporary group is then deleted.
This works well for multiple shares, are both
access rights and rules are additive in this 
fashion.

bzr revid: odo@openerp.com-20110619170000-epst11y4aaichblh
2011-06-19 19:00:00 +02:00
Olivier Dony 981b3fa3e1 [FIX] share,portal: some quirks in share/portal integration
bzr revid: odo@openerp.com-20110619130345-2yf5t8zbqw2zcems
2011-06-19 15:03:45 +02:00
Olivier Dony b100984721 [IMP] share: more lenient context processing during cleanup for share
bzr revid: odo@openerp.com-20110619130102-1n3prfprr95vnqf8
2011-06-19 15:01:02 +02:00
Olivier Dony b2519288d5 [FIX] share: hide share users/groups in usual m2o search
bzr revid: odo@openerp.com-20110619125852-gsfoy9fyil71ws2m
2011-06-19 14:58:52 +02:00
Olivier Dony 2fc274eced [IMP] portal,share: moved option for group share to portal module + existing users option. Fixed obj1/2/3 classes to skip obj0 during processing of relationships.
bzr revid: odo@openerp.com-20110617092305-2c55z5hs2uickv5o
2011-06-17 11:23:05 +02:00
Launchpad Translations on behalf of openerp d9527bc6e4 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110611045707-80hy5o0jzhzgegg6
bzr revid: launchpad_translations_on_behalf_of_openerp-20110612045225-0cb8z6pthizjz5jw
bzr revid: launchpad_translations_on_behalf_of_openerp-20110613043706-3shtfzjbmfhs6ase
bzr revid: launchpad_translations_on_behalf_of_openerp-20110614044016-zvbl05dph25z6npc
bzr revid: launchpad_translations_on_behalf_of_openerp-20110615044012-k78a3yz2w70ywfhe
2011-06-15 04:40:12 +00:00
Olivier Dony 2b58c1ae22 [IMP] share: log sending of notification emails
bzr revid: odo@openerp.com-20110614122309-1bmdfol6rw18kw1g
2011-06-14 14:23:09 +02:00
Olivier Dony 95251e5036 [FIX] share: avoid creating ir.rule when o2m has a reverse relationship that is not a real m2o
This case happens rarely, but for example mailgate.message has
an integer res_id column, and some models (eg crm.lead) have
o2m columns that use it as a pseudo-m2o, with the help of a
filter (domain) on the model.
Share wizard will not create ir.rules that use these kind of
pseudo-m2o fields are real m2o.

bzr revid: odo@openerp.com-20110614121822-8936k24j37jbgiwt
2011-06-14 14:18:22 +02:00
Olivier Dony aa2285d3a0 [IMP] share: add optional message, simplify screens, auto-send email
bzr revid: odo@openerp.com-20110614110718-b1g040q5mk17htrj
2011-06-14 13:07:18 +02:00
Olivier Dony fe4680f6e9 [IMP] share: update local rule creation to take advantage of new ir.rule combinations
In v6.0, local rules in the same group were AND'ed, so
we had to compute rule combinations. Now we can simply
add a new rule, and it will be automatically OR'ed.

bzr revid: odo@openerp.com-20110601131146-7pek6a7grxiij03r
2011-06-01 15:11:46 +02:00
Olivier Dony e9ef1c6ab6 [IMP] share: renamed extended group for usability
bzr revid: odo@openerp.com-20110601130745-isgkoo68eufckon4
2011-06-01 15:07:45 +02:00
Olivier Dony c34a218159 [IMP] share: add option to specify shared access name
bzr revid: odo@openerp.com-20110601130655-9y63unr6eus9f20e
2011-06-01 15:06:55 +02:00
Olivier Dony 01861bd44e [IMP] share: add option to name the sharing access + improve button names
bzr revid: odo@openerp.com-20110601081049-ern1g43gg6l267yd
2011-06-01 10:10:49 +02:00
Olivier Dony e0653a5b53 [FIX] share: link should appear even if process module is not present
Also bumped up version number so web addon is upgraded automatically

bzr revid: odo@openerp.com-20110601080921-kgn8rtlgq0yvn9cc
2011-06-01 10:09:21 +02:00
Olivier Dony d5a7713c6b [MERGE] merged with latest trunk
bzr revid: odo@openerp.com-20110531141024-cymq5ye1h6vvgfxm
2011-05-31 16:10:24 +02:00
Launchpad Translations on behalf of openerp 12f8701002 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110510043731-q2jphpxofpk96w5o
bzr revid: launchpad_translations_on_behalf_of_openerp-20110511043751-nk6ku955bxwo1i7r
bzr revid: launchpad_translations_on_behalf_of_openerp-20110512043510-7y1qenjz8zlpvolt
2011-05-12 04:35:10 +00:00
Olivier Dony 685e29d9d3 [FIX] share: current user restrictions were not properly copied
This could lead to security issues, because shared users could
have more access rights than the user sharing the data.
The mechanism was working to copy them, but unfortunately not
working.

bzr revid: odo@openerp.com-20110505170756-ihkkzxy0485t43bd
2011-05-05 19:07:56 +02:00
Olivier Dony 085bf6d02f [FIX] share: share users with multi-shares should keep same home action
Previously they were assigned the generic menu as home action
but that is not very relevant because it does not contain their
shortcuts most of the time, and also this breaks the web client
in v6.0 as it does not support the Menu as home action.

bzr revid: odo@openerp.com-20110505170720-k0p7pjfkyadzc4pg
2011-05-05 19:07:20 +02:00
Olivier Dony 17eb9f1997 [FIX] share: use empty domain for shared actions, as ir.rules do enforce the filtering.
We must not use a normal domain for the shared action,
because it may be constructed with records the user may
not see (e.g. sharing tasks from a certain project does
not give right to see the project itself.)
Evaluating the domain of an action requires rights that
the user will not have. Moreover, this is useless because
ir.rules are created with each share access to filter
appropriately the records, and they are evaluated as 
root user without risk of failed access right.

bzr revid: odo@openerp.com-20110505170623-62zlf9mchq5zvqw2
2011-05-05 19:06:23 +02:00
Olivier Dony ae4d224302 [FIX] share: multi-sharing with an empty filter was not working
An empty share filter should be translated as a dummy ir.rule
to make sure it is properly combined with other rules after
multiple shared access are granted to the same user.

bzr revid: odo@openerp.com-20110505170525-obqif2mxnsod5mvo
2011-05-05 19:05:25 +02:00
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
Quentin (OpenERP) 15850af75e [MERGE] merged ksa's branch with naming for act window
bzr revid: qdp-launchpad@openerp.com-20110505091917-maesied9noy4m8ye
2011-05-05 11:19:17 +02:00
Launchpad Translations on behalf of openerp d553615695 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110429055618-q15rvfmlvfsl2im5
bzr revid: launchpad_translations_on_behalf_of_openerp-20110430045341-qzlphdlvqf2aa1zx
bzr revid: launchpad_translations_on_behalf_of_openerp-20110501045420-py2vl38b1o3mfs7o
bzr revid: launchpad_translations_on_behalf_of_openerp-20110502043731-ym2tvgj2djoitk8f
2011-05-02 04:37:31 +00:00
Launchpad Translations on behalf of openerp 0c72a7e647 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110427044142-sh0bye0l0c3k70dg
2011-04-27 04:41:42 +00:00
Olivier Dony 3cd35d5586 [FIX] share: web: fix share icon position for form views
bzr revid: odo@openerp.com-20110412000512-yanrte303scj0ort
2011-04-12 02:05:12 +02:00
Olivier Dony 3b5aa70813 [FIX] share: typo
bzr revid: odo@openerp.com-20110411235216-3tij6tlw7064dn7s
2011-04-12 01:52:16 +02:00
Olivier Dony d3974cfc84 [IMP] share: bumped up version to reflect latest changes
bzr revid: odo@openerp.com-20110408224423-obhcg3upj37dbpvl
2011-04-09 00:44:23 +02:00
Olivier Dony 0a6b44e6ca [IMP] portal: inherit share wizard to auto-create the menu
bzr revid: odo@openerp.com-20110408150951-q41mksjz1khb5zp8
2011-04-08 17:09:51 +02:00
Olivier Dony e165096efd [MERGE] merged RCO portal branch, including more recent trunk
bzr revid: odo@openerp.com-20110408133800-ts9t3tne7ixm09gz
2011-04-08 15:38:00 +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
Launchpad Translations on behalf of openerp 838512af0b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110401044755-ox0af9npzekocmtk
bzr revid: launchpad_translations_on_behalf_of_openerp-20110402045547-u88jxku3jz7ejycg
bzr revid: launchpad_translations_on_behalf_of_openerp-20110403044009-x9bqq57ukyqvp6ia
bzr revid: launchpad_translations_on_behalf_of_openerp-20110404044757-3uw7ib92gpv7ezu1
bzr revid: launchpad_translations_on_behalf_of_openerp-20110405044706-ew5moemiz1wxra7h
2011-04-05 04:47:06 +00:00
Launchpad Translations on behalf of openerp c5ca5a565f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110326050046-dq45skrem9w4mvec
bzr revid: launchpad_translations_on_behalf_of_openerp-20110327045332-0qk3wj2yahi6f7ty
bzr revid: launchpad_translations_on_behalf_of_openerp-20110328043636-fm3ded2ur36t8x6q
2011-03-28 04:36:36 +00:00
Launchpad Translations on behalf of openerp f35a989981 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110323043607-ydbntrwael93hvcn
2011-03-23 04:36:07 +00:00
Launchpad Translations on behalf of openerp 8c5349a683 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110320044558-ev1jrkafe83u2pxc
bzr revid: launchpad_translations_on_behalf_of_openerp-20110321044719-jq7brro8iejzgpqq
bzr revid: launchpad_translations_on_behalf_of_openerp-20110322043613-5hvgnsn9xs2glqfx
2011-03-22 04:36:13 +00:00
niv-openerp cf07e58016 [MERGE] Other improvements of descriptions in module manifests.
bzr revid: nicolas.vanhoren@openerp.com-20110318140618-jg2jumv3gyacfb74
2011-03-18 15:06:18 +01:00
vro 437ed909c2 [IMP]: Module descriptions.
bzr revid: vro@tinyerp.com-20110318114737-znh9wtipt84hc5jd
2011-03-18 17:17:37 +05:30