Commit Graph
2884 Commits
Author SHA1 Message Date
Fabien Pinckaers 3df9607a60 fix
bzr revid: fp@tinyerp.com-20101221201517-286g910bux4jas0o
2010-12-21 21:15:17 +01:00
Fabien Pinckaers 7cd08c8bc3 index on res_request
bzr revid: fp@tinyerp.com-20101221200635-9qjowoftlsxcf9lf
2010-12-21 21:06:35 +01:00
Olivier Dony 7964fd96f8 [MERGE] tools.translate, test_reports, res_config: several bugfixes (see buglinks)
lp bug: https://launchpad.net/bugs/692845 fixed
lp bug: https://launchpad.net/bugs/692598 fixed
lp bug: https://launchpad.net/bugs/692746 fixed

bzr revid: odo@openerp.com-20101221170809-zqusunjw2em9xz9y
2010-12-21 18:08:09 +01:00
Olivier Dony 7cca938586 [FIX] publisher_warranty: avoid trying to safe_eval() an empty string
lp bug: https://launchpad.net/bugs/691892 fixed

bzr revid: odo@openerp.com-20101221151445-th3cfbjw104g6ie9
2010-12-21 16:14:45 +01:00
P. Christeas 08f568ec0f res_config: fix unicode help + msg for already-installed addons [Bug 692598]
As reported by TFR.

bzr revid: p_christ@hol.gr-20101221144456-uy8xz2ovjbbj1qsk
2010-12-21 16:44:56 +02:00
Launchpad Translations on behalf of openerp a67d3a287b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101221132741-3ciykbz935xctho7
2010-12-21 13:27:41 +00:00
Fabien Pinckaers 78a2174db1 merge
bzr revid: fp@tinyerp.com-20101221091005-zctt5bwplj0txipc
2010-12-21 10:10:05 +01:00
Fabien Pinckaers 83d46bac4c [IMP] import / export cleaned
bzr revid: fp@tinyerp.com-20101220231743-9vswez6tg198cyco
2010-12-21 00:17:43 +01:00
Olivier Dony a2055b6d31 [FIX] addons.zip_directory: ZipFile.write() still expects binary strings for filenames in python 2.5
lp bug: https://launchpad.net/bugs/690559 fixed

bzr revid: odo@openerp.com-20101220191724-mvu1rsf3sup19s9m
2010-12-20 20:17:24 +01:00
P. Christeas 75db037508 [MERGE] EAN13 and QR support in RML, simpler indices on workflows, cleanup of ir_ui_menu.py
lp bug: https://launchpad.net/bugs/532559 fixed

bzr revid: odo@openerp.com-20101220175802-z4yh5dlad0oob5hm
2010-12-20 18:58:02 +01:00
Xavier Morel b56127a689 [IMP] return the module version (installed_version) during web modules queries
bzr revid: xmo@openerp.com-20101220164648-4n78ghbov1rruei5
2010-12-20 17:46:48 +01:00
Launchpad Translations on behalf of openerp e81905c7bc Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101218050151-7b2d211zmlho0nz5
bzr revid: launchpad_translations_on_behalf_of_openerp-20101219044527-usqaexey3l5mc7a8
bzr revid: launchpad_translations_on_behalf_of_openerp-20101220044920-a2cwkndd2s79fpc0
2010-12-20 04:49:20 +00:00
P. Christeas 91a0d108bf workflow.instance: remove excess indices
It is a table with 4 columns, doesn't worth 5 indices! I hope that these
combined indexed plus the wkf_id one will allow Postgres to always come
up with a good plan.

bzr revid: p_christ@hol.gr-20101219200842-4vr72wqal2t8k2xq
2010-12-19 22:08:42 +02:00
P. Christeas 1dbaae147b ir.ui.menu: We don't need a "many2many_unique" class any more
The parent many2many has been improved to avoid duplicate records.

bzr revid: p_christ@hol.gr-20101219200751-0umvepzgtgjhnw78
2010-12-19 22:07:51 +02:00
olt@tinyerp.com a536adce04 [FIX] addons/__init__.py: wrong number of arguments for format string
bzr revid: olt@tinyerp.com-20101217110210-sxqhhvj7dh96h58q
2010-12-17 12:02:10 +01:00
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 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
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
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 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
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
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
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
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 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
Launchpad Translations on behalf of openerp 6e05b3cc93 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101214045316-3c6x6lhto9swc1hw
bzr revid: launchpad_translations_on_behalf_of_openerp-20101214053806-8xtqagluqiijot4p
2010-12-14 05:38:06 +00:00
Olivier Dony 7bcccbafe5 [FIX] addons: avoid deleting resources after stand-alone base module update
When updating a database, base module is first loaded on its own, and this may cause useless deletion
of resource, because the aut-cleanup process. This process looks for records that are in the base namespace and
have not been processed, and deletes them because they are presumed removed from the newer version. This does not
properly work now that several modules install records (menus, groups) in the base namespace.
This is fixed by skipping the auto-cleanup process during the stand-alone loading of base, which is fine
because it will be processed properly after the rest of the modules are loaded/updated. 
(No specific LP bug reference, but many translation bugs stem partially from this)

bzr revid: odo@openerp.com-20101213161802-ulsece9bb3q1y1fx
2010-12-13 17:18:02 +01:00
niv-openerp 4939946b9f [IMP] Improved email and username handling when sending an publisher warranty
issue report.

bzr revid: nicolas.vanhoren@openerp.com-20101213090108-sy7xuwpptskhha3j
2010-12-13 10:01:08 +01:00
niv-openerp d9f34f65d8 [IMP] Added possibility to get email and issue name when a user submit an
exception report.

bzr revid: nicolas.vanhoren@openerp.com-20101210171238-83tqs3ahh8z8h79l
2010-12-10 18:12:38 +01:00
Launchpad Translations on behalf of openerp d6109233e0 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101211044617-po5v5cr1ez0gj7pk
bzr revid: launchpad_translations_on_behalf_of_openerp-20101212043911-q9ffkytjwu18d402
2010-12-12 04:39:11 +00:00
Olivier Dony 4b6f70ec5a [FIX] ir.ui.view: fix search view according to guidelines
lp bug: https://launchpad.net/bugs/687289 fixed

bzr revid: odo@openerp.com-20101211003125-1125npnm8yj6ktx0
2010-12-11 01:31:25 +01:00
Olivier Dony aaa3047bed [FIX] res.partner.category: use _parent_store and _parent_order to have correct natural order
lp bug: https://launchpad.net/bugs/665374 fixed

bzr revid: odo@openerp.com-20101211000450-1tfx298cc7aqliih
2010-12-11 01:04:50 +01:00
Olivier Dony 6961047414 [IMP] base: default _order for most internal data models (courtesy of Ferdinand Gassauer) + sorted fields in technical module guide
This should give a more consistent output in most lists involving those objects, as well as in the technical guide report.

lp bug: https://launchpad.net/bugs/655075 fixed
lp bug: https://launchpad.net/bugs/676990 fixed

bzr revid: odo@openerp.com-20101210224258-ljubjit2nl4d28vy
2010-12-10 23:42:58 +01:00
Olivier Dony 498a04ae2d [FIX] ir.ui.menu: menu items should be filtered only in tree view
The normal list view should display them all, otherwise menus without children are invisible for example
Also ensured that create() clears the menu cache, otherwise adding children to an invisible menu
may not cause it to appear until the server is restarted.

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

bzr revid: odo@openerp.com-20101210161708-txdxidrr3k4c6hk5
2010-12-10 17:17:08 +01:00
Olivier Dony aeed07950c [FIX] ir.ui.view.*: added missing simple and combined indices (suggestion from Ferdinand Gassauer)
lp bug: https://launchpad.net/bugs/580852 fixed

bzr revid: odo@openerp.com-20101210124716-okrkdqato09utpvx
2010-12-10 13:47:16 +01:00
Launchpad Translations on behalf of openerp 4c9e63a383 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101210050128-aqt5gre9oatbameb
2010-12-10 05:01:28 +00:00
Olivier Dony eb25611f00 [FIX] res.lang.unlink: renamed local variable that shadowed the enclosing type, preventing call to super()
bzr revid: odo@openerp.com-20101209150442-f47eucdfylpokagt
2010-12-09 16:04:42 +01:00
Olivier Dony 9daa68e67c [IMP] orm,base: added context to _constraints functions + use generic osv.osv.check_recursion()
lp bug: https://launchpad.net/bugs/525808 fixed

bzr revid: odo@openerp.com-20101209105733-j3uffwp4rl07nzc4
2010-12-09 11:57:33 +01:00
Launchpad Translations on behalf of openerp e2d025c961 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101209045022-g1ar37i6xtnr0jtq
bzr revid: launchpad_translations_on_behalf_of_openerp-20101209045802-ari4r0g7oouy55c8
2010-12-09 04:58:02 +00:00
Nicolas Vanhoren 2c3cee033d [MERGE] refactor maintenance.contract into publisher_warranty.contract + add system logs scheduler
bzr revid: odo@openerp.com-20101208170350-p8tek7dk7wdtnzvb
2010-12-08 18:03:50 +01:00
niv-openerp 402236d40d [IMP] Just removed small debug message in system logs cron.
bzr revid: nicolas.vanhoren@openerp.com-20101208160553-g58841fmq93unt5y
2010-12-08 17:05:53 +01:00
niv-openerp a1b38101d8 [IMP] Added timeout int the cron job to get the system logs.
bzr revid: nicolas.vanhoren@openerp.com-20101208160335-00rlngburn1q04az
2010-12-08 17:03:35 +01:00
Olivier Dony cfa513123a [FIX] base,release: updated some remaining source files to AGPLv3 license
lp bug: https://launchpad.net/bugs/531401 fixed

bzr revid: odo@openerp.com-20101208141707-toesbs33sf71srlh
2010-12-08 15:17:07 +01:00
niv-openerp 3d3e843e7b [IMP] Cosmetic changes
bzr revid: nicolas.vanhoren@openerp.com-20101208134309-3rrvthpank14ao69
2010-12-08 14:43:09 +01:00