Commit Graph

4281 Commits

Author SHA1 Message Date
Thibault Delavallée a873a7de80 [MERGE] ORM: fix result of queries using auto_join.
It is possible to have multiple results linked to a same 'left-side' query, such as having a task with several unread messages. In this case, the query using the joins gives back as many lines as unread messages, because of the joins in the query.
To avoid using distinct or 'where exist' constructs, the results of the query is filtered while keeping the original order.

bzr revid: tde@openerp.com-20121221131120-boll9klrxxna6zeq
2012-12-21 14:11:20 +01:00
Fabien Pinckaers 29e0f6ab02 [IMP] image=NULL by default for contacts
bzr revid: fp@tinyerp.com-20121221125509-nft529ct1rj2ui47
2012-12-21 13:55:09 +01:00
Thibault Delavallée 2b3c4737f1 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121221124026-tlb272s892bhbubc
2012-12-21 13:40:26 +01:00
niv-openerp 692cea3039 Removed default image on partners, use default one in the kanban view if false
bzr revid: nicolas.vanhoren@openerp.com-20121221120631-2uugaiexqanwbi00
2012-12-21 13:06:31 +01:00
Olivier Dony f349a6cbd3 [FIX] pooler: when reloading registry, preserve the cron-active status of the previous registry
bzr revid: odo@openerp.com-20121221102910-wdrwom9k8sbhukmp
2012-12-21 11:29:10 +01:00
Olivier Dony 2839f96ffa [FIX] cli.server: cron startup was incorrectly disabled by rev 4672.3.1
Rev. 4672.3.1 = revid:vmt@openerp.com-20121211105954-lwgs5js7yw3tzghs

bzr revid: odo@openerp.com-20121221102855-0ljpeoanyoxyfnjc
2012-12-21 11:28:55 +01:00
Thibault Delavallée 5b3fc4061b [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121221100320-ntn6zsdcqlvz52xn
2012-12-21 11:03:20 +01:00
Thibault Delavallée 919c0d1152 [REV] Reverted last improvement, because this was messing with the menus.
bzr revid: tde@openerp.com-20121221095934-ocbnwz2zvbdbmfug
2012-12-21 10:59:34 +01:00
dle@openerp.com 73cb6d5321 [FIX]Try to create already existing database throws warning instead of traceback.
bzr revid: dle@openerp.com-20121221090925-2i82d31dc061zngn
2012-12-21 10:09:25 +01:00
Christophe Matthieu db028dc09a [MERGE] tools mail: Return the initial variable if is false or if is not an instance of basestring. Remove encoding attribute in html tags.
bzr revid: chm@openerp.com-20121221083527-py3wr2syz5d8igv8
2012-12-21 09:35:27 +01:00
Launchpad Translations on behalf of openerp 231ecd2032 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121221043915-9f5zsgjkksp56zwn
bzr revid: launchpad_translations_on_behalf_of_openerp-20121221044239-5bv82e8q9e8s6bxw
bzr revid: launchpad_translations_on_behalf_of_openerp-20121221050452-f6jqbwzk9lovjkxm
2012-12-21 05:04:52 +00:00
Thibault Delavallée e2728306b3 [IMP] OROM: order_spec is overidden by self._order only if None (aka, not specified at all). False or void order_spec allows to avoid having any order_by clause. This is used now in needaction, to speedup the search.
bzr revid: tde@openerp.com-20121220205102-lx9ftf3l8qg0xqcu
2012-12-20 21:51:02 +01:00
Olivier Dony 0cd22d6d4b [IMP] res.partner: name_search nows searches email as well ; name_get now supports `show_email` context
+ various minor fixes to the way operators were
(mis)handled.

bzr revid: odo@openerp.com-20121220181604-61fxnjh35amdywwx
2012-12-20 19:16:04 +01:00
Antony Lesuisse 7b80e60135 [MERGE] auth password wizard
bzr revid: al@openerp.com-20121220171038-y0s6bhfhbp81pbmz
2012-12-20 18:10:38 +01:00
Arnaud Pineux 3aa5790fc1 [FIX] export translation-> replace many2many widget by many2many_tags
lp bug: https://launchpad.net/bugs/1092533 fixed

bzr revid: api@openerp.com-20121220161206-kf4jb6zxpqwz4c2u
2012-12-20 17:12:06 +01:00
vta vta@openerp.com 1400636723 [FIX] Remove duplicated line
bzr revid: vta@openerp.com-20121220144609-ujzbkmn8u9mduu9g
2012-12-20 15:46:09 +01:00
Antony Lesuisse 7d5dbda805 [MERGE] apps by chs
bzr revid: al@openerp.com-20121220144322-ign0s0u0rbufhedi
2012-12-20 15:43:22 +01:00
vta vta@openerp.com cf82065375 [FIX] Data order
bzr revid: vta@openerp.com-20121220142344-jkq5fghsainnpw4b
2012-12-20 15:23:44 +01:00
Thibault Delavallée 36e5b6e88e [FIX] _search not uniquifies the results, because when using _auto_join we could have duplicates in the 'left part' of the result, i.e. a lead with several unread messages. This is done using a custom method instead of a set, because sets are unordered.
bzr revid: tde@openerp.com-20121220141842-or3bigz11qkb13qn
2012-12-20 15:18:42 +01:00
vta vta@openerp.com 79f46d675c [MERGE] Latest trunk
bzr revid: vta@openerp.com-20121220135003-4rcofmk0k66n3lsa
2012-12-20 14:50:03 +01:00
Antony Lesuisse e1329cc4e0 temp menu
bzr revid: al@openerp.com-20121220132652-01hgfi0q64zo02un
2012-12-20 14:26:52 +01:00
Olivier Dony e29f0565c9 [IMP] res.partner: form view: show phone numbers in embedded contacts kanban; search view: less confusing label `Partner` -> `Name` for default search criterion
bzr revid: odo@openerp.com-20121220131606-fiuo04pn1s66bmk1
2012-12-20 14:16:06 +01:00
vta vta@openerp.com 7bd5ab29b1 [ADD] Added change password button in user form view
bzr revid: vta@openerp.com-20121220125201-uczicf7orvef57sj
2012-12-20 13:52:01 +01:00
Thibault Delavallée 7e1c86da6e [IMP] Res company logo improvement: add an explicit 'add your logo' link.
Note that the branch name is completely unrelated to its content.

bzr revid: tde@openerp.com-20121220110617-ck3tpmtor38bd1tf
2012-12-20 12:06:17 +01:00
vta vta@openerp.com cede3b69aa [MERGE] Latest trunk
bzr revid: vta@openerp.com-20121220105704-fm4frn1na2ezm5f2
2012-12-20 11:57:04 +01:00
vta vta@openerp.com ed60ce60ab [FIX] Remove new_password field from user form view
bzr revid: vta@openerp.com-20121220103706-vid7jj1w008g81zb
2012-12-20 11:37:06 +01:00
dle@openerp.com 355dac7356 [FIX]Kanban view js not loaded when db created through command line
bzr revid: dle@openerp.com-20121220101511-679v8e6ijsbaxj0y
2012-12-20 11:15:11 +01:00
vta vta@openerp.com 23068e6afb [IMP] Make wizard work
bzr revid: vta@openerp.com-20121220092800-gtitseu418osspn2
2012-12-20 10:28:00 +01:00
Thibault Delavallée 7470ee38f9 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121220091858-ye1t25614ajfv4zl
2012-12-20 10:18:58 +01:00
Launchpad Translations on behalf of openerp 2a1ca8fba2 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121220044323-lda479xp4patic59
2012-12-20 04:43:23 +00:00
Antony Lesuisse 0ed151708a last fix
bzr revid: al@openerp.com-20121220023721-oy7y4czmf3tvmyzl
2012-12-20 03:37:21 +01:00
Antony Lesuisse 549c011893 [MERGE] turnk
bzr revid: al@openerp.com-20121220020708-ioiaoz58ncgw5wg7
2012-12-20 03:07:08 +01:00
Antony Lesuisse fb34208b68 apps fix destroy
bzr revid: al@openerp.com-20121219203058-4kb5urrb8rca8eti
2012-12-19 21:30:58 +01:00
Thibault Delavallée 044aaa4ca5 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121219201719-yy51k9tlqpa5v8kj
2012-12-19 21:17:19 +01:00
Antony Lesuisse 2370566ca0 move get_client in Apps
bzr revid: al@openerp.com-20121219172128-19u850blwf5cryex
2012-12-19 18:21:28 +01:00
vta vta@openerp.com 97bf527aa4 [ADD] Added change_password_wizard
bzr revid: vta@openerp.com-20121219154957-bf65kkqpikbwyua1
2012-12-19 16:49:57 +01:00
Antony Lesuisse 565853b732 [MERGE] trunk
bzr revid: al@openerp.com-20121219030106-i59u10tml3baqvun
bzr revid: al@openerp.com-20121219150107-8l92w2bi510yem45
2012-12-19 16:01:07 +01:00
Christophe Matthieu 1af40b9b78 [MERGE] from trunk
bzr revid: chm@openerp.com-20121219144055-up3kamlh08nbk1ju
2012-12-19 15:40:55 +01:00
Christophe Matthieu bf11573436 [IMP] tools mail: encoding : add test for removing encoding attribute
bzr revid: chm@openerp.com-20121219143912-os160iv0q0jeyhld
2012-12-19 15:39:12 +01:00
Fabien Pinckaers 777ed1e0dc [IMP] transparent background support for images in RML
bzr revid: fp@tinyerp.com-20121219132504-zvcs346g007sloua
2012-12-19 14:25:04 +01:00
Christophe Matthieu 111e080e48 [IMP] tools mail: don't remove xml and doctype but remove encoding attribute
bzr revid: chm@openerp.com-20121219124038-05bf07960h05x0o8
2012-12-19 13:40:38 +01:00
Christophe Matthieu a31af13a3e [IMP] tools mail: add test message with xml and doctype tags don't crash
bzr revid: chm@openerp.com-20121219111853-zj16hdg7ujakksqt
2012-12-19 12:18:53 +01:00
Christophe Matthieu 125f80888e [FIX] tools mail: return the initial variable if is false or if is not an instance of basestring. remove xml and doctype tags.
bzr revid: chm@openerp.com-20121219103714-u52hfmqr5u508xa2
2012-12-19 11:37:14 +01:00
Thibault Delavallée 4936f0b683 [REM] partner: do not track user_id.
bzr revid: tde@openerp.com-20121219102539-lvlbl2vh828602ra
2012-12-19 11:25:39 +01:00
Olivier Dony 5ab624b11e [FIX] res.users: context_get cache was not cleared properly, due to braindead implementation of ormcache (skiparg is misused and off by 1 in clear_cache)
Discarding the cache completely is suboptimal but
makes the code simpler, and this is not performance
critical anyway. The cache is mostly useful during
module installation, which involves no call to clear_cache.

bzr revid: odo@openerp.com-20121219101315-1ccuwm6nvmov12zv
2012-12-19 11:13:15 +01:00
Raphael Collet b63518345e [FIX] web_services: fix incorrect query to set admin's password and lang
bzr revid: rco@openerp.com-20121219093816-atf0p0jtuwv6hd31
2012-12-19 10:38:16 +01:00
Thibault Delavallée f68d97a9a8 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121219093752-15iiid2w9myutw5h
2012-12-19 10:37:52 +01:00
Thibault Delavallée b5382291f7 [REV] Reverted some changes that should not be present in server.
bzr revid: tde@openerp.com-20121219093655-ts20h4rhu5whrdwm
2012-12-19 10:36:55 +01:00
Launchpad Translations on behalf of openerp 196ca47c2e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121219051500-k2gb5w24tr2v2ux0
2012-12-19 05:15:00 +00:00
Antony Lesuisse c7d6df8fa3 [MERGE] module update_list signal wsgi handlers
bzr revid: al@openerp.com-20121219025908-hd8megr7fc6m4o7m
2012-12-19 03:59:08 +01:00