Commit Graph

163 Commits

Author SHA1 Message Date
Thibault Delavallée 620b7e9b11 [IMP] Addons: user_email -> email.
bzr revid: tde@openerp.com-20120810144339-30ro9omgfxtjtjyz
2012-08-10 16:43:39 +02:00
Twinkle Christian (OpenERP) fc1b1749a8 [IMP]Remove type field from the modules
bzr revid: tch@tinyerp.com-20120809060516-zgx3gdyv6wdshfyw
2012-08-09 11:35:16 +05:30
Antonin Bourguignon 54bbe3d78b [MERGE] exception and warning messages improvement
bzr revid: abo@openerp.com-20120808130608-tnk060lr543nqn2n
2012-08-08 15:06:08 +02:00
Christophe Simonis 6c12d5b308 [FIX] correct home and login urls
bzr revid: chs@openerp.com-20120808120214-13k9qgzx8gu330cs
2012-08-08 14:02:14 +02:00
Twinkle Christian (OpenERP) 2e689ca4e0 [IMP]improved views
bzr revid: tch@tinyerp.com-20120807093734-0u3ozi0hn7rxiy2q
2012-08-07 15:07:34 +05:30
Saurang Suthar(OpenERP) 7e978dce74 [IMP] Improved warning messages for report_webkit, share and wiki modules
bzr revid: pso@tinyerp.com-20120722134024-hu4fbdhw5ga8p1u7
2012-07-22 19:10:24 +05:30
pso (OpenERP) d5d97cb6e3 [MERGE] Improved warning messages for report_webkit, share and wiki modules
bzr revid: pso@tinyerp.com-20120722131934-j9rbotugz3ymvt4m
2012-07-22 18:49:34 +05:30
Fabien Pinckaers 6c524cf107 [IMP] remove menu tips
bzr revid: fp@openerp.com-20120717064638-pg19mfj959vttw20
2012-07-17 08:46:38 +02:00
Fabien Pinckaers 64a9321d56 [IMP] footer on forms
bzr revid: fp@tinyerp.com-20120710164011-unqi1okf2uu8yhts
2012-07-10 18:40:11 +02:00
Thibault Delavallée b9081b29c1 [IMP] Invite/Share: hide email_lines when workign with (portal) groups.
bzr revid: tde@openerp.com-20120702095133-79986yd46zsyf94x
2012-07-02 11:51:33 +02:00
Thibault Delavallée 4d49b59c73 [IMP] share_wizard: added some string and help in the wizard fields. Also osv_memoy -> TransientModel.
bzr revid: tde@openerp.com-20120629132251-zzck7hmjfntz4c8v
2012-06-29 15:22:51 +02:00
Thibault Delavallée a4a116d502 [IMP] Share: embed mode: cleaned wizard form view.
bzr revid: tde@openerp.com-20120629132142-j2et1zdopayjzygr
2012-06-29 15:21:42 +02:00
Thibault Delavallée d8cb7505b9 [IMP] Share wizard, share mode: cleaned form view.
bzr revid: tde@openerp.com-20120629131114-h5jldqhsdxhgcivf
2012-06-29 15:11:14 +02:00
Thibault Delavallée ac5871490e [MERGE] Merged with main addons.
bzr revid: tde@openerp.com-20120629122606-jcqebhhtuqqpjvqm
2012-06-29 14:26:06 +02:00
Raphael Collet 5133bee1d5 [FIX] in form views, replace class 'oe_highlight_on_dirty' by 'oe_highlight'
bzr revid: rco@openerp.com-20120629083024-rqhtbf9melkygg0m
2012-06-29 10:30:24 +02:00
Thibault Delavallée 4dd9c631ac [FIX] share: fixed mail data, added password and action if present. Coming from trunk-openchatter-part3-tde branch.
bzr revid: tde@openerp.com-20120629074538-rq82fo9brb1qga2v
2012-06-29 09:45:38 +02:00
Raphael Collet 2963e31ebf [MERGE] from trunk
bzr revid: rco@openerp.com-20120628142628-qi35145b8hsvpsfi
2012-06-28 16:26:28 +02:00
Raphael Collet 1debe0efcd [MERGE] from trunk
bzr revid: rco@openerp.com-20120628131210-hyx2t1lqbl5hwm9g
2012-06-28 15:12:10 +02:00
Quentin (OpenERP) 25fc3c3ec5 [MERGE] merged main trunk branch
bzr revid: qdp-launchpad@openerp.com-20120628114905-nnnho2mngndimj9b
2012-06-28 13:49:05 +02:00
Quentin (OpenERP) b2af135b03 [MERGE] lp: 974285
bzr revid: qdp-launchpad@openerp.com-20120627143910-whtbesexzaaa1cfh
2012-06-27 16:39:10 +02:00
Jigar Amin - OpenERP 11224704cd [FIX] purchase*, sale, share, report_webkit, buton cancel
bzr revid: jam@tinyerp.com-20120627134530-141mzncfffkmjrom
2012-06-27 19:15:30 +05:30
Antony Lesuisse f17b0eea00 [MERGE] Use Email everywhere
bzr revid: al@openerp.com-20120627131528-u97jw0m7cq2825ll
2012-06-27 15:15:28 +02:00
Jigar Amin - OpenERP 7c645856fe [MERGE] lp:openobject-addons
bzr revid: jam@tinyerp.com-20120627114052-094g4yequ34sr59d
2012-06-27 17:10:52 +05:30
Twinkle (OpenERP) 471037495c [IMP]Apply css class flow on wizards buttons
bzr revid: tch@tinyerp.com-20120626063119-5i93di16milljxap
2012-06-26 12:01:19 +05:30
Jigar Amin - OpenERP d9db3c44df [REN] renamed e-mail, E-mail, E-Mail to email, Email
bzr revid: jam@tinyerp.com-20120625134253-sebauihl53zctcu0
2012-06-25 19:12:53 +05:30
Twinkle (OpenERP) 0e97cefe9e [IMP]Improve wizard button
bzr revid: tch@tinyerp.com-20120625100901-ucjbttxod55erqmf
2012-06-25 15:39:01 +05:30
Kuldeep Joshi (OpenERP) 3c50eb017a [IMP] set logging.getLogger(__name__)
bzr revid: kjo@tinyerp.com-20120622064854-5f6fss55k7305e8q
2012-06-22 12:18:54 +05:30
Jigar Amin - OpenERP ae34954e1d [MERGE] lp:~openerp-dev/openobject-addons/trunk-wiz-remove-btn-highlight-tch
bzr revid: jam@tinyerp.com-20120620123242-tvm11xx0s3olkdif
2012-06-20 18:02:42 +05:30
Twinkle (OpenERP) 660cc67256 [IMP]Added highlight button on wizard
bzr revid: tch@tinyerp.com-20120620104923-z1hty740vn160fg9
2012-06-20 16:19:23 +05:30
Twinkle (OpenERP) 1c4476e8b6 [IMP]Improve wizard usability
bzr revid: tch@tinyerp.com-20120620073712-xql1mgekjyb7ufwv
2012-06-20 13:07:12 +05:30
Turkesh Patel (Open ERP) 2c921133e7 [IMP] share: remove cancel button and improved view of wizard.
bzr revid: tpa@tinyerp.com-20120615104112-wm3ta76wum1181kc
2012-06-15 16:11:12 +05:30
Fabien Pinckaers 1f885950b4 [FIX] headers
bzr revid: fp@tinyerp.com-20120609222849-gm9loztzarjyn7pl
2012-06-10 00:28:49 +02:00
Fabien Pinckaers fcc3896f5f [IMP] form view, removed project_planning
bzr revid: fp@tinyerp.com-20120609203127-hzdb9tuua0dmydh0
2012-06-09 22:31:27 +02:00
Xavier ALT 3157a06762 [FIX] share: fix error on user creation, missing 'company_ids' raising constraint ValidationError
bzr revid: xal@openerp.com-20120427083059-bziyfqba9la31sx8
2012-04-27 10:30:59 +02:00
Mayur Maheshwari (OpenERP) 9e59ce8812 [IMP]all: Improve all typos
bzr revid: mma@tinyerp.com-20120424060532-ohrf0sxwq8rpq6ls
2012-04-24 11:35:32 +05:30
Kuldeep Joshi (OpenERP) a498392b47 [FIX]share: convert to string and set group_id
bzr revid: kjo@tinyerp.com-20120417093156-d29vpph8it39sqiw
2012-04-17 15:01:56 +05:30
Thibault Delavallée a936f27674 [FIX] share and mail.thread: tweaked access rights. (TODO: second part of patch: checking access rights to email should check those from its master record, like attachments. Will be done shortly after the CD.)
bzr revid: tde@openerp.com-20120410160100-lh4jr3ubkvemggvk
2012-04-10 18:01:00 +02:00
Thibault Delavallée 3d6c40394a [IMP] Improved share-invite mechanism. Also slighty refactored code in emails sending.
bzr revid: tde@openerp.com-20120328090052-v73mn3tdnjat4kkb
2012-03-28 11:00:52 +02:00
Thibault Delavallée 3a1e1ce480 [IMP] share: update module to accept an 'invite' action, that is alike share, but used for OpenSocial. Share now also adds the 'invite' feature to OpenSocial.
bzr revid: tde@openerp.com-20120320180917-gj2c0tetyerfuprr
2012-03-20 19:09:17 +01:00
Olivier Dony 6f874454bf [FIX] share: create sharing rule even when no other ir.rule exists
lp bug: https://launchpad.net/bugs/909150 fixed

bzr revid: odo@openerp.com-20120215153440-c6ojz409kwzaus5w
2012-02-15 16:34:40 +01:00
Fabien Pinckaers b49bb75a26 [IMP] no email required to share a link or embed
bzr revid: fp@tinyerp.com-20111228210901-sywx5rab63d10lsd
2011-12-28 22:09:01 +01:00
Olivier Dony a42e668e77 [FIX] share: fix URLs - `key` parameter is now required
bzr revid: odo@openerp.com-20111223162421-nn7onw3itb6noa6p
2011-12-23 17:24:21 +01:00
Antony Lesuisse 4a99f28a02 [FIX] share email warning and menu tips
bzr revid: al@openerp.com-20111222140135-2gh7pwmr4ir2qb04
2011-12-22 15:01:35 +01:00
Christophe Simonis 96dbcce7ce [FIX] portal and share wizard
bzr revid: chs@openerp.com-20111221161135-l8e1yj1azkqy1c2g
2011-12-21 17:11:35 +01:00
Antony Lesuisse a11b754f3d [FIX] share wizard user_type emails
bzr revid: al@openerp.com-20111221150424-d2z4kb9vk4ryu1ct
2011-12-21 16:04:24 +01:00
Christophe Simonis 5c92c476d3 [FIX] share: correct login url + add action to embed url
bzr revid: chs@openerp.com-20111220150714-dltvf2p1dedjo97h
2011-12-20 16:07:14 +01:00
Christophe Simonis cdeffb44b5 [FIX] share: fix embed url
bzr revid: chs@openerp.com-20111219163836-n39w32ly2ai7uosu
2011-12-19 17:38:36 +01:00
Christophe Simonis 75fdf278b6 [FIX] share: do not hardcode the server url
bzr revid: chs@openerp.com-20111219111525-hlkww0n4e9ejpfhh
2011-12-19 12:15:25 +01:00
Raphael Collet 30233c37b7 [MERGE] lp:903060 (share: disable shortcuts when creating share users)
bzr revid: rco@openerp.com-20111219103328-3a437qz2mjck3vz6
2011-12-19 11:33:28 +01:00
Antony Lesuisse cd226b06dc [IMP] display link
bzr revid: al@openerp.com-20111218154807-vqm64gvf22ny0v6d
2011-12-18 16:48:07 +01:00
Antony Lesuisse c3c7712e13 [IMP] separate embed and email actions
bzr revid: al@openerp.com-20111218154332-28ecj6xek6dixthp
2011-12-18 16:43:32 +01:00
Antony Lesuisse b818bd00e7 [IMP] improve user_type
bzr revid: al@openerp.com-20111218150704-wbemuzili2mw9150
2011-12-18 16:07:04 +01:00
Antony Lesuisse 94c5c147cd fix typo embed code
bzr revid: al@openerp.com-20111216164018-l5ht2rzsec1na74f
2011-12-16 17:40:18 +01:00
Antony Lesuisse d3795a63b1 simplify embed code
bzr revid: al@openerp.com-20111216163540-o13b84nsrj5kdulu
2011-12-16 17:35:40 +01:00
Antony Lesuisse c4edd73361 [MERGE] trunk
bzr revid: al@openerp.com-20111216154912-h94xe3zti4a3eo2n
2011-12-16 16:49:12 +01:00
Antony Lesuisse b988821d00 [IMP] shorter embed code
bzr revid: al@openerp.com-20111216153653-bdofkkan141xup3x
2011-12-16 16:36:53 +01:00
Olivier Dony 78bb2dd689 [IMP] share: use the builtin Model._all_columns now that it has been added
bzr revid: odo@openerp.com-20111214171049-jdbso53n3wqc8kjn
2011-12-14 18:10:49 +01:00
Olivier Dony 7b4917e780 [FIX] share: users may have an empty signature
lp bug: https://launchpad.net/bugs/902106 fixed
lp bug: https://launchpad.net/bugs/902898 fixed

bzr revid: odo@openerp.com-20111214145200-9ly20dra7n2s1l6p
2011-12-14 15:52:00 +01:00
Olivier Dony efc5cabe7a [FIX] share: sent share notifications immediately w/o queuing
lp bug: https://launchpad.net/bugs/903058 fixed

bzr revid: odo@openerp.com-20111214143321-l9r6mdqe2fc7m4t0
2011-12-14 15:33:21 +01:00
Christophe Simonis f2e5898992 [FIX] share: EmbedClient -> EmbeddedClient
bzr revid: chs@openerp.com-20111214130721-8tsba71wotmg97qv
2011-12-14 14:07:21 +01:00
Christophe Simonis d462f2e800 merge upstream
bzr revid: chs@openerp.com-20111214112712-wg6r5bhehcau701o
2011-12-14 12:27:12 +01:00
Nimesh (Open ERP) a66f81244b [FIX]share: noshortcut added when share user creted
bzr revid: nco@tinyerp.com-20111214063557-ydtz3tctlf0ul2f8
2011-12-14 12:05:57 +05:30
Christophe Simonis a6438cae30 [IMP] share: add option to generate embedded code
bzr revid: chs@openerp.com-20111201160040-15s4tn1pxixvmvnu
2011-12-01 17:00:40 +01:00
Numerigraphe - Lionel Sausin 779fa653c1 [IMP] Added missing vim mode lines
lp bug: https://launchpad.net/bugs/524279 fixed

bzr revid: ls@numerigraphe.fr-20111122085138-x6u2lcl6vrpyybp9
2011-11-22 09:51:38 +01:00
Christophe Simonis d6ebd88ba5 [IMP] share: only show current view when selecting "readonly" mode
bzr revid: chs@openerp.com-20111115155630-4ut72jrc8111ivm4
2011-11-15 16:56:30 +01:00
Christophe Simonis 9f964ca29d [IMP] share: share_url_template is read from ir_config_parameter
bzr revid: chs@openerp.com-20111014094324-wpj3265vwinel3rj
2011-10-14 11:43:24 +02:00
Christophe Simonis b46ef4b960 [FIX] share: correct function fields labels
bzr revid: chs@openerp.com-20111010145406-0k4au407iwv9e31n
2011-10-10 16:54:06 +02:00
Christophe Simonis a1e5797727 [FIX] share+portal: fix share wizard.
[IMP] share wizard: share_root_url and share_url are now function fields

bzr revid: chs@openerp.com-20111010142549-uvco15xdf2198e0x
2011-10-10 16:25:49 +02:00
Christophe Simonis dca92e2cc1 [FIX] share: correct default value
bzr revid: chs@openerp.com-20111007153719-2lq8ntxom3y8g2xj
2011-10-07 17:37:19 +02:00
Olivier Dony 807955bfdc [FIX] share: remove context argument passed to cached method, now deprecated
bzr revid: odo@openerp.com-20110915103040-laoviibia601ybqj
2011-09-15 12:30:40 +02:00
Olivier Dony 50507512cb [MERGE] latest trunk
This was a helluva merge, with hundreds of conflicts resolved manually!!
I hope I did not break too many things, but a full review of the mail-related
features (where most of the conflicts occurred) must still be done before
this feature branch can be merged.

bzr revid: odo@openerp.com-20110809234428-3dsvxrt6t54ju0cf
2011-08-10 01:44:28 +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 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
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 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 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 3b5aa70813 [FIX] share: typo
bzr revid: odo@openerp.com-20110411235216-3tij6tlw7064dn7s
2011-04-12 01:52:16 +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
Rifakat Haradwala (Open ERP) 9a9c100595 [Merge]: merge with lp:~openerp-dev/openobject-addons/emails-framework-addons
bzr revid: rha@tinyerp.com-20110330092614-sgnniorxit17zvxn
2011-03-30 14:56:14 +05:30
Harry (OpenERP) cf7c73310d [MERGE] merged with trunk addods development branch
bzr revid: hmo@tinyerp.com-20110329122736-78igudbed2jz7lf4
2011-03-29 17:57:36 +05:30
Rifakat Haradwala (Open ERP) 2fe7c51e36 [REM] email.smtp_server: removed email.smtp_server and did changes in email module
bzr revid: rha@tinyerp.com-20110321133156-y57yw6sekshnw9ns
2011-03-21 19:01:56 +05:30
Rifakat Haradwala (Open ERP) 64f9d7e94f [IMP] : base_module_quality, crm, email_template, mail_gateway, sale_crm, share: string formatting
bzr revid: rha@tinyerp.com-20110308112208-40jbv5er9w21xiw0
2011-03-08 16:52:08 +05:30
Yogesh (OpenERP) 659900e4d5 [IMP] add argument in email_send method of addons module.
bzr revid: ysa@tinyerp.com-20110209091848-tb1d9qcj9bz3iq2b
2011-02-09 14:48:48 +05:30
YSA (Openerp) 5140ae0d98 [IMP] add email module depedancy in related module.
bzr revid: ysa@tinyerp.com-20110204062934-yf8in8dzu15vdmeh
2011-02-04 11:59:34 +05:30
YSA (Openerp) bbdac458fd [IMP] call email_send method of email.message object insted of tools.
bzr revid: ysa@tinyerp.com-20110204061819-bb3p94bs7og680je
2011-02-04 11:48:19 +05:30
Olivier Dony f2139f9603 [FIX] share: user m2m for selecting existing users instead of o2m
bzr revid: odo@openerp.com-20110118193022-van29r1hs7qcppng
2011-01-18 20:30:22 +01:00
Olivier Dony 091692fefb [FIX] share: updated share wizard after server changes to ir.ui.menu (dropped create_shortcut() method) + some typos
bzr revid: odo@openerp.com-20110118154056-yzfib31snxn3e5cn
2011-01-18 16:40:56 +01:00
uco (OpenERP) d827b2f6ea [REF]: Added remaining context changes in _constraints. Removed unnecessary checking for context from methods.
bzr revid: uco@tinyerp.com-20101213064309-vg36f1510xv2f8zb
2010-12-13 12:13:09 +05:30