Commit Graph

24257 Commits

Author SHA1 Message Date
Launchpad Translations on behalf of openerp 0c1e226ba0 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101217045436-40c3ybxz4w1upvxu
2010-12-17 04:54:36 +00:00
Olivier Dony 6c1ec1803a [FIX] safe_eval: support for allowing auto-loading of python submodules, such as _strptime
bzr revid: odo@openerp.com-20101216183839-7mor9xfzbor2s9r7
2010-12-16 19:38:39 +01:00
Olivier Dony 0da4773e14 [IMP] orm.read_group: raise if called with group_by being a non-database-stored field
lp bug: https://launchpad.net/bugs/689070 fixed

bzr revid: odo@openerp.com-20101216183708-o61idware1v6tyk3
2010-12-16 19:37:08 +01:00
qdp-launchpad@tinyerp.com 6a2a30fa24 [MERGE] merged the xrg branch with misc. patches
bzr revid: qdp-launchpad@tinyerp.com-20101216164012-u0t0m6iima8dybyj
2010-12-16 17:40:12 +01:00
qdp-launchpad@tinyerp.com cd816b6710 [FIX] stock, stock_location: acces rights
bzr revid: qdp-launchpad@tinyerp.com-20101216163807-j3zsat1jpsoyu4m0
2010-12-16 17:38:07 +01:00
qdp-launchpad@tinyerp.com 32cfaf0734 [IMP] stock: uability improvements
bzr revid: qdp-launchpad@tinyerp.com-20101216163731-sfsxfs5o2af31ez3
2010-12-16 17:37:31 +01:00
qdp-launchpad@tinyerp.com 2e750d4f56 [FIX] purhcase: removed domain=supplier on the partner_id field of purhcase order form in order to be compliant with behavior os SO (the supplier button is already thicked by default)
bzr revid: qdp-launchpad@tinyerp.com-20101216163431-9hv31gzfbt720nkp
2010-12-16 17:34:31 +01:00
qdp-launchpad@tinyerp.com b8b24f0504 [IMP] account: removed translate=True on the name of account.journal in order to clean the translation progress
bzr revid: qdp-launchpad@tinyerp.com-20101216163216-gf7ey64ad6use8sk
2010-12-16 17:32:16 +01:00
qdp-launchpad@tinyerp.com 10868c2eb5 [IMP] sale_margin: replaced tabs with 4 spaces in view and removed the button 'create invoice' in order to reuse the one defined in the first tab
bzr revid: qdp-launchpad@tinyerp.com-20101216163025-x1rbfsd4bcrxgdu9
2010-12-16 17:30:25 +01:00
Olivier Dony a86a432edf [FIX] res_config: made strings in compatibility install wizard translatable
bzr revid: odo@openerp.com-20101216150430-8tg06fpfubdac4py
2010-12-16 16:04:30 +01:00
Christophe Simonis 8a57904105 [IMP] web_livechat: better icons & text
bzr revid: chs@openerp.com-20101216112752-9xg4i9ompw1bi81v
2010-12-16 12:27:52 +01:00
Olivier Dony d33f6f2903 [FIX] report_sxw: workaround to prevent crash of reports launched from wizards that pass invalid IDs
bzr revid: odo@openerp.com-20101216100749-z06fv08n4u5rhwl0
2010-12-16 11:07:49 +01:00
Launchpad Translations on behalf of openerp 1f377cca79 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101216044244-go321rqvup2m8l4y
bzr revid: launchpad_translations_on_behalf_of_openerp-20101216044841-ewqql1al8ld9es0h
2010-12-16 04:48:41 +00:00
Vo Minh Thu (OpenERP) d98a26fd42 [MERGE] orm: fixed translations for inherited views when the parent view uses a different model
bzr revid: odo@openerp.com-20101215182416-yk4n4krmw2anuyt3
2010-12-15 19:24:16 +01:00
Olivier Dony 87495c5972 [FIX+I18N] hr: marital status should be translatable
lp bug: https://launchpad.net/bugs/685203 fixed

bzr revid: odo@openerp.com-20101215172455-411ka2can99pmpt5
2010-12-15 18:24:55 +01:00
uco (OpenERP) aa0ef3c602 [MERGE] all: added missing contexts in most methods + improved context usage according to guidelines
bzr revid: odo@openerp.com-20101215171655-ohuu8uwxzza9jbni
2010-12-15 18:16:55 +01:00
Olivier Dony 0345118bd4 [FIX] procurement, hr_timesheet_sheet: minor translation fixes
bzr revid: odo@openerp.com-20101215160304-of1elr30jl19tq1q
2010-12-15 17:03:04 +01:00
sbh(OpenERP) 4fc6c7f16c [MERGE] rng,res.partner: enable "invisible" attribute for <page> elements + make partner History tab invisible by default (was empty)
bzr revid: odo@openerp.com-20101215155532-8mwx40b61o73xq03
2010-12-15 16:55:32 +01:00
Olivier Dony 842d565db1 [I18N] base: updated POT template after latest translation improvements
bzr revid: odo@openerp.com-20101215154433-v16938z982mlifmz
2010-12-15 16:44:33 +01:00
Olivier Dony 2d89b7a153 [I18N] all: re-exported translation templates after latest translation improvements
bzr revid: odo@openerp.com-20101215150748-ypwfuhqk5o7f3g48
2010-12-15 16:07:48 +01:00
Olivier Dony 97ea0b97a3 [IMP] translate: _( ) should always use ir.translation OSV, no fallback to direct DB access needed
bzr revid: odo@openerp.com-20101215132128-1pxzjrde0bpu5smg
2010-12-15 14:21:28 +01:00
Olivier Dony 96075073d1 [FIX] ir.translation: typo in previous commit, sorry
bzr revid: odo@openerp.com-20101215121143-f1hgn5cp92alzdvx
2010-12-15 13:11:43 +01:00
Olivier Dony 650490d61d [IMP] ir.translation,tools.translate._(): cleanup and speedup if translations via _()
- Removed expensive inspect.stack() (courtesy of xrg)
- Improved heuristics for detection of context/lang and cursor
- Switch to using ir.translation when possible instead of direct DB hit to benefit from cache
- Cleanup

lp bug: https://launchpad.net/bugs/624114 fixed

bzr revid: odo@openerp.com-20101215114019-psrsu998inw6cksu
2010-12-15 12:40:19 +01:00
OpenERP d3e8448875 [FIX] orm: fixed translations for inherited views when the parent view uses a different model.
This fixes for instance the Next and Skip buttons in the Reconfigure shortcut menu.

bzr revid: openerp@vmt-hp4520s-20101215112537-lrp6tphs9qu4b9dq
2010-12-15 12:25:37 +01:00
Harry (OpenERP) 516dc572c4 [FIX] openerp-buildfail-1-4433: use orm method instead of sql query in action_done of stock.move object in stock module
bzr revid: hmo@tinyerp.com-20101215075648-v709es1gkjiqqio8
2010-12-15 13:26:48 +05:30
Launchpad Translations on behalf of openerp 9b10499abe Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101215043854-s3j1x291m7kl3dig
bzr revid: launchpad_translations_on_behalf_of_openerp-20101215052125-i0y5f9gpuhsjreax
2010-12-15 05:21:25 +00:00
uco (OpenERP) 63ace6bb80 [MERGE]
bzr revid: uco@tinyerp.com-20101215051143-g5qmevkmic66q0ip
2010-12-15 10:41:43 +05:30
P. Christeas 84a3e9da63 [MERGE] base,res.users: cleanup uid cache when removing/disabling user (test incl.)...
+ fix regression with menu 
+ some minor cleanup

lp bug: https://launchpad.net/bugs/664379 fixed

bzr revid: odo@openerp.com-20101214193304-928za9xrkmt8yi9b
2010-12-14 20:33:04 +01:00
qdp-launchpad@tinyerp.com 16620a3fff [FIX] stock: fixed the proposal of journal on returned shipment
bzr revid: qdp-launchpad@tinyerp.com-20101214163426-59umaqtxwrojigfx
2010-12-14 17:34:26 +01:00
P. Christeas 56cdbc05a9 web_services: use pg_dump in batch mode.
bzr revid: p_christ@hol.gr-20101214163003-tmdtxaxul5n1wybe
2010-12-14 18:30:03 +02:00
P. Christeas 40cf6eac7a res.users: fix default menu_id, after models got sorted by name.
With the old sorting behavior, id=1 would be the first menu to appear.
But, after sorting, the alphabetically first ("accounting dashboard")
replaced the main menu!

bzr revid: p_christ@hol.gr-20101214162919-o9xflsed4ap6hn2z
2010-12-14 18:29:19 +02:00
P. Christeas 66564a93fc res.users: invalidate cache when a user is modified. [Bug 664379]
Original description, by Xavier ALT:
> The server is using a variable name "_uid_cache" for authentication
> caching, but this variable is never clear when user informations change,
> that means if we disable a user or change it's password their requests
> are still allowed (cached auth check ok).
>
> This affects OpenERP v5 (server/bin/service/security.py) and OpenERP v6
> (server/bin/addons/base/res/res_users.py, class users).
>
> The only workaround is to restart the server.
>

bzr revid: p_christ@hol.gr-20101214162905-716i3ra12xvdtc2l
2010-12-14 18:29:05 +02:00
P. Christeas ef39bbb955 base tests: yaml test for res.users logic
Code inspired from Xavier ALT's example.

bzr revid: p_christ@hol.gr-20101214162856-oskw0ohg8hx9hoc3
2010-12-14 18:28:56 +02:00
P. Christeas 5c6bd686ab reports: fix some default args, import message, empty translations
bzr revid: p_christ@hol.gr-20101214162826-79ppx7qw23ag3qx0
2010-12-14 18:28:26 +02:00
qdp-launchpad@tinyerp.com ab8c38b279 [IMP] access rights improvements + small usability fixes
bzr revid: qdp-launchpad@tinyerp.com-20101214160729-lc1q0oy76dygh5s2
2010-12-14 17:07:29 +01:00
qdp-launchpad@tinyerp.com 04adabc7f6 [FIX] stock: made possible to return the whole picking
bzr revid: qdp-launchpad@tinyerp.com-20101214160657-1hc909p66l6pslwj
2010-12-14 17:06:57 +01:00
P. Christeas 7583a7da04 account report: fix read_group() API mismatch
read_group() of account entries and followup reports didn't match that of
server. We'd better use generic references to positional and keyword
arguments instead.

bzr revid: p_christ@hol.gr-20101214153608-mbcjfzu26wolyip9
2010-12-14 17:36:08 +02:00
P. Christeas 56d65e54fe account: fix invoice report, second page header must be in partner's lang
The PTO header for the second+ pages was rendered before the setting
of partner's language, which meant that it would be translated to the
user's lang. Move the xml block to fix that.

bzr revid: p_christ@hol.gr-20101214153558-b93h81ys6fhad5w1
2010-12-14 17:35:58 +02:00
P. Christeas bb8533edc6 users_ldap: trivial fix in referenced exception.
bzr revid: p_christ@hol.gr-20101214153348-2s3zpv7v710z5h13
2010-12-14 17:33:48 +02:00
P. Christeas 7736b371d0 users_ldap: replace tools.debug() with logging.debug()
bzr revid: p_christ@hol.gr-20101214153320-5cz87zmxpfb6rntv
2010-12-14 17:33:20 +02:00
Thibault Francois cb2c085f9e [FIX, IMP] crm/scripts : maintenance of the php script, add a contact form
bzr revid: tfr@openerp.com-20101214153115-bh7sy2ofgt97tvin
2010-12-14 16:31:15 +01:00
Christophe Simonis d18f713833 [ADD] web_livechat
bzr revid: chs@openerp.com-20101214152403-kexsvwkjpyqf4xu9
2010-12-14 16:24:03 +01:00
YSA (OpenERP), Olivier Dony (OpenERP) 6a3e52f41f [FIX] orm,base: prevent useless duplication of m2m records via unique constraint + orm check
lp bug: https://launchpad.net/bugs/558658 fixed

bzr revid: odo@openerp.com-20101214132840-q7x2oodu6hez9d91
2010-12-14 14:28:40 +01:00
Olivier Dony b192bf4dd4 [FIX] osv.osv: fixed reference to osv pool, broken by refactoring of osv service
Fixes bug introduced by revision 3102 chs@openerp.com-20101213105104-jpctooc6j7yc8i8i

bzr revid: odo@openerp.com-20101214131812-oiiy1xv8582jh7ya
2010-12-14 14:18:12 +01:00
nel@tinyerp.com 10c0a345e8 [FIX] translation in xpath
bzr revid: nel@tinyerp.com-20101214122911-qxw0vozlqmnzt89q
2010-12-14 13:29:11 +01:00
Olivier Dony 56ebc8655a [IMP] res.lang: less misleading documentation on language format
lp bug: https://launchpad.net/bugs/675915 fixed

bzr revid: odo@openerp.com-20101214114027-ynen1r143kv13471
2010-12-14 12:40:27 +01:00
Christophe Simonis b38e97ee4b [NOOP] remove trailing space of bin/addons/base/publisher_warranty/publisher_warranty.py
bzr revid: chs@openerp.com-20101214101747-dx9ntnr9op37on1y
2010-12-14 11:17:47 +01:00
Christophe Simonis 6ac4e8a908 [FIX] base: delete res.widget.user when the linked widget is deleted
bzr revid: chs@openerp.com-20101214100706-diuq8v7dqreo42lz
2010-12-14 11:07:06 +01:00
Fabien Meghazi 007a16ea20 [IMP] Change pad button style in order to reflect web client changes made to Add attachment button
bzr revid: fme@openerp.com-20101214090920-zdaaw3e03vosrwqu
2010-12-14 10:09:20 +01:00
uco (OpenERP) 690fbff411 [MERGE]
bzr revid: uco@tinyerp.com-20101214073712-b51lj9zyba9p1bp9
2010-12-14 13:07:12 +05:30