Commit Graph

4410 Commits

Author SHA1 Message Date
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
Raphael Collet 95b41b40e9 [IMP] register_hook: improve a bit the code
bzr revid: rco@openerp.com-20121219132138-npf12n5l5ug6ujvx
2012-12-19 14:21:38 +01:00
Raphael Collet fd5dee2267 [MERGE] from trunk
bzr revid: rco@openerp.com-20121219130750-3ljqo3dyz05zww08
2012-12-19 14:07:50 +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
Randhir Mayatra (OpenERP) 9dd9f47df8 [IMP] improve the string res_company and base_data_xml
bzr revid: rma@tinyerp.com-20121219093121-em1gzrsrbu83y40m
2012-12-19 15:01:21 +05:30
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
Antony Lesuisse edef11eaaf apps dont break protocol
bzr revid: al@openerp.com-20121219023226-gfceiyrmi50my80e
2012-12-19 03:32:26 +01:00
Antony Lesuisse 333fc6125f [IMP] ir_ui_view search
bzr revid: al@openerp.com-20121218235213-qoa9nxzr04firmp9
2012-12-19 00:52:13 +01:00
Fabien Pinckaers af9d805364 [REVERT] revert changes in the server
bzr revid: fp@tinyerp.com-20121218223959-jstszixwv464umqj
2012-12-18 23:39:59 +01:00
Fabien Pinckaers 97e23c83f5 [IMP] company form view improved for logo
bzr revid: fp@tinyerp.com-20121218174754-l5bxqao9xarr3ohk
2012-12-18 18:47:54 +01:00
Tejas Tank ffae4652de [FIX] All OpenERP RML Reports are enabled with transparent Image support.
bzr revid: tta@openerp.com-20121218115043-1yx5b2q7eqcf8xbx
2012-12-18 17:20:43 +05:30
Thibault Delavallée 42e7d90bf9 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121218104936-kdsojt5zn6fewk84
2012-12-18 11:49:36 +01:00
Raphael Collet d98b1b0ff5 [IMP] res_groups: add m2m field to see view restrictions with given group
bzr revid: rco@openerp.com-20121218101916-r97xja82556schfg
2012-12-18 11:19:16 +01:00
Raphael Collet 57acd22a00 [MERGE] trunk-import-openerp-thu (use strict naming convention when importing openerp stuff)
bzr revid: rco@openerp.com-20121218085750-h0f50vi54q65ml5c
2012-12-18 09:57:50 +01:00
Launchpad Translations on behalf of openerp b2bb3eafbd Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121218045907-df0xw1q7dgw696s1
bzr revid: launchpad_translations_on_behalf_of_openerp-20121218050221-ab50rd40d94gd9a0
bzr revid: launchpad_translations_on_behalf_of_openerp-20121218050832-5hvbj7p0bpsw6fp0
2012-12-18 05:08:32 +00:00
Antony Lesuisse 8f8a4b959c [REV] image dont generate smaller thumbnail if avoid_if_small, massive speedup on demo
bzr revid: al@openerp.com-20121218003356-ldw86lkvpfihhiqn
2012-12-18 01:33:56 +01:00
Antony Lesuisse 8dd4f11dcd [IMP] ir_model_data search and list view
bzr revid: al@openerp.com-20121217231645-jvus4p8ssp1g3vn8
2012-12-18 00:16:45 +01:00
Olivier Dony 9bc690bf17 [IMP] res.users: enable cache on context_get, used by the _() translation function
When _() fails to find a context lang it looks
up the user language by calling context_get().
During module installation this may happen
thousands of times, and drastically slow down
the installation. Caching context_get calls
is an effective way to work around this,
until we find a better solution.

bzr revid: odo@openerp.com-20121217214700-6r7ju8iiaeowgj8i
2012-12-17 22:47:00 +01:00
Olivier Dony 9f77d2e2f4 [FIX] orm,registry: properly check m2o FKs during model update + fix some models `auto_init`ed multiple times
The case where no constraint existed at all was not working,
and after fixing it, the ORM started to re-create the same
constraints multiple times for some modules. This was for
models that are split within a module (such as res.users in
base, which is made of several small classes): all the
partial models were going through _auto_init instead
of only the final one - doing useless extra work.
      
Unfortunately establishing the FK happens before the
XML data files are loaded, so a number of FK and
NOT NULL constraints failed to apply due to missing
tables/records. base.sql had to be extended a bit
to cover these cases in a minimalist fashion

bzr revid: odo@openerp.com-20121217214645-av9n003yzterhujw
2012-12-17 22:46:45 +01:00
Thibault Delavallée ef4bc9b9c6 [IMP] tracked: models now have a _track attribute, telling the subtype to use for logging tracked fields. tracked attribute on columns become _track_visibility, telling if a field must always be logged or only when changed (to keep context value in logging message).
bzr revid: tde@openerp.com-20121217191059-g5jdm0yjee1gttta
2012-12-17 20:10:59 +01:00
Christophe Simonis 0c7f17c0ac merge upstream
bzr revid: chs@openerp.com-20121217172614-3z1pstu5th26wuuc
2012-12-17 18:26:14 +01:00
Olivier Dony f0c826cec6 [IMP] loading.py: lint cleanup - unused code
bzr revid: odo@openerp.com-20121217151626-1pbzf7mxh9inx1y9
2012-12-17 16:16:26 +01:00
Cecile Tonglet 8d1b7ce632 [FIX] Removed too much in openerp.tools.misc: html2text
bzr revid: cto@openerp.com-20121217150241-smbswmdmumva29ft
2012-12-17 16:02:41 +01:00
Cecile Tonglet ad8b76de53 [MERGE] From trunk (second time)
bzr revid: cto@openerp.com-20121217144753-1rboqdw01h8yrehj
2012-12-17 15:47:53 +01:00
Cecile Tonglet 5f0070dcb6 [FIX] Remove unused imports and fix some imports that doesn't use the new namespace
bzr revid: cto@openerp.com-20121217143029-e9ki4ftwihq7pdme
2012-12-17 15:30:29 +01:00
Raphael Collet 39fe69babe [FIX] expression: avoid delitem on a tuple
bzr revid: rco@openerp.com-20121217134559-cjc0b4ncs1drupn7
2012-12-17 14:45:59 +01:00
Raphael Collet fe48c4eaa9 [FIX] res_country_data: fix US postal address format
bzr revid: rco@openerp.com-20121217130249-w2wanhy1b7wsgbra
2012-12-17 14:02:49 +01:00
Cecile Tonglet 5179507e22 [MERGE] Branch updated with trunk
bzr revid: cto@openerp.com-20121217125902-idtlh4ztyah17bdn
2012-12-17 13:59:02 +01:00
Raphael Collet 3040114651 [MERGE] trunk-style-improvements-xmo (Python stylistic improvement)
bzr revid: rco@openerp.com-20121217110150-4ijt04ic17miktq7
2012-12-17 12:01:50 +01:00
Raphael Collet 2679a49af4 [FIX] orm: replace incorrect usage of 'in' by '=='
bzr revid: rco@openerp.com-20121217104721-miqmtw2zm7r7lxrs
2012-12-17 11:47:21 +01:00
Raphael Collet eecc7de437 [MERGE] trunk-acl-thu (check read/write access restrictions on fields with a groups attribute)
bzr revid: rco@openerp.com-20121217101528-nt5hsjvvodaap57m
2012-12-17 11:15:28 +01:00
Thibault Delavallée 24f0244e9a [MERGE] Merged lp:~openerp-dev/openobject-server/trunk-tracked-fields-chs, with some selective choices.
bzr revid: tde@openerp.com-20121217101057-iypmaa7gtrlda19g
2012-12-17 11:10:57 +01:00
Launchpad Translations on behalf of openerp fefe50549d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121217044438-1j3k23g7l6ypkwoe
2012-12-17 04:44:38 +00:00
Antony Lesuisse fde832955a add file_size
bzr revid: al@openerp.com-20121217011601-utt2a0zweaq2c0bt
2012-12-17 02:16:01 +01:00
Antony Lesuisse 9568552636 revert test change will be moved to an other branch
bzr revid: al@openerp.com-20121216193932-foluon7b5bqqvrib
2012-12-16 20:39:32 +01:00
Antony Lesuisse 70aa2c995a filestore testcase and fix bugs
bzr revid: al@openerp.com-20121216190317-xoz0jij2cfk0c2zk
2012-12-16 20:03:17 +01:00
Antony Lesuisse 2569587c90 Simplify openerp testing, deprecated redondant test declaration, we feed all
tests.* modules to unittest2.TestLoader.loadTestsFromModule(module)

bzr revid: al@openerp.com-20121216173856-euntlfi80uzutkp0
2012-12-16 18:38:56 +01:00
Fabien Pinckaers 4cf0ce7473 [IMP] company form view
bzr revid: fp@tinyerp.com-20121216161013-08ymsrtnk17z0lxd
2012-12-16 17:10:13 +01:00
Antony Lesuisse 807c949030 minor fixes
bzr revid: al@openerp.com-20121216122555-frwadjd247zidw7o
2012-12-16 13:25:55 +01:00
Antony Lesuisse b625a3239d [MERGE] trunk
bzr revid: al@openerp.com-20121216121509-rowl05966ej8su0q
2012-12-16 13:15:09 +01:00
Launchpad Translations on behalf of openerp 04a1fe3553 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121216044514-h60p9z11ckzaiug9
2012-12-16 04:45:14 +00:00
Antony Lesuisse 14ad37779c cleanups
bzr revid: al@openerp.com-20121216015214-kfo6zlarh4gdccrx
2012-12-16 02:52:14 +01:00
Antony Lesuisse f6fe592152 [MERGE] trunk
bzr revid: al@openerp.com-20121216014404-oonymtva4uww7bwk
2012-12-16 02:44:04 +01:00
Fabien Pinckaers 50be9a8903 [IMP] logo of company: False or OpenERP logo if demo data
bzr revid: fp@tinyerp.com-20121215213219-j7vhocg70mi9jjw6
2012-12-15 22:32:19 +01:00
Antony Lesuisse 5fc754b5d3 [MERGE] manually merge customizable web logo, by chs
bzr revid: al@openerp.com-20121215192606-9p66tpo1f4344e20
2012-12-15 20:26:06 +01:00
Antony Lesuisse 0a35f78974 [MERGE] remove res.partner.address by chs
it also removes an ugly hack in the orm.

bzr revid: al@openerp.com-20121215182836-y15v2mwgdg9wyubi
2012-12-15 19:28:36 +01:00
Fabien Pinckaers b8008dc7e4 [IMP] better thumbnail generation
bzr revid: fp@tinyerp.com-20121215104647-p4xnj04v5hxdz5wb
2012-12-15 11:46:47 +01:00
Launchpad Translations on behalf of openerp 809c92fdef Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121214053618-1gz9xun2cb10afle
bzr revid: launchpad_translations_on_behalf_of_openerp-20121215050358-th0pl9jeams3pwkr
bzr revid: launchpad_translations_on_behalf_of_openerp-20121215050620-y27swfcuh62k8u32
bzr revid: launchpad_translations_on_behalf_of_openerp-20121215051723-6cnx1julk94gkm66
2012-12-15 05:17:23 +00:00
Vo Minh Thu 91ee5eae52 [IMP] orm/acl: proper message instead of `TODO`.
bzr revid: vmt@openerp.com-20121214155313-76lncslpx7ugrp6x
2012-12-14 16:53:13 +01:00
Vo Minh Thu 08a082f63f [FIX] registry: Set the fields_by_model attribute in __init__(), use None to flag non-existing fields-per-model cache.
bzr revid: vmt@openerp.com-20121214141114-em9r66e3sfy21t2r
2012-12-14 15:11:14 +01:00
Xavier Morel d02fc09bb9 [IMP] more augmented assignments
bzr revid: xmo@openerp.com-20121214134455-c1o7ehlot6vdwioe
2012-12-14 14:44:55 +01:00
Xavier Morel 5155f30303 [REM] unused local variables
bzr revid: xmo@openerp.com-20121214132533-aafgbov19ckb9ksp
2012-12-14 14:25:33 +01:00
Xavier Morel 3ee178ab2c [FIX] unnecessary backslashes
bzr revid: xmo@openerp.com-20121214132113-1ofmm5x0ua3l2q5d
2012-12-14 14:21:13 +01:00
Xavier Morel 0051f993c0 [FIX] single-quoted docstrings should use double quotes
removed a completely useless docstring

bzr revid: xmo@openerp.com-20121214132007-he0yvpmgjw4rwykb
2012-12-14 14:20:07 +01:00
Xavier Morel 5d3d3868f6 [IMP] use augmented assignments
bzr revid: xmo@openerp.com-20121214131924-bpl48ht21ic4g34b
2012-12-14 14:19:24 +01:00
Xavier Morel 91f441d0cd [FIX] mutable default argument values
bzr revid: xmo@openerp.com-20121214131720-jll2i2y0ph7aexox
2012-12-14 14:17:20 +01:00
Xavier Morel 8d238252cc [REM] unused and broken base.module.scan
bzr revid: xmo@openerp.com-20121214131310-k9yuwqoau6a8e89u
2012-12-14 14:13:10 +01:00
Xavier Morel d0a377cb1c [FIX] incorrect docstrings or docstring param names not matching actual param names
bzr revid: xmo@openerp.com-20121214130758-a2wp963w4djmb02k
2012-12-14 14:07:58 +01:00
Xavier Morel 1954c7ae2b [FIX] unresolved reference: 'model' not available inside test body if generator used
bzr revid: xmo@openerp.com-20121214130507-qc1fqzbdttb2a0n2
2012-12-14 14:05:07 +01:00
Xavier Morel fb6f4bcfbd [REM] unreachable code
bzr revid: xmo@openerp.com-20121214124606-nccvun2sf12gu7c7
2012-12-14 13:46:06 +01:00
Xavier Morel b6ece5d65f [REM] trailing semicolons
bzr revid: xmo@openerp.com-20121214124310-wfdkhmcwxnyqu30m
2012-12-14 13:43:10 +01:00
Xavier Morel 90a687ab7a [FIX] misplaced docstrings
bzr revid: xmo@openerp.com-20121214124243-kvg2cg00k0a4518p
2012-12-14 13:42:43 +01:00
Xavier Morel a34a167037 [FIX] crazy direct calls to dunder methods
bzr revid: xmo@openerp.com-20121214124111-xk1wq0xh0gzgx8oh
2012-12-14 13:41:11 +01:00
Xavier Morel c6079dd6bb [REM] unnecessary parens
bzr revid: xmo@openerp.com-20121214123803-6xu2s1ndnoyj4i3e
2012-12-14 13:38:03 +01:00
Xavier Morel e83d615830 [IMP] literalify list creation
bzr revid: xmo@openerp.com-20121214122605-w1danvqxmqm12800
2012-12-14 13:26:05 +01:00
Xavier Morel a5cb8460c6 [FIX] __init__ can't return values
bzr revid: xmo@openerp.com-20121214122525-bd5207viiz4vqi8x
2012-12-14 13:25:25 +01:00
Xavier Morel affda60c8e [FIX] spaceify tabs
bzr revid: xmo@openerp.com-20121214122423-j8hla3cf3uir7ypt
2012-12-14 13:24:23 +01:00
Xavier Morel 2270f8e8dd [IMP] merge extraneous setitem into literal dict creation
bzr revid: xmo@openerp.com-20121214122223-91elxxp0m6ska8ua
2012-12-14 13:22:23 +01:00
Xavier Morel 80d97e8d17 [REM] duplicate dict keys
bzr revid: xmo@openerp.com-20121214121741-lhkqewfw76riqy45
2012-12-14 13:17:41 +01:00
Xavier Morel 83c102714f [REM] access to deprecated APIs for unsupported Python versions
bzr revid: xmo@openerp.com-20121214121711-d1r6nx82f0mpwgwy
2012-12-14 13:17:11 +01:00
Xavier Morel 4cb3685f70 [IMP] compare to None by identity
bzr revid: xmo@openerp.com-20121214121638-6k5h0ztg94i4f5t6
2012-12-14 13:16:38 +01:00
Xavier Morel 576571bae2 [IMP] simplify to chained comparison
bzr revid: xmo@openerp.com-20121214121604-anypg1nudbk0bh9y
2012-12-14 13:16:04 +01:00
Vo Minh Thu 3667e3c619 [IMP] module loading: removed unnecessary indentation, added comments.
bzr revid: vmt@openerp.com-20121214105820-9nlgzu9pm7cvh1pz
2012-12-14 11:58:20 +01:00
Olivier Dony 1565e8c708 [IMP] ir.ui.menu: deleting a menu should orphan its children w/o corrupting the `parent_store` struct: test + fix
ir.ui.menu was recently changed to use _parent_store,
which precludes using ondelete=set null for the parent_id
column. We nevertheless need to be certain that menus
can always be deleted but *never* cascade-deleted,
due the possible presence of user-created menus.
Overriding menu.unlink() is therefore necessary,
and care must be taken to bypass the default menu
visibility (using the `ir.ui.menu.full_list` context
flag while doing so)

bzr revid: odo@openerp.com-20121213145821-u2ipdvffu00rsgdg
2012-12-13 15:58:21 +01:00
Olivier Dony 90c0eea54a [IMP] ir.ui.menu: enable `parent_store` to allow using the `child_of` operator efficiently when loading the menu hierarchy
The menu loading logic in openerp-web was adapted to use
`child_of`.

bzr revid: odo@openerp.com-20121212210451-40ew3lp5wgps64gy
2012-12-12 22:04:51 +01:00
Olivier Dony e660b70ecb [IMP] orm: do not warn about missing ondelete cascade rule if ondelete is restrict - that's safe as well
bzr revid: odo@openerp.com-20121212210247-emrz5rf9ewcwdggu
2012-12-12 22:02:47 +01:00
Olivier Dony 9aa0701836 [FIX] res.users: whitelist recently added `tz_offset` field so that users can read it on their own record (even the anonymous user)
bzr revid: odo@openerp.com-20121212210137-u0vwkth5wt0au6qc
2012-12-12 22:01:37 +01:00
Olivier Dony e493303e18 [REVERT] Undo r.4617, introduced a bug in menu hierarchy retrieval
Browsing the menu data as super-user is not correct
because when we load the children menu the ORM
recursively calls menu.search(), this time as
admin, hence the groups of the admin are applied
or submenus, instead of the groups of the user.
The patch was also un-necessary, so there is no
reason to keep it.

r.4617 = chs@openerp.com-20121129172145-0ionmbffc72hwxoa

bzr revid: odo@openerp.com-20121212210027-i5yn1uyzmfho0jh0
2012-12-12 22:00:27 +01:00
Vo Minh Thu eb0fcc35d2 [FIX] check_field_access_rights: ignore nonexisting fields
It seems name_alias is requested but does not exist.

bzr revid: vmt@openerp.com-20121212151509-22494edob4e3fqaf
2012-12-12 16:15:09 +01:00
Vo Minh Thu 1a4fd71880 [FIX] test_fields: _all_columns must be modified similarly to _columns.
(Because of the newly added method check_field_access_rights().)

bzr revid: vmt@openerp.com-20121212134755-ykfdykqepwzti5uf
2012-12-12 14:47:55 +01:00
Vo Minh Thu 9d2afcae3f [IMP] orm: check groups-based access rights on model fields in read() and write().
The commented-out tests present in test_acl.py now pass.
Other tests now fail :-(.

bzr revid: vmt@openerp.com-20121212113647-11y3buulifg6tyhj
2012-12-12 12:36:47 +01:00
Quentin (OpenERP) c8d9c5e73b [MERGE] branch removing a typo in a view
bzr revid: qdp-launchpad@openerp.com-20121212105146-5xfqsqaqu086t7wh
2012-12-12 11:51:46 +01:00
Launchpad Translations on behalf of openerp 2e7f68e09f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121212043903-maiyd94p4ifgdqew
bzr revid: launchpad_translations_on_behalf_of_openerp-20121212044145-k216g0bcavdlf2o3
bzr revid: launchpad_translations_on_behalf_of_openerp-20121212045414-tgg69aaw4dz72b0p
2012-12-12 04:54:14 +00:00
Antony Lesuisse 1db5e67ed4 [MERGE] autoinstall at least one dependency must be to install by rco
bzr revid: al@openerp.com-20121211185310-jq6cci7740n54b4a
2012-12-11 19:53:10 +01:00
Christophe Simonis ea542472c9 [FIX] res.partner: column "address" does not exists anymore.
bzr revid: chs@openerp.com-20121211184624-b7v3ffn0jsoa1jbq
2012-12-11 19:46:24 +01:00
Christophe Simonis 74b431298e [FIX] remove res.partner.address model
bzr revid: chs@openerp.com-20121211182934-up3sxi0pcw20qrit
2012-12-11 19:29:34 +01:00
Vo Minh Thu 559e2ff23c [FIX] demo: add the group_partner_manager group to the demo user (needed to pass the test_acl sanity check).
bzr revid: vmt@openerp.com-20121211144903-737sc04h41hmzaro
2012-12-11 15:49:03 +01:00
Raphael Collet fbc37241cc [IMP] modify the condition to auto-install a module: at least one dependency must be 'to install'
bzr revid: rco@openerp.com-20121211144010-3bbszb3ajxr3doup
2012-12-11 15:40:10 +01:00
Vo Minh Thu 055f46f290 [IMP] tests: add test_acl to the openerp.tests suite.
bzr revid: vmt@openerp.com-20121211122844-6y060gex2lbq76hp
2012-12-11 13:28:44 +01:00
Vo Minh Thu f668a123d9 [IMP] Reduce considerably the loading time of a new registry.
Loading time was mesured on the loading of a second database (identical to the
first one), i.e. by passing -d xx,yy on the command line, using cProfile. The
databases were installed with sale, mrp, and the crm.

The cProfile code is commited as part of this patch and should be removed (or
maybe guarded by some command-line flag) (just as the commenting-out of the
cron startup).

The patch was also applied on top of the trunk-simple-table-stats-vmt branch
which provides SQL queries counters.

Results indicate that the number of SQL queries are reduced from about 2100 to
27. Loading time is reduced from 1.3s to 0.26s (i.e. improved by 5).

Changes:

All calls to ir_model_fields to fetch manual (custom) fields are done in a
single call (prior to instanciate all models).

Checks for empty module descriptions are not done unless we are in init or
update mode. (The behavior was the opposite, which was probably a mistake).

Some calls to ir_translation, passing en_US because there was no lang in the
context, are not done anymore.

The improved time is also a result of a change in the decimal_precision module
where precision_get fetches all digits/applications instead of one at a time
(and thus implements its own caching instead of relying on
openerp.tools.ormache).

bzr revid: vmt@openerp.com-20121211105954-lwgs5js7yw3tzghs
2012-12-11 11:59:54 +01:00
Christophe Simonis 88eb634fd5 [IMP] tools.image: size can have width or height optional
bzr revid: chs@openerp.com-20121211100631-th6jjwnc7b1u957v
2012-12-11 11:06:31 +01:00
Sanjay Gohel (Open ERP) 223d8f984b [MERGE]merge with trunk
bzr revid: sgo@tinyerp.com-20121211063706-wefc8qt6zu24vvnl
2012-12-11 12:07:06 +05:30
Launchpad Translations on behalf of openerp 6ae5cc7b8d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121211044616-c47ciibjkh660n1z
2012-12-11 04:46:16 +00:00
Antony Lesuisse c4fcf264c0 [IMP] workers request count on exit
bzr revid: al@openerp.com-20121211012436-gnr3vxhoye1xf0dh
2012-12-11 02:24:36 +01:00
Thibault Delavallée bd0bae6625 [MERGE] Perform auto-join and mailboxes+needaction speed udpate. Server-side branch, holding a refactoring of expression.parse and the addition of _auto_join feature on relational fields.
expression.parse: refactored the main parsing loop, now using source and result stacks. Leaf elements are encapsulated into a specific object, allowing to delegate the join condition formation, working table management and table aliases generation to them. The parsing is now a simple loop taking a leaf, doing one action on it, and putting the result back to be analyzed or in the results. This allows to avoid having nested loops and uncontrolled results.

Other modifications :
- updated the generation of order_by to take into account the table now referred using aliases
- updated Query object to use the aliases
- fixed an outstanding bug about _order, now handled as order. This means that putting direct SQL into _order of models will not be supported anymore, because of the computing complexity now that we have multiple joins in queries. The branch holds the patch from Paulius Sladkevičius
- updated and added tests
- added a basic documentation for the freature

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

bzr revid: tde@openerp.com-20121210154652-6sab9usb38i7adlh
2012-12-10 16:46:52 +01:00
Vo Minh Thu 509a084e79 [IMP] use the openerp namespace.
bzr revid: vmt@openerp.com-20121210152723-mv4dykfu6ip1991h
2012-12-10 16:27:23 +01:00
Christophe Simonis 236df95b22 merge upstream
bzr revid: chs@openerp.com-20121210132406-9ro3amw6s6pzeez4
2012-12-10 14:24:06 +01:00
Thibault Delavallée 733cb0d96a [MERGE] Sync with trunk, because conflicting with ir_ui_menu lastly udpated.
bzr revid: tde@openerp.com-20121210132204-39p7chispvogelux
2012-12-10 14:22:04 +01:00
Christophe Simonis 507c02aaa2 [REV] close_socket is back in netsvc.py
bzr revid: chs@openerp.com-20121210132133-m1z2hb72y1r1wsei
2012-12-10 14:21:33 +01:00
Sanjay Gohel (Open ERP) 8de8537c1e [IMP]add tracked attribute on fields
bzr revid: sgo@tinyerp.com-20121210131100-v88knep1or2s5o03
2012-12-10 18:41:00 +05:30
Thibault Delavallée 3446b35874 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121210125418-l8ntl5o5mnb2dq3h
2012-12-10 13:54:18 +01:00
Anand Patel (OpenERP) b3ab5a63ae [MERGE] Merged with latest trunk
bzr revid: pan@tinyerp.com-20121210084122-n7qyuh8hm6jvgmd9
2012-12-10 14:11:22 +05:30
Thibault Delavallée f0abd6f49e [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121210083805-1t45n6xxmptpo28o
2012-12-10 09:38:05 +01:00
Nimesh (Open ERP) 480e116b40 [MERGE] with trunk
bzr revid: nco@tinyerp.com-20121210070332-6h5qnlcf4whjv7p5
2012-12-10 12:33:32 +05:30
Sanjay Gohel (Open ERP) ee756acff1 [MERGE]with trunk
bzr revid: sgo@tinyerp.com-20121210050740-m2tofymj14oqjohl
2012-12-10 10:37:40 +05:30
Launchpad Translations on behalf of openerp 798e44b1e4 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121210043632-9tdic74gwliyynmq
2012-12-10 04:36:32 +00:00
Antony Lesuisse 96f632224f [IMP] workers document defaults
bzr revid: al@openerp.com-20121209225349-k0f9jpg7n0nxc70t
2012-12-09 23:53:49 +01:00
Antony Lesuisse 0801f22e04 [IMP] workers setproctitle if available
bzr revid: al@openerp.com-20121209215336-rvmy0dejfpmy1awi
2012-12-09 22:53:36 +01:00
Antony Lesuisse cf31a12d94 [IMP] workers cron dont keep cursors
need for saas and demo

bzr revid: al@openerp.com-20121209212242-s3a91vxg8bixqls7
2012-12-09 22:22:42 +01:00
Antony Lesuisse 97ab217893 [IMP] workers cron logging and chorus
bzr revid: al@openerp.com-20121209204544-7w98xboxh6uytz43
2012-12-09 21:45:44 +01:00
Antony Lesuisse 099ae0f70c [IMP] workers better logging
bzr revid: al@openerp.com-20121209203134-sobl1m3q53bjne2i
2012-12-09 21:31:34 +01:00
Antony Lesuisse a4fcf06301 [FIX] temporary fix workers cron for missing openerp.addons.base
bzr revid: al@openerp.com-20121209200018-bvzdy7nhkyo6kaun
2012-12-09 21:00:18 +01:00
Antony Lesuisse 2f1f17ead9 [IMP] fields warning display args to locate them
bzr revid: al@openerp.com-20121209193952-ukk0aie3d8fg18q2
2012-12-09 20:39:52 +01:00
Antony Lesuisse 17ec9a3422 [FIX] workers graceful shutdown
bzr revid: al@openerp.com-20121209193022-r4h1ksmqrk2cfnds
2012-12-09 20:30:22 +01:00
Antony Lesuisse ae45df93a4 misc
bzr revid: al@openerp.com-20121209190543-83hmvyfcu1af7wiv
2012-12-09 20:05:43 +01:00
Antony Lesuisse c41d63f300 netrpc flip default, backward compatible for a few days
bzr revid: al@openerp.com-20121209185651-7i4vlvul5b3jgnmy
2012-12-09 19:56:51 +01:00
Antony Lesuisse 0cfa89dff7 netrpc flip default
bzr revid: al@openerp.com-20121209185442-1kgtc0hvds4fpng0
2012-12-09 19:54:42 +01:00
Antony Lesuisse 3d3eac7c50 service cleanups, more wizard removal
bzr revid: al@openerp.com-20121209184632-hp9b9fbbn9g4h2lw
2012-12-09 19:46:32 +01:00
Antony Lesuisse 0ef9f2e4b6 [MERGE] trunk
bzr revid: al@openerp.com-20121209182643-9fv5ge2b2r2hrpbv
2012-12-09 19:26:43 +01:00
Antony Lesuisse 5790312d65 netsvc, netrpc, wizardcleanup
bzr revid: al@openerp.com-20121209181536-au8u47557i45wizl
2012-12-09 19:15:36 +01:00
Antony Lesuisse f4977b1f44 cron registrymanager removal
bzr revid: al@openerp.com-20121209175300-rhwf9n0y29o7ct19
2012-12-09 18:53:00 +01:00
Antony Lesuisse 42f292af93 cron cleanup, back to the Kernighan KISS roots 1min poll time, rely only on database, multiprocess/multiserver ready.
Nota: If we replace sequence signaling for cache invalidation with pg
listen/notify in the future, we will use the same mechanism for more accurate
cron timing.

bzr revid: al@openerp.com-20121209170447-zs0k3jazokylwvar
2012-12-09 18:04:47 +01:00
Antony Lesuisse d7d1fe562c [IMP] dbname on localthread for logging
bzr revid: al@openerp.com-20121209034910-0iv3mek8860yts3i
2012-12-09 04:49:10 +01:00
Antony Lesuisse 603009f5bc [FIX] duplicate database
bzr revid: al@openerp.com-20121209030348-iyh2zz6oseuu14c6
2012-12-09 04:03:48 +01:00
Antony Lesuisse f224ce1d8b [IMP] cli first command testjs
bzr revid: al@openerp.com-20121209024618-cae0ux1vmo38ccwr
2012-12-09 03:46:18 +01:00
Antony Lesuisse a6700e0e3f [MERGE] multiprocess signaling
trying trunk, feature branch fails with Address already in use

bzr revid: al@openerp.com-20121208210954-pi55sib4x7eyamem
2012-12-08 22:09:54 +01:00
Antony Lesuisse 3d2a09a973 multiprocessing signaling manually backported from 6.1
bzr revid: al@openerp.com-20121208181151-lfy956ysnok5b5hf
2012-12-08 19:11:51 +01:00
Antony Lesuisse e11aa2d37b [MERGE] trunk
bzr revid: al@openerp.com-20121208173012-upufsxqur04r0242
2012-12-08 18:30:12 +01:00
Fabien Pinckaers c9d430c32c [IMP] small improvement readonly type on ir.actions
bzr revid: fp@tinyerp.com-20121208163040-uzdnu0f6rg3gba6y
2012-12-08 17:30:40 +01:00
Fabien Pinckaers 26570ab15e [IMP] no black backgrounds, keep transparency
bzr revid: fp@tinyerp.com-20121208131628-kvea5im5vlprj02r
2012-12-08 14:16:28 +01:00
Launchpad Translations on behalf of openerp a325343c42 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121208045847-0s126yjr8uwtmumb
bzr revid: launchpad_translations_on_behalf_of_openerp-20121208045953-wihh2b6ioie9o11i
bzr revid: launchpad_translations_on_behalf_of_openerp-20121208052110-nf16120fhniyh9zh
2012-12-08 05:21:10 +00:00
Olivier Dony fce8cf7a4c [MERGE] orm: remove deprecated OIDS clause in CREATE TABLE sql, courtesy of Christophe Chauvet, Syleam
The WITH/WITHOUT OIDS option is deprecated and considered
useless since PostgreSQL 8.1:
http://www.postgresql.org/docs/8.4/static/runtime-config-compatible.html#GUC-DEFAULT-WITH-OIDS

"WITH OIDS" could actually hurt performance

bzr revid: odo@openerp.com-20121207164840-2huk2qs1k1mmea5p
2012-12-07 17:48:40 +01:00
Christophe CHAUVET 82b17c82a4 [IMP] Remove completly the OIDS, cause WITHOUT OIDS is activate by default
bzr revid: christophe.chauvet@syleam.fr-20121207162110-75hbq71zc6ufeby9
2012-12-07 17:21:10 +01:00
Thibault Delavallée bb598cd105 [CLEAN] orm: added quote around a forgottent table name; cleaned a bit some code and added comments, removed dead code.
bzr revid: tde@openerp.com-20121207162019-ec1x7a38vw2rrqze
2012-12-07 17:20:19 +01:00
Thibault Delavallée 9381a82715 [IMP] Added an assert on the alias length.
bzr revid: tde@openerp.com-20121207160933-1ivbkkv6tgg5a7x3
2012-12-07 17:09:33 +01:00
Thibault Delavallée a786f8406b [REV] ir_ui_menu: coding-style changes reverted, because not necessary. Only a store=True on needaction_enabled is sufficient.
bzr revid: tde@openerp.com-20121207160539-6pqj932lvznxofd4
2012-12-07 17:05:39 +01:00
Thibault Delavallée 61a2a82174 [MERGE] Merged branch holding a proposal to solve the generate_order_by issue (see lp:1070757). As requested by Olivier Donny, this fix has been moved into generate_order_by. Deleted previous workaround done in this branch. Patch courtesy of Paulius Sladkevičius
bzr revid: tde@openerp.com-20121207155825-9bjvuxhyr0x937l7
2012-12-07 16:58:25 +01:00
Thibault Delavallée 50cf6d4008 [CLEAN] Query: cleaned a bit the code. All joins now goes through the same method, either implicit or explicit. Will have to be upgraded in future versions, but at least this is a bit centralized. Updated ORM accordingly. Updated tests. Added a get_alias_from_query method in expression that find the table and the alias from a 'full alias' statement.
bzr revid: tde@openerp.com-20121207154204-mx036lpj3vdclu77
2012-12-07 16:42:04 +01:00
Thibault Delavallée efc6e78d25 [IMP] [MOV] Moved test_osv and test_translate from unchecked test directory to tests, to be now effectively run. Updated test_osv to matche the new alias coding style.
bzr revid: tde@openerp.com-20121207142931-6ll5yduitdk3ijes
2012-12-07 15:29:31 +01:00
Thibault Delavallée 1ca2c45d41 [IMP] [TESTS] Cleaned and updated tests about order_by with inherits and m2o fields.
bzr revid: tde@openerp.com-20121207134946-h0p1em7iq80ux0js
2012-12-07 14:49:46 +01:00
Quentin (OpenERP) f491097220 [MERGE] part of addons 28: supplier field should be visible on res.partner
bzr revid: qdp-launchpad@openerp.com-20121207132256-t1m3ewgzmgjnz0dh
2012-12-07 14:22:56 +01:00
Thibault Delavallée 390ff1540f [CLEAN] expression.py: cleaned and added comments, var names (table -> model notably).
bzr revid: tde@openerp.com-20121207123727-md65da41863y827e
2012-12-07 13:37:27 +01:00
Thibault Delavallée e36b44e82f [IMP] [WIP] order_by: now using aliases in _generate_order_by, _generate_o2m_order_by, _inherits_join_add, ... added some tests. Next comits will clean a bit the code, because currently it is a bit messy.
bzr revid: tde@openerp.com-20121207115424-x8gkjcqpi8dz96g2
2012-12-07 12:54:24 +01:00
Christophe Simonis 393fbe787a merge upstream
bzr revid: chs@openerp.com-20121206101346-y29ofn540ihmbvtt
bzr revid: chs@openerp.com-20121207104259-xy72g0rs6sdqtroz
2012-12-07 11:42:59 +01:00
Tejas Tank ec9cf39e86 Merged Latest.
bzr revid: tta@openerp.com-20121207101428-lhfadcamzazbb682
2012-12-07 15:14:28 +05:00
Thibault Delavallée f810fb0526 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121207093350-kinvhwjzgrmif4d6
2012-12-07 10:33:50 +01:00
Launchpad Translations on behalf of openerp 595b9e2d85 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121207043434-1dvo9j9slfscwdjt
2012-12-07 04:34:34 +00:00
Christophe CHAUVET 3d3534ca39 [IMP] Don't use WITH OIDS when create a table
lp bug: https://launchpad.net/bugs/1087332 fixed

bzr revid: christophe.chauvet@syleam.fr-20121206163711-5jvrhrg8w5le4zay
2012-12-06 17:37:11 +01:00
Thibault Delavallée d588388ae4 [IMP] [CLEAN] expression.parse: updated and cleaned a bit the tests. Removed print statements.
bzr revid: tde@openerp.com-20121206162219-n1c48dkjghc4nu63
2012-12-06 17:22:19 +01:00
Thibault Delavallée bb57752f0a [IMP] [CLEAN] [REVIEW] expression: udpated domain management. Added pop and push methods in parse to hide the internal plumbery. Cleaned some comments, deleted dead/unnecessary code, updated some comments. to_ids and childof_domain back in parse. Added generate_table_alias, method that should be used everywhere if possible when generating table name or aliases for sql conditions and things like that.
bzr revid: tde@openerp.com-20121206162128-1qol201os1xztlz5
2012-12-06 17:21:28 +01:00
Thibault Delavallée a0b8a58174 [IMP] [REVIEW] _auto_join on many2many now raises a NotImplementedError; added a test case for that.
bzr revid: tde@openerp.com-20121206092745-a8t62khs4x37db1g
2012-12-06 10:27:45 +01:00
Thibault Delavallée df4665fcd2 [IMP] [CLEAN] [REVIEW] field._properties -> isinstance(field, fields.function).
bzr revid: tde@openerp.com-20121206091648-vmy2ghr293reoxn6
2012-12-06 10:16:48 +01:00
Thibault Delavallée 3f34f24c02 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121206090241-vpbmp1fwd6gcddev
2012-12-06 10:02:41 +01:00
Sanjay Gohel (Open ERP) 5ebc11386e [MERGE]merge with trunk
bzr revid: sgo@tinyerp.com-20121129052848-97zzqhddp1tgenvp
bzr revid: sgo@tinyerp.com-20121204050625-5zu9xzsqtg5p56h9
bzr revid: sgo@tinyerp.com-20121205052033-01i94a3tun5umjyy
bzr revid: sgo@tinyerp.com-20121206044540-gici94fhwkx1nghh
2012-12-06 10:15:40 +05:30
Launchpad Translations on behalf of openerp 6fb47cf443 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121206043933-i6nbcy70edyb04ax
2012-12-06 04:39:33 +00:00
Christophe Simonis effec78db7 [FIX] correct reexecute. works for windows service
bzr revid: chs@openerp.com-20121205175630-6y8ul4ki13z0coyh
2012-12-05 18:56:30 +01:00
Christophe Simonis 84aa05b4cc [FIX] do not hardcode ids in tests
bzr revid: chs@openerp.com-20121205173733-t686x9m2yylp552w
2012-12-05 18:37:33 +01:00
Christophe Simonis 5483836f51 [FIX] do not hardcode ids in tests
bzr revid: chs@openerp.com-20121205171707-r073wdt2eza82qyt
2012-12-05 18:17:07 +01:00
Xavier Morel d65709f68b [IMP] simplify @profile implementation
bzr revid: xmo@openerp.com-20121205160847-8zc8of4grueusbl2
2012-12-05 17:08:47 +01:00
Antony Lesuisse f54055bda1 [IMP] ir_actions add a server action to run config wizards
bzr revid: al@openerp.com-20121205160015-lsst6j3218bn4usa
2012-12-05 17:00:15 +01:00
Christophe Simonis 097254fe00 [FIX] correct reexecute. works on windows
bzr revid: chs@openerp.com-20121205155209-aqra9rtvq11uq37d
2012-12-05 16:52:09 +01:00
Thibault Delavallée 02c200844c [CLEAN] Removed some forgotten print statements.
bzr revid: tde@openerp.com-20121205153535-lfs6yrokyk0wfm0w
2012-12-05 16:35:35 +01:00
Thibault Delavallée ea01dfe9dd [CLEAN] fields.py: added auto_join in one2many and many2one __init__, binded on _auto_join. Added some short explanations in fields.py about the attribute.
bzr revid: tde@openerp.com-20121205153410-07vo3j1c641xgmda
2012-12-05 16:34:10 +01:00
Christophe Simonis 69d057efc5 merge upstream
bzr revid: chs@openerp.com-20121201003326-j6n5r8juz16752j5
bzr revid: chs@openerp.com-20121204165557-u1oxocye3la4r6gf
bzr revid: chs@openerp.com-20121205143722-olswf8gsg8mhref3
2012-12-05 15:37:22 +01:00
Thibault Delavallée 37051bbe91 [FIX] needaction: returns a count-like result.
bzr revid: tde@openerp.com-20121205143238-xbna8akgqduap2t5
2012-12-05 15:32:38 +01:00
Christophe Simonis 8dbee5c473 [FIX] service/__init__.py: do not join() main thread
bzr revid: chs@openerp.com-20121205143222-vrasdnzhdtdr307c
2012-12-05 15:32:22 +01:00
Christophe Simonis f9d8d746e2 [FIX] netsvc.py: ignore ENOTCONN on windows when calling shutdown() on sockets
bzr revid: chs@openerp.com-20121205141106-0oynmc3qdvy58owu
2012-12-05 15:11:06 +01:00
Thibault Delavallée ae6f7b3a08 [IMP] ir_needaction: search is now without count but with a limit (to 100), and a simplified order by. This allows much faster queries as postgresql does not have to worry about order and things like that.
bzr revid: tde@openerp.com-20121205140726-z1o4ueclat7y96pl
2012-12-05 15:07:26 +01:00
Thibault Delavallée 003752f7f1 [REF] ir_ui_menu: needaction_enabled is now stored, because there are no reasons not to be (this is something mainly statically defined). needaction_counter is removed, but a method on the menu allows to have the information back, calling get_needaction_data. A web-side branch will call asynchronously this method with some menu ids, allowing to separate the menu loading from the needaction loading.
bzr revid: tde@openerp.com-20121205102052-pn1uwhrl9mn46c4x
2012-12-05 11:20:52 +01:00
Thibault Delavallée 1652bb1e83 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121205092215-g6a8fpxtd1fq3nwn
2012-12-05 10:22:15 +01:00
Vo Minh Thu 93ae934963 [ADD] added comment in _validate() explaining why the context is not passed around when calling _constraints functions.
bzr revid: vmt@openerp.com-20121205082840-2ww34gbs7nl56952
2012-12-05 09:28:40 +01:00
Launchpad Translations on behalf of openerp 43fe4eeed8 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121205051850-of8z1b1xzvayuk9t
2012-12-05 05:18:50 +00:00
Thibault Delavallée a8359924c2 [IMP] expression.parse: added the support of domain on one2many fields when _auto_true is activated. Leaf creation from an existing leaf moved as a method in expression object. Added some comments. Added / updated some tests.
bzr revid: tde@openerp.com-20121204170744-rv8e0zlteqoyj60o
2012-12-04 18:07:44 +01:00
Arnaud Pineux 133d581273 [FIX] _register_hook & loader
lp bug: https://launchpad.net/bugs/944197 fixed

bzr revid: api@openerp.com-20121204161029-3gagt4lcci93g5lk
2012-12-04 17:10:29 +01:00
Vo Minh Thu a1e2fdb69c [MERGE] fix the serialized field domain in the model view.
bzr revid: vmt@openerp.com-20121204150004-lq8t7qgeimeskysf
2012-12-04 16:00:04 +01:00
Thibault Delavallée 52bd6459ef [REV] ir_ui_menu: needaction on menus back to their previous state (as in current trunk as ok 2012/12/04; another branch exist for speeding them up, this one is for improving the parsing.
bzr revid: tde@openerp.com-20121204145608-lah4uk40ok5litf0
2012-12-04 15:56:08 +01:00
Thibault Delavallée 9e6c2805ab [REF] [IMP] expression.parse: refactored the main parsing loop, now using source and result stacks. Leaf elements are encapsulated into a specific object, allowing to delegate the join condition formation and aliases generation, as well as working_table management to them. The main parsing loop is now a loop taking a leaf, doing one action on it, and putting the result back to be analyzed or in the results. This allows to avoid having while loops inside a main while loop with some weird corner effects.
bzr revid: tde@openerp.com-20121204142650-gkhmjdeu5upi25kp
2012-12-04 15:26:50 +01:00
Nimesh (Open ERP) 713a9e31fe [MERGE] merge with lp:openobject-server
bzr revid: nco@tinyerp.com-20121204120249-yvw89bih2ad94f3u
2012-12-04 17:32:49 +05:30
Olivier Dony b624267457 [FIX] translate,orm: remember local Model [_sql]_constraints, and keep only those when exporting translations
Previously all _*constraints leaked upstream and
downstream, and were duplicated in all the exported
terms for all modules inheriting from a given model.

bzr revid: odo@openerp.com-20121204082947-tdpiu71ryxzuredb
2012-12-04 09:29:47 +01:00
Thibault Delavallée 638fc20618 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121130093658-uvm0gbo90su88psh
bzr revid: tde@openerp.com-20121203131657-4gcp4wreylnmw2or
bzr revid: tde@openerp.com-20121204082427-7zdzn6f21xzvxby9
2012-12-04 09:24:27 +01:00
Launchpad Translations on behalf of openerp 2be8fdd030 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121204050358-y59q1n93uu6j3s03
2012-12-04 05:03:58 +00:00
Olivier Dony bac2638a2f [I18N] Removed duplicated terms for inherited [_sql]_constraints
bzr revid: odo@openerp.com-20121203162834-78jvf03c2octss1w
2012-12-03 17:28:34 +01:00
ajay javiya (OpenERP) 61639fd491 [FIX]:Issue of add custome field on object
bzr revid: aja@tinyerp.com-20121203132713-298spxst191htlh7
2012-12-03 18:57:13 +05:30
Vo Minh Thu 7afd9783e8 [IMP] Use the loglevel TEST when logging test file loading and testsuite execution.
bzr revid: vmt@openerp.com-20121203104228-8a5on97pn9r1klls
2012-12-03 11:42:28 +01:00