Commit Graph

4808 Commits

Author SHA1 Message Date
Olivier Dony ffd258e3f0 [FIX] web_services: incorrect error message in logfile after failed DB dump, courtesy of Brendan Clune (Logic Supply)
lp bug: https://launchpad.net/bugs/1124440 fixed

bzr revid: odo@openerp.com-20130318144156-q7yw9qy83tngdg6x
2013-03-18 15:41:56 +01:00
Olivier Dony 8d6e91219f [FIX] web_services: set PGPASSWORD in environment only when db_password is set in the config
This prevents an error when trying to set an
environment variable to `False`, and is the
second part of the regression introduced in
revision 4424. See previous partial fix
at revision 4893

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

bzr revid: odo@openerp.com-20130318141532-m2xsahh5u5pi5bth
2013-03-18 15:15:32 +01:00
Thibault Delavallée 027c419181 [MERGE] 'Invite & Quick Create User' update. The server branch holds in res_users.create() the support of key in context, allowing to put xml_ids of user groups in the context of relational fields linking to res.users. The purpose of this modification is to quick-create users that will have the access rights related to the functional meaning of the field. For example creating an user in the 'Responsible' field of a task should add him in the group related to project management.
Example of use : <field name="user_id" string="Project Manager" context="{'default_groups_ref': ['base.group_user', 'project.group_project_manager']}"/> will add Employee (base.group_user) and Project Manager (project.group_project_manager) groups, as well as implied groups.

res_users:
- [add] added support of  key in context of default_get. It contains a list of xml_ids of user groups; those groups, if found, are added to the newly created user,
- [ref] refactored simplified (quick create) view that is now more like a contact card, with login and email required because of the login email that will be send to the user

bzr revid: tde@openerp.com-20130318120905-1w9xpoyppnj62wlj
2013-03-18 13:09:05 +01:00
Olivier Dony 8e3ba8e34e [FIX] service.db: missing imports
lp bug: https://launchpad.net/bugs/1155523 fixed

bzr revid: odo@openerp.com-20130318110257-x9591dl74vu8yf2f
2013-03-18 12:02:57 +01:00
Olivier Dony 125b2a804a [IMP] service.wsgi_server: useless import
bzr revid: odo@openerp.com-20130318110229-h4422zy2kcjys2ik
2013-03-18 12:02:29 +01:00
Thibault Delavallée 7602819aa3 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130315093732-2u1lc5x51276ethu
bzr revid: tde@openerp.com-20130318101836-rve5ane4rheiiq6k
2013-03-18 11:18:36 +01:00
Launchpad Translations on behalf of openerp dcc9a3aeab Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130317052921-m3gthz6l7fx1jwu7
bzr revid: launchpad_translations_on_behalf_of_openerp-20130315064417-68iimts1xgj8bn5z
bzr revid: launchpad_translations_on_behalf_of_openerp-20130317053035-kqb70nwvcg1iqldu
2013-03-17 05:30:35 +00:00
Xavier Morel 9494f21ea8 [FIX] __getattr__ implementation on BaseModel
object has no __getattr__, in the usual case super(BaseModel,
self).__getattr__ will blow up with an AttributeError (but the wrong
one).

On the other hand, if a BaseModel descendant class is used in MI
alongside a non-BM descendant (e.g. res_partner inheriting from Model
and format_address) and the non-BM descendant also implements
__getattr__, we want to forward the failed attr search to the other
__getattr__ implementation.

So check if super() has a __getattr__, call it if it does otherwise
AttributeError right there.

bzr revid: xmo@openerp.com-20130315115302-z7jla334gb9a5e43
2013-03-15 12:53:02 +01:00
Thibault Delavallée a8aebe31f3 [IMP] res_users: improved simplified form (using info_box).
bzr revid: tde@openerp.com-20130315093658-8ihhf3h4w6q3vypo
2013-03-15 10:36:58 +01:00
Launchpad Translations on behalf of openerp e23fba677e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130315045639-qfbb8ay587g0rs6p
2013-03-15 04:56:39 +00:00
Quentin (OpenERP) 43afe718fd [MERGE] tools: regex to find the good partner name
bzr revid: qdp-launchpad@openerp.com-20130314170010-ggybuy16m96kulem
2013-03-14 18:00:10 +01:00
Vo Minh Thu c79c23d26e [REF] orm:
- isinstance(ids, dict) is done at the end, but not at the beginning,
so if ids was a single dict, it would break in the map(lambda).
- The loop to convert None to False can be done in _read_flat instead
of read (there is already plenty of loops in _read_flat)
- The __getattr__ was breaking the stacktrace.

bzr revid: vmt@openerp.com-20130314154418-0wmxfw1ot92kjmzf
2013-03-14 16:44:18 +01:00
Quentin (OpenERP) 64502253b8 [FIX] base, res_currency: raise an error if a currency doesn't have any rate associated to the given period (if any)
bzr revid: qdp-launchpad@openerp.com-20130314153800-wl48wkp5f3zz0pb6
2013-03-14 16:38:00 +01:00
Christophe Simonis 7c4279cbc9 [FIX] apps: hide breadcrum of the remote action
bzr revid: chs@openerp.com-20130314145017-k2502iwwovj379m0
2013-03-14 15:50:17 +01:00
Vo Minh Thu 487fe3a1ab [MERGE] [FIX] ir.model: uninstall should not drop LOG_ACCESS_COLUMNS columns.
bzr revid: vmt@openerp.com-20130314131127-93qvwrpz0li3ba32
2013-03-14 14:11:27 +01:00
Chris Biersbach 6b80f5bdff [FIX] orm: moves the access_rule check to the end of the create method to avoid getting errors when trying to create and m2m values are passed, which can cause the rules to fail
bzr revid: cbi@openerp.com-20130314092017-agwzvwwbxev531kk
2013-03-14 10:20:17 +01:00
Thibault Delavallée 69bcf72639 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20130314083048-fu4gwcsh3z5t7anj
2013-03-14 09:30:48 +01:00
Xavier Morel fd3035021d [FIX] missing import in wsgi_server
bzr revid: xmo@openerp.com-20130313161815-rcupbzq08b2wst1j
2013-03-13 17:18:15 +01:00
Christophe Matthieu bf4f5cb72b [IMP] res_user: change default groups message in simplified view
bzr revid: chm@openerp.com-20130313154447-78z9zvgf8nonl9hj
2013-03-13 16:44:47 +01:00
Cedric Snauwaert b5129816dc [FIX]res_currency: change value from 0 to 1 when no rate is associated to a given period of time
in order to prevent division by zero error

bzr revid: csn@openerp.com-20130313154342-g1d1jj3g061evf56
2013-03-13 16:43:42 +01:00
Christophe Matthieu 9957d9654a [IMP] res_user: add a try catch in default_get for get_object_reference of default_groups_ref
bzr revid: chm@openerp.com-20130313154309-6dbd7y1ftxzpcmlx
2013-03-13 16:43:09 +01:00
Olivier Dony ab76b7a67f [FIX] web_services: fix db dump/restore when authentication requires a password on non-win32 systems
The various pg_* utilities require the password
via a special environment variable or a special
`pgpass` file in the user home, even on Unix,
namely when the PostgreSQL connection is done
via TCP and not via a unix socket.

Setting the environment variable is relatively
safe if it is removed from the environment
immediately after the operation, and saves user
the trouble of managing the pgpass file themselves.

This had been fixed at revision 3992 but was
incorrectly removed for non win32 platforms
at revision 4424 (rev-id stw@openerp.com-20120912114651-8hcliparft1ep9tc)

lp bug: https://launchpad.net/bugs/790164 fixed
lp bug: https://launchpad.net/bugs/919100 fixed

bzr revid: odo@openerp.com-20130313152020-suo2pyrabae0ecg4
2013-03-13 16:20:20 +01:00
Christophe Matthieu a37aea3a85 [MERGE] from trunk
bzr revid: chm@openerp.com-20130313141600-pyazzzanowtrfjja
2013-03-13 15:16:00 +01:00
Thibault Delavallée 910f7097ba [IMP] res_partner: use tools.email_split instead of custom regex when parsing partner_name to find an email.
bzr revid: tde@openerp.com-20130313105640-r53xueaz36zw3fjd
2013-03-13 11:56:40 +01:00
Launchpad Translations on behalf of openerp a67b872184 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130313043725-lauj92alx7hw7t25
2013-03-13 04:37:25 +00:00
Launchpad Translations on behalf of openerp 6972079a10 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130312051826-beyul5zabtyks7sn
2013-03-12 05:18:26 +00:00
Vo Minh Thu bfc911e737 [FIX] report: fallback on default font when a specified font does not exist.
bzr revid: vmt@openerp.com-20130311155147-pl3pi072wr819z0z
2013-03-11 16:51:47 +01:00
Launchpad Translations on behalf of openerp c5319f47f7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130309053740-hrhdafa05mp0s6cd
bzr revid: launchpad_translations_on_behalf_of_openerp-20130310051349-azaf8kb3hdi6ux85
bzr revid: launchpad_translations_on_behalf_of_openerp-20130311054204-8yc0hga0v6pkk36x
bzr revid: launchpad_translations_on_behalf_of_openerp-20130309053843-8x3181swnc2x0rim
bzr revid: launchpad_translations_on_behalf_of_openerp-20130310051523-z6034cfpv1qbztzx
bzr revid: launchpad_translations_on_behalf_of_openerp-20130311054303-38ti3nq1h5jfbasa
bzr revid: launchpad_translations_on_behalf_of_openerp-20130309053849-8eqsc9sjxknzfha8
bzr revid: launchpad_translations_on_behalf_of_openerp-20130310051527-tajzx0x6p7mzpg43
bzr revid: launchpad_translations_on_behalf_of_openerp-20130311054307-qgl6ao1a06b9an3a
2013-03-11 05:43:07 +00:00
Launchpad Translations on behalf of openerp 16ec96b2e8 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130311045516-m6tmmcamdapi5m23
2013-03-11 04:55:16 +00:00
Cedric Snauwaert f05aff8ac9 [FIX]tools/mail: fix regex when sanitizing html containing mail address
bzr revid: csn@openerp.com-20130308104850-02nfuaxdr91bo0nx
2013-03-08 11:48:50 +01:00
Olivier Dony 6fbb9d11aa [FIX] base: invalid address in demo data causes failure in Google Maps lookup
Apprently on 2013-03-08 Google Maps stopped
returning a location in Belgium for this invalid
street name.

We consider Google Maps as a commodity so it
is ok to have the crm_partner_assign tests
fail in case our lookup mechanism does
not work anymore.

Note: this is a cherry pick of the 7.0
fix as a quick fix because the complete
forward-port of 7.0->trunk will require
some more time for conflict resolution

bzr revid: odo@openerp.com-20130308103110-eoj3lme49vy5jo91
2013-03-08 11:31:10 +01:00
Olivier Dony 87a26bde3b [FIX] base: invalid address in demo data causes failure in Google Maps lookup
Apprently on 2013-03-08 Google Maps stopped
returning a location in Belgium for this invalid
street name.

We consider Google Maps as a commodity so it
is ok to have the crm_partner_assign tests
fail in case our lookup mechanism does
not work anymore.

bzr revid: odo@openerp.com-20130308094115-frjp99xi296oosxl
2013-03-08 10:41:15 +01:00
Launchpad Translations on behalf of openerp cc87ba5db7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130308052354-6aerviht20qnfh26
bzr revid: launchpad_translations_on_behalf_of_openerp-20130308060553-lujyj3qxhqljssu0
bzr revid: launchpad_translations_on_behalf_of_openerp-20130308060749-69tgopwkctb0v5ei
2013-03-08 06:07:49 +00:00
Olivier Dony 527ef066dd [REVERT] tools.translate: undo rev 4874 refactoring and renaming `trans_parse_view`, was meant for trunk
rev 4874 = rev-id xmo@openerp.com-20130306095720-3277aw0rq9pzpsw4

bzr revid: odo@openerp.com-20130307164558-alvl7hcov2uhqxbw
2013-03-07 17:45:58 +01:00
Christophe Simonis ab2dd715de [FIX] module loading: allow addons path entries to have substring of others.
i.e. having ./addons/ and ./addons2/ is now possible

bzr revid: chm@openerp.com-20130307131104-ju2n7zm7yvced68h
2013-03-07 14:11:04 +01:00
Vo Minh Thu 4a77c6a0c5 [FIX] timezone: under windows os.environ["TZ"] was not affecting the server,
now it does (probably because we make sure to first set the environment
*then* import the time module. Works fine under Windows XP.

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

bzr revid: vmt@openerp.com-20130307121637-47fac72clykizlnj
2013-03-07 13:16:37 +01:00
Olivier Dony 9bb7ff3413 [I18N] base: update translation templates for latest term changes due to bug fixes
bzr revid: odo@openerp.com-20130307120259-oiywqqlxwfpn2uc6
2013-03-07 13:02:59 +01:00
Launchpad Translations on behalf of openerp c65d36bb65 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130307054408-wu5arb2r3o3o5gmz
bzr revid: launchpad_translations_on_behalf_of_openerp-20130307054431-sed0lo6klnisoyo7
bzr revid: launchpad_translations_on_behalf_of_openerp-20130307054434-qdlzkcum9yy9mkaw
2013-03-07 05:44:34 +00:00
Quentin (OpenERP) d97916a063 [IMP] expression.py: added a clue to debug fuzzy tracebacks related to domain badly written
bzr revid: qdp-launchpad@openerp.com-20130306152328-qdlil19diks4mvkt
2013-03-06 16:23:28 +01:00
Vo Minh Thu cdfdaa455d [FIX] babel: the babel localedata was put back to its right place in the previous commit, so the zip-related hack can disappear.
bzr revid: vmt@openerp.com-20130306143317-oo4n6x78v68rqn9i
2013-03-06 15:33:17 +01:00
Xavier Morel 7e7a8b44a9 [IMP] deduplicate trans_parse_view code, rename for clarity
also correctly handle all translatable attributes in a <attribute name=...> extension tag

bzr revid: xmo@openerp.com-20130306095720-3277aw0rq9pzpsw4
2013-03-06 10:57:20 +01:00
Launchpad Translations on behalf of openerp a096862741 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130306054606-ju4aloay33hkydc5
2013-03-06 05:46:06 +00:00
Thibault Delavallée a5f44c67dd [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20130305082618-o63zlhwa13r1994u
2013-03-05 09:26:18 +01:00
Launchpad Translations on behalf of openerp 9623afd500 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130306062137-pxtoftblp1hmspp5
bzr revid: launchpad_translations_on_behalf_of_openerp-20130306062207-lac3gq4ck6k3mexw
bzr revid: launchpad_translations_on_behalf_of_openerp-20130306062221-a6s313kt0qg6rnkj
2013-03-06 06:22:21 +00:00
Chris Biersbach 61eb94fb58 [MERGE] OPW 585261: translations: corrects extraction of translation for placeholders
bzr revid: cbi@openerp.com-20130305091225-kkpeb6i8yohce5if
2013-03-05 10:12:25 +01:00
Launchpad Translations on behalf of openerp 420f82ec0e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130305053802-13krr4lhrwrebwak
bzr revid: launchpad_translations_on_behalf_of_openerp-20130305053905-y30zk4dbbcc3qj4b
2013-03-05 05:39:05 +00:00
Quentin (OpenERP) 8d47ec5256 [MERGE] base, res.users: added onchange_state() on res.users. Was crashing because the _inherits is not a real python inheritance
bzr revid: qdp-launchpad@openerp.com-20130304184144-iae1pdrrcfy6pveo
2013-03-04 19:41:44 +01:00
Xavier Morel 018416630d [FIX] strip server action code before passing it to eval
Python 2.7's compile handles trailing whitespaces correctly, Python
2.6 does not and blows up.

bzr revid: xmo@openerp.com-20130304164423-83vm9teu7b3c52y3
2013-03-04 17:44:23 +01:00
Christophe Matthieu b860c00593 [IMP] res_partner: remove help for quick create of user_id
bzr revid: chm@openerp.com-20130304130632-ym2iax2b3p89ifn3
2013-03-04 14:06:32 +01:00
Cedric Snauwaert 009ea40995 [FIX]res_users : add missing on_change function for res_user simplified view
bzr revid: csn@openerp.com-20130304105817-v3y9d9vupzhuiu2u
2013-03-04 11:58:17 +01:00
Launchpad Translations on behalf of openerp 55e79b4d36 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130302052300-qobkezoqvnyoi1fl
bzr revid: launchpad_translations_on_behalf_of_openerp-20130304055909-ixg5id5sibsci8s9
2013-03-04 05:59:09 +00:00
Olivier Dony e373ac5aeb [MERGE] *: fix/rationalize db logging to avoid incorrect values during logging
The setting/clearing of the tracking were not done
consistently, causing log messages that appeared
to come from one database while coming from another
one or none at all.

The tracker is now set at the earliest points
of request handling as possible:
- in web, when creating WebRequests (dbname, uid)
- at RPC dispatching in server (uid)
- at cron job acquisition in CronWorker (dbname)
- at Registry acquisition in RegistryManager (dbname)


The tracker is cleared at the very entrance of
the request in the WSGI `application`, ensuring
that no logging is produced with an obsolete
db name. (It cannot be cleared at the end of
the request handling because the werkzeug
wrapper outputs more logging afterwards)

bzr revid: odo@openerp.com-20130301182510-1fqo9o8di0jw95b5
2013-03-01 19:25:10 +01:00
Olivier Dony 9770caedf3 [FIX] registry: another pass of cleanup for registry signaling
Some important points to consider:
 - signaling should be done after any schema alteration (including module [un]installation),
   service registration (e.g. reports)
 - the changes need to be committed to the database *before* signaling, otherwise an
   obvious race condition occurs during reload by other workers
 - any call to restart_pool() must be considered a possible candidate for
   signaling, and the 2 above conditions must be checked

The number of explicit calls was reduced by forcing the signaling at the end of
Registry.new() in case `update_module` was passed as True. In that situation
we always want to signal the changes - so all the redundant signaling calls
can be centralized. We can also assume that the relevant changes have already
been committed at that point, otherwise the registry update would not
have worked in the first place.
This means that there is no need for explicit signaling anymore everytime
`restart_pool` is called with `update_module=True`.

Some missing cr.commit() and explicit signaling calls were added or
moved to the right place. As a reminder: signaling must be done
*after* committing the changes, and usually *after* reloading the
registry on the current worker.

bzr revid: odo@openerp.com-20130301143203-e2csf5pkllwhmwqs
2013-03-01 15:32:03 +01:00
Christophe Matthieu ac1684c59f [IMP] res_user: simplified view for quick create
bzr revid: chm@openerp.com-20130301125339-m2gdndch9tc2cv3k
2013-03-01 13:53:39 +01:00
Olivier Dony db81edc287 [FIX] *: fix/rationalize db logging to avoid incorrect values during logging
The setting/clearing of the tracking were not done
consistently, causing log messages that appeared
to come from one database while coming from another
one or none at all.

The tracker is now set at the earliest points
of request handling where we can:
- in web client, when creating WebRequests (dbname, uid)
- at RPC dispatching in server (uid)
- at cron job acquisition in CronWorker (dbname)
- at Registry acquisition in RegistryManager (dbname)


The tracker is cleared at the very entrance of
the request in the WSGI `application`, ensuring
that no logging is produced with an obsolete
db name. (It cannot be cleared at the end of
the request handling because the werkzeug
wrapper outputs more logging afterwards)

bzr revid: odo@openerp.com-20130301120744-jfitcmze2jldecod
2013-03-01 13:07:44 +01:00
Vo Minh Thu c0d302ae0e [FIX] ir.model: uninstall should not drop LOG_ACCESS_COLUMNS columns.
bzr revid: vmt@openerp.com-20130301110730-8mlnj9emjo3ifdq1
2013-03-01 12:07:30 +01:00
Christophe Simonis d48f07fef1 [FIX] base: allow admin to freeze the value of "web.base.url" config parameter.
This config parameter is automatically updated when the admin log-in.
As this value is mean to be used in emails and links given to users, we sometime don't want
it to be updated inconditionnaly. In some cases, the admin may use alternative, private or
even local uri to connect to the server, which may not be suitable for users

bzr revid: chs@openerp.com-20130301095551-fzrlwblnawxqj9di
2013-03-01 10:55:51 +01:00
Launchpad Translations on behalf of openerp ece4451176 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130301053921-r8m4764fosovd9h6
bzr revid: launchpad_translations_on_behalf_of_openerp-20130301054021-crdgcw5mb7m77u0t
2013-03-01 05:40:21 +00:00
Olivier Dony b762551211 [FIX] ir.model: properly signal registry change for multi-process mode after altering model/db schema
bzr revid: odo@openerp.com-20130228113736-8novcpf3ibw7386s
2013-02-28 12:37:36 +01:00
Launchpad Translations on behalf of openerp 42702e15f9 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130228053030-bwaxkazmgqlucg5f
2013-02-28 05:30:30 +00:00
Antony Lesuisse acb17855f9 [IMP] logrotation is now disabled by default
bzr revid: al@openerp.com-20130228011811-1700jfnavo37dyqr
2013-02-28 02:18:11 +01:00
Antony Lesuisse c353392294 [FIX] ir_attachment filestore read on windows
lp bug: https://launchpad.net/bugs/1131272 fixed

bzr revid: al@openerp.com-20130227221943-izxnxulg0picimez
2013-02-27 23:19:43 +01:00
Christophe Matthieu 3b6e76f5b4 [IMP] res_user: fix default_get; add default groups on simplified view
bzr revid: chm@openerp.com-20130227085023-q8mwozccystgf23a
2013-02-27 09:50:23 +01:00
Antony Lesuisse 7bdcf8817f m
bzr revid: al@openerp.com-20130226162648-pnf4ysf361a6g83j
2013-02-26 17:26:48 +01:00
niv-openerp ef2ff05d2d [FIX] typo that caused crash in cron only when launching server with --workers
bzr revid: nicolas.vanhoren@openerp.com-20130226161853-26a2vz9tn8nnc44z
2013-02-26 17:18:53 +01:00
Olivier Dony 84a536dca6 [MERGE] res.config: fix incorrect assertion syntax in tests
bzr revid: odo@openerp.com-20130226153623-ci35l04otvk5mb3t
2013-02-26 16:36:23 +01:00
Antonin Bourguignon e3bfbf8b9f [IMP] use assertIsInstance instead of assertTrue
bzr revid: abo@openerp.com-20130226105832-xq3mbnml1iwzvg67
2013-02-26 11:58:32 +01:00
Christophe Matthieu a90ef98704 [MERGE] from trunk
bzr revid: chm@openerp.com-20130226105813-1mi6tg4h7460vyj2
2013-02-26 11:58:13 +01:00
Antonin Bourguignon 1aef18870f [IMP] use assertEqual instead of assertTrue and fix a test
bzr revid: abo@openerp.com-20130226104541-hmzla9y2sa3qfqgi
2013-02-26 11:45:41 +01:00
Vo Minh Thu dee8cc8e50 [MERGE] Better exception handling in tools.convert:
- The exception is not logged in tools.convert. It is loggeg by the netsv layer anyway.
- The exception is re-raised instead, but with the full traceback available.
- A fix in openerp.service.db where the cr is closed twice.

bzr revid: vmt@openerp.com-20130226100243-mpns1k9odz69gpax
2013-02-26 11:02:43 +01:00
Vo Minh Thu eb7bc74c51 [MERGE] safe_eval: do not log reported exception, instead re-raise them with a complete stacktrace and the evaluated expression.
bzr revid: vmt@openerp.com-20130226100130-hxwgfvwlvvcox5mr
2013-02-26 11:01:30 +01:00
Vo Minh Thu d43dba744c safe_eval: re-raise the same exception type when completing it.
bzr revid: vmt@openerp.com-20130226094446-7c2dw5c5eou0lg8r
2013-02-26 10:44:46 +01:00
Launchpad Translations on behalf of openerp 4a34c70ca8 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130226053405-w5a9rp5orqi89z9h
bzr revid: launchpad_translations_on_behalf_of_openerp-20130226053445-52kd76xxoxx5x7tt
bzr revid: launchpad_translations_on_behalf_of_openerp-20130226053448-joq378fpfc2p1rwv
2013-02-26 05:34:48 +00:00
Launchpad Translations on behalf of openerp ab52d114de Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130226050906-46stgrk7893w9l9n
bzr revid: launchpad_translations_on_behalf_of_openerp-20130226050918-7395f7imyy1j0jhs
2013-02-26 05:09:18 +00:00
Vo Minh Thu b71457e258 [FIX] tools.convert: use tools.ustr() instead of str() on exceptions.
bzr revid: vmt@openerp.com-20130225164028-d48k5yheuoph1vm3
2013-02-25 17:40:28 +01:00
Vo Minh Thu c62780673c [FIX] tools.safe_eval: we want to see the expr which fail to eval(), so report it in the exception.
bzr revid: vmt@openerp.com-20130225163525-3g9qw1g3hkyyxf1j
2013-02-25 17:35:25 +01:00
Vo Minh Thu f1adca94c0 [MERGE] netsvc/service.model: added missing/removed unnecessary `except` clauses.
bzr revid: vmt@openerp.com-20130225155828-a364gk3ii2prxe0b
2013-02-25 16:58:28 +01:00
Vo Minh Thu e2e9c0669e [IMP] osv: removed unnecessary `except` clauses.
bzr revid: vmt@openerp.com-20130225152057-9ehnwo2szr4pphz3
2013-02-25 16:20:57 +01:00
Xavier ALT 3328f42df1 [MERGE] BUG 1094212: base: correct search on res.partner in multicompany (courtesy of Niels Huylebroeck)
bzr revid: xal@openerp.com-20130225142828-d5akvwsa738dxyj9
2013-02-25 15:28:28 +01:00
Niels Huylebroeck bc4e3d00ed [FIX] base: allow searching in multicompany environment on res_partner.
bzr revid: nh@agaplan.eu-20130225135753-ryf6y5e0nhxt8zux
2013-02-25 14:57:53 +01:00
Vo Minh Thu 59ac14af71 [MERGE] netrpc: support for netrpc was already removed, but command line flags and docs were not updated.
bzr revid: vmt@openerp.com-20130225134552-p0fkh0ldn5xehaqx
2013-02-25 14:45:52 +01:00
Vo Minh Thu 5c9b5e4ac3 [IMP] netsvc: slightly more explicit warning when using LocalService().
bzr revid: vmt@openerp.com-20130225133532-o3m2e6vvzcmdeziv
2013-02-25 14:35:32 +01:00
Vo Minh Thu 62579b2094 [FIX] Previous `[iMP]` was broken.
bzr revid: vmt@openerp.com-20130225105523-12pnud4oa41tx3cx
2013-02-25 11:55:23 +01:00
Fabien Pinckaers b831c5aa15 [iMP] error message simplified for required values
bzr revid: fp@openerp.com-20130224135248-wdxg8d3fi79lp88z
2013-02-24 14:52:48 +01:00
Fabien Pinckaers 612e344fb8 [FIX] write country if code is null
bzr revid: fp@openerp.com-20130224101924-6w1eit8a9w3wb9nk
2013-02-24 11:19:24 +01:00
Launchpad Translations on behalf of openerp 35bc384f50 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130223060740-3n0izgt30e6k6j3d
bzr revid: launchpad_translations_on_behalf_of_openerp-20130223060813-35hs9o06qkcrlqme
bzr revid: launchpad_translations_on_behalf_of_openerp-20130224051257-hb610rps76ncuh5l
bzr revid: launchpad_translations_on_behalf_of_openerp-20130224051302-eltcq481gxdfn2gm
2013-02-24 05:13:02 +00:00
Antony Lesuisse 237d3d8500 [FIX] res.partner search, customer or supplier, related companies only for companies
bzr revid: al@openerp.com-20130223003935-eoinzil3ag3wmffq
2013-02-23 01:39:35 +01:00
Antonin Bourguignon 74e7deafb8 [IMP] res_config doc
bzr revid: abo@openerp.com-20130222170541-26wsg1r8kkb0h4vp
2013-02-22 18:05:41 +01:00
Vo Minh Thu a2f5e9d201 [IMP] ir_actions: removed forgotten print statements.
bzr revid: vmt@openerp.com-20130222151702-d73geh539mb99m5b
2013-02-22 16:17:02 +01:00
Vo Minh Thu 48d1bce6ec [IMP] report: remove the print statement upon report registration.
bzr revid: vmt@openerp.com-20130222151311-xz609m3o5jazo7ld
2013-02-22 16:13:11 +01:00
Vo Minh Thu ef127fddc7 [IMP] netsvc: removed unused import.
bzr revid: vmt@openerp.com-20130222145250-qd9v52tu2xt8jyb2
2013-02-22 15:52:50 +01:00
Vo Minh Thu efb97705f5 [IMP] LocalService(): re-allow for a few moment (so addons can be updated a bit later).
bzr revid: vmt@openerp.com-20130222145226-dqu6e612oi3yalow
2013-02-22 15:52:26 +01:00
Vo Minh Thu 460cc6f755 [IMP] ir.actions.report.xml: allow for a smoother transition for reports still declared the old way (in Python).
bzr revid: vmt@openerp.com-20130222142400-qoomw17s2u8a73kh
2013-02-22 15:24:00 +01:00
Vo Minh Thu 575771f651 [FIX] ir_actions: wrong namespace.
bzr revid: vmt@openerp.com-20130222133637-14d903ci0hvwej5j
2013-02-22 14:36:37 +01:00
Vo Minh Thu 729d969fd9 [IMP] report: use openerp.report.render_report() instead of LocalService().create().
bzr revid: vmt@openerp.com-20130222124801-zhhbw2bgghhf6rg6
2013-02-22 13:48:01 +01:00
Vo Minh Thu 0cb53890df [IMP] report: reports with custom parsers can be declared in XML files.
bzr revid: vmt@openerp.com-20130222093428-f1isxxqlbaj7uhuo
2013-02-22 10:34:28 +01:00
Ravi Gohil (OpenERP) e0284cfe90 [FIX] Passed context in write(...)(Courtesy: Humberto Arocha(hbto)). (Maintenance Case: 586824)
lp bug: https://launchpad.net/bugs/1088086 fixed

bzr revid: rgo@tinyerp.com-20130222062754-nbsp6a491xzm63kw
2013-02-22 11:57:54 +05:30
Launchpad Translations on behalf of openerp 860e69a225 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130221054413-yc3vd5sn513hp7ax
bzr revid: launchpad_translations_on_behalf_of_openerp-20130222054355-yvcy04xtawb8l2rq
2013-02-22 05:43:55 +00:00
Skrillex de03f4d670 [REM] netrpc: KILL EVERYBODY
bzr revid: vmt@openerp.com-20130221121825-dvpacxajwztslukj
2013-02-21 13:18:25 +01:00
Antony Lesuisse d19777aa1d [FIX] tools image thumbnailing jpg into png
bzr revid: al@openerp.com-20130220222612-g0j6d2a7az0u53hi
2013-02-20 23:26:12 +01:00
Olivier Dony a961e5e377 [MERGE] search: when count=True, execute main query as a subquery to avoid side effects with offset and limit
Granted, calling search() with both count=True and
offset or limit is not extremely useful, but
it is still better to accept it and apply it
to the inner query rather than have silly
errors

bzr revid: odo@openerp.com-20130220174416-yoos2py8dc9jc3md
2013-02-20 18:44:16 +01:00
Antonin Bourguignon 13afc3b9e2 [IMP] use another xml_menu_id that leads directly to the tests wizard
bzr revid: abo@openerp.com-20130220145613-2tnid02oatds2gmy
2013-02-20 15:56:13 +01:00
Vo Minh Thu 9412351315 [IMP] Only unhandled exceptions are logged to the console by the netsvc layer.
bzr revid: vmt@openerp.com-20130220115337-6319hshm4vfwlr1o
2013-02-20 12:53:37 +01:00
Quentin (OpenERP) f69ede5bfc [IMP] ir_filers: added an order in the construction of the list of available models
bzr revid: qdp-launchpad@openerp.com-20130220103459-1wnu06p3fbaaoz83
2013-02-20 11:34:59 +01:00
Vo Minh Thu 0de24bf983 [IMP] safe_eval: do not log exceptions, when re-raising a new exception, make the stacktrace complete.
bzr revid: vmt@openerp.com-20130220102259-avee8fx2a1kpdog3
2013-02-20 11:22:59 +01:00
Launchpad Translations on behalf of openerp def78f7006 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130220052837-nxddsbcb302p48ly
2013-02-20 05:28:37 +00:00
Olivier Dony bd02d21f2d [MERGE] osv: automatically retry transactions that failed due to a transient concurrent transaction conflict
lp bug: https://launchpad.net/bugs/992525 fixed

bzr revid: odo@openerp.com-20130219173813-ldrx8l1hlegi2e3y
2013-02-19 18:38:13 +01:00
Vo Minh Thu df7c209164 [FIX] Better exception handling in tools.convert:
- The exception is not logged in tools.convert. It is loggeg by the netsv layer anyway.
- The exception is re-raised instead, but with the full traceback available.
- A fix in openerp.service.db where the cr is closed twice.

bzr revid: vmt@openerp.com-20130219163047-3q766awd66wkzsn7
2013-02-19 17:30:47 +01:00
Vo Minh Thu eafdbbd601 [FIX] cron: push the registry signaling checks in the try/except of the job itself.
bzr revid: vmt@openerp.com-20130219140439-f5gbkmz02mlhciow
2013-02-19 15:04:39 +01:00
Olivier Dony 0240416a13 [REVERT] sql_db: undo eager removal of connections from pool; could skip half the connections and is not strictly required
Credit to Florent Xicluna for spotting it!

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

bzr revid: odo@openerp.com-20130219102610-ll69qaf3zxem1pxf
2013-02-19 11:26:10 +01:00
Dhruti Shastri c0e0110f42 [translation] : placeholders are missed out for Translation (Case:585261)
bzr revid: dhs@tinyerp.com-20130219095601-ncsy6tnfns1xz4ls
2013-02-19 15:26:01 +05:30
Dhruti Shastri 01eb26c35a [translation] : placeholders are missed out for Translation (Case:585261)
bzr revid: dhs@tinyerp.com-20130219084856-ab44isuegq7w31wo
2013-02-19 14:18:56 +05:30
Launchpad Translations on behalf of openerp 90cf45533b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130219053232-wk89wnuigphewpcw
2013-02-19 05:32:32 +00:00
Vo Minh Thu b985c7302f [FIX] openerp namespace: the import hook was still inserting modules in sys.moduls at their shortname.
bzr revid: vmt@openerp.com-20130218164839-2qludhn3znpdftq5
2013-02-18 17:48:39 +01:00
Vo Minh Thu 3ee1923ca3 [MERGE] merged long-polling branch:
When using --workers, an evented (for longpolling) worker is started.
When passing --gevent, all the server is evented but the cron is disabled.

bzr revid: vmt@openerp.com-20130218153225-w1yft9je0b15owdv
2013-02-18 16:32:25 +01:00
Vo Minh Thu ee256b5664 [FIX] service: call stop() instead of shutdown() in the evented case.
bzr revid: vmt@openerp.com-20130218153107-m5ikcn10gckk8ik3
2013-02-18 16:31:07 +01:00
Raphael Collet 0f43032b82 [FIX] search: when count=True, execute main query as a subquery to avoid side effects with offset and limit
bzr revid: rco@openerp.com-20130218145100-4q24j8ko9j9elwpw
2013-02-18 15:51:00 +01:00
Antony Lesuisse 1a5b4160ef [FIX] logging level of pooler loading, number of modules is info, the actual list of modules is debug
bzr revid: al@openerp.com-20130218121441-i8tidklmhafudp4k
2013-02-18 13:14:41 +01:00
Launchpad Translations on behalf of openerp 5dbc1b787e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130215052434-vl34xg5zfo9c7wny
bzr revid: launchpad_translations_on_behalf_of_openerp-20130216054019-5mij5aoepxhf3zoy
bzr revid: launchpad_translations_on_behalf_of_openerp-20130216053913-zj2b2x6ll2ok19in
bzr revid: launchpad_translations_on_behalf_of_openerp-20130217052310-9912kfq4cxc7k7fv
bzr revid: launchpad_translations_on_behalf_of_openerp-20130218052538-tly4emi0bggrlp8h
bzr revid: launchpad_translations_on_behalf_of_openerp-20130216054015-2uthx4z6mfqwrbrt
bzr revid: launchpad_translations_on_behalf_of_openerp-20130217052400-07m6wixrfaq58l2k
bzr revid: launchpad_translations_on_behalf_of_openerp-20130218052624-0mh8rmv7upyxmpg9
2013-02-18 05:26:24 +00:00
Launchpad Translations on behalf of openerp 4d242424cd Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130216050946-w4syry6ser8ygl2j
bzr revid: launchpad_translations_on_behalf_of_openerp-20130217044751-x711l71w351nknkb
2013-02-17 04:47:51 +00:00
Olivier Dony dd8ccbd8d6 [MERGE] sql_db: improve performance of previous patch for auto-detecting dead connections
Avoid calling reset() on connections that are used +
only do it on the connection that is being returned,
which is much more efficient.

bzr revid: odo@openerp.com-20130216020218-cuk9n86mr6rvz9h0
2013-02-16 03:02:18 +01:00
Olivier Dony bbb4f105dc [FIX] sql_db: immediately remove the connections from the pool when detected to be dead
lp bug: https://launchpad.net/bugs/905257 fixed

bzr revid: odo@openerp.com-20130216011831-5ehi02j5nj6shh8n
2013-02-16 02:18:31 +01:00
Quentin (OpenERP) a502af78b0 [MERGE] lp:1098542. Reports starting too high
bzr revid: qdp-launchpad@openerp.com-20130215164822-19g22w3koiniwffv
2013-02-15 17:48:22 +01:00
Josse Colpaert 4b019a31bc [FIX] Lowering the start of the contents of the reports under the company header by default in order to avoid overlap
lp bug: https://launchpad.net/bugs/1098542 fixed

bzr revid: jco@openerp.com-20130215163214-np7bttkwa50zkqw3
2013-02-15 17:32:14 +01:00
Olivier Dony 547372ef94 [FIX] sql_db: only perform the connection reset when actually planning to borrow that connection, not before, for obvious performance reasons
bzr revid: odo@openerp.com-20130215161025-mjgmlju3zgs50zk7
2013-02-15 17:10:25 +01:00
Olivier Dony 979c28d0c9 [FIX] sql_db: typo in previous patch for autodetection of closed connections
My bad, I did and undid this patch several times
in different manners and ended up commiting the
wrong one.

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

bzr revid: odo@openerp.com-20130215151237-3ks21kfhjb2fvl2z
2013-02-15 16:12:37 +01:00
Quentin (OpenERP) 0a27066e54 [REF] code review
bzr revid: qdp-launchpad@openerp.com-20130215143503-6a6x53gdeb6j33tm
2013-02-15 15:35:03 +01:00
Olivier Dony b005d052d0 [MERGE] sql_db: autodetect dead connections and discard them
lp bug: https://launchpad.net/bugs/905257 fixed

bzr revid: odo@openerp.com-20130215125313-448n5b0dluei8qm3
2013-02-15 13:53:13 +01:00
niv-openerp b30307da32 Revert 4580
bzr revid: nicolas.vanhoren@openerp.com-20130215123324-m10141rj595x30pl
2013-02-15 13:33:24 +01:00
niv-openerp b5209cbf56 merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20130215122500-p69xawqym93jauks
2013-02-15 13:25:00 +01:00
Olivier Dony e464e1231d [FIX] sql_db: closing a closed connection is not allowed in psycopg2 2.4.4 and earlier
Having the connections automatically reaped by
psycopg2 is not guaranteed to happen all the
time, so we still need to take extra steps
to forece-close them

bzr revid: odo@openerp.com-20130215113751-12kwmfynyt43qs57
2013-02-15 12:37:51 +01:00
Launchpad Translations on behalf of openerp f9659eb884 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130215052329-m0wj2gx9s832tmul
2013-02-15 05:23:29 +00:00
Antonin Bourguignon 74ba45d1fc [MERGE] trunk
bzr revid: abo@openerp.com-20130214173522-2ama9xjn4c2hloap
2013-02-14 18:35:22 +01:00
Raphael Collet 49adee3488 [FIX] openerp/service/report: add all missing imports!
bzr revid: rco@openerp.com-20130214153511-r5omlvy5xa1t6rlm
2013-02-14 16:35:11 +01:00
Raphael Collet ca175b0237 [FIX] openerp/service/report: missing import
bzr revid: rco@openerp.com-20130214150825-dp0twlvzc8qrkb7v
2013-02-14 16:08:25 +01:00
Christophe Simonis 94715ccbec [FIX] sql_db: free dead database connections
lp bug: https://launchpad.net/bugs/905257 fixed

bzr revid: chs@openerp.com-20130214135227-x6lzy3gj0s75ssmw
2013-02-14 14:52:27 +01:00
Launchpad Translations on behalf of openerp 522bf1508a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130213052103-dyim9whx08wn9mg4
bzr revid: launchpad_translations_on_behalf_of_openerp-20130214053603-ct5y2ol2671v2jiy
2013-02-14 05:36:03 +00:00
Raphael Collet 70bda50f7d [IMP] rename model method 'trigger_workflow' into 'step_workflow' (less confusing)
bzr revid: rco@openerp.com-20130213150134-wocd9ey2pubpa3xn
2013-02-13 16:01:34 +01:00
Antonin Bourguignon 4b3f6f2c81 [IMP] add another test for get_option_warning()
bzr revid: abo@openerp.com-20130213145057-ib8l5jd378edzz8y
2013-02-13 15:50:57 +01:00
Raphael Collet f78eb868fd [IMP] remove model methods _workflow_trigger and _workflow_signal, and replace calls to new workflow methods
bzr revid: rco@openerp.com-20130213140046-84aa1xtlndltlhzy
2013-02-13 15:00:46 +01:00
Cecile Tonglet 2346b0d88c [FIX] osv: Bad error message
bzr revid: cto@openerp.com-20130213133345-ovhlrfd2g5sb2tts
2013-02-13 14:33:45 +01:00
Cecile Tonglet 8d491afca5 [FIX] osv: Automatically retry the typical transaction serialization errors
lp bug: https://launchpad.net/bugs/992525 fixed

bzr revid: cto@openerp.com-20130213125255-ct0bf90pky2n6w3c
2013-02-13 13:52:55 +01:00
Antonin Bourguignon bbcff0e777 [IMP] add a test for get_option_warning()
bzr revid: abo@openerp.com-20130213120940-ycgg7kgfwymav7yn
2013-02-13 13:09:40 +01:00
Antonin Bourguignon f929ebc73b [MERGE] trunk
bzr revid: abo@openerp.com-20130213105620-xyez3q7ddgc0x5x8
2013-02-13 11:56:20 +01:00
Raphael Collet 6f045b48e8 [MERGE] from trunk
bzr revid: rco@openerp.com-20130213082352-t3wbhkxfh3z10ukt
2013-02-13 09:23:52 +01:00
Antonin Bourguignon 0091477f12 [IMP] add a test for get_option_name()
bzr revid: abo@openerp.com-20130212180736-kwpqlouw27o6u6nz
2013-02-12 19:07:36 +01:00
Antonin Bourguignon dc94fc592c [IMP] add a test for get_option_path()
bzr revid: abo@openerp.com-20130212165706-pohcwrvr2llhsaeo
2013-02-12 17:57:06 +01:00
Antonin Bourguignon fd530ec981 [FIX] doc: the id of an action is a long, not an int
bzr revid: abo@openerp.com-20130212165318-joldqhz0apilwmsp
2013-02-12 17:53:18 +01:00
Raphael Collet 53152d7bf4 [FIX] openerp.service: remove call to open_openerp_namespace
bzr revid: rco@openerp.com-20130212161330-kij5s3v35zzp1536
2013-02-12 17:13:30 +01:00
Antonin Bourguignon ff80a156c2 [IMP] use a better xml id for the example
bzr revid: abo@openerp.com-20130212160302-6nty4c18wsiw62d4
2013-02-12 17:03:02 +01:00
Raphael Collet e76befd6c6 [MERGE] trunk-service-thu (remove the class openerp.netsvc.ExportService)
bzr revid: rco@openerp.com-20130212154230-y54s2rbetllwnh4q
2013-02-12 16:42:30 +01:00
Vo Minh Thu 9f9c9585a1 [REF] Removed support for __terp__.py files and `terp` root elements in XML files.
bzr revid: vmt@openerp.com-20130212152328-flpn1tbz75lhi2m2
2013-02-12 16:23:28 +01:00
Vo Minh Thu 96c8a54d22 [REM] Removed unused base_module_scan wizard.
bzr revid: vmt@openerp.com-20130212145309-2wspc6y8f03074cn
2013-02-12 15:53:09 +01:00
Vo Minh Thu c99c4091ce [REM] Deleted .apidoc lines.
They were probably used by some tools. How sad.

bzr revid: vmt@openerp.com-20130212142410-zqdjd8jw3gtvxab0
2013-02-12 15:24:10 +01:00
Antonin Bourguignon ce9421a130 [FIX] remove useless asserts text
bzr revid: abo@openerp.com-20130212141830-m3vzarby99fob74e
2013-02-12 15:18:30 +01:00
Vo Minh Thu f84535944f [REM] base_quality_interrogation: seems unused for a long time.
Seems full of good ideas though.
Sadness ensues.
RIP.

bzr revid: vmt@openerp.com-20130212141426-athz3br7enhynlwf
2013-02-12 15:14:26 +01:00
Antonin Bourguignon fbb51ee106 [MERGE] trunk
bzr revid: abo@openerp.com-20130212125650-3r8lsai6p5c8ls2h
2013-02-12 13:56:50 +01:00
Vo Minh Thu 61fb403a60 [MERGE] res_lang: moved tests in unittest2 test case.
bzr revid: vmt@openerp.com-20130212112752-xclnhzzbvvu3kdl8
2013-02-12 12:27:52 +01:00
Vo Minh Thu 74e53085af [REF] res_lang: removed dead code (original_group function).
That function was kept because its `intersperse` reimplementation
behaves a bit differently but it was a long time ago and no bug
report appeared. So the new function is good enough.

bzr revid: vmt@openerp.com-20130212111244-aayco60ps923fn55
2013-02-12 12:12:44 +01:00
Vo Minh Thu 96f7f49b3e [MERGE] Latest bugfixes from 7.0, up to rev 4834.
bzr revid: vmt@openerp.com-20130212104546-v2w5k59egx1fiony
2013-02-12 11:45:46 +01:00
Vo Minh Thu e746cb1654 [FIX] registry: fix a bug where RegistryManager.new() could return an out-of-date registry.
bzr revid: vmt@openerp.com-20130212085311-o53wv7yful39kktd
2013-02-12 09:53:11 +01:00
Launchpad Translations on behalf of openerp 2d6180c35c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130212052908-dwsboz0vkkuywax3
bzr revid: launchpad_translations_on_behalf_of_openerp-20130212053011-zbbx3343j90b0m18
2013-02-12 05:30:11 +00:00
Antonin Bourguignon f1d660c853 [IMP] rename files, move code to the right place
bzr revid: abo@openerp.com-20130211170128-2r28k5ldou1qn1n5
2013-02-11 18:01:28 +01:00
Antonin Bourguignon a8a06ee6e4 [IMP] clean and sort up some old test directories
bzr revid: abo@openerp.com-20130211160443-2xcw2quaj4a5taz9
2013-02-11 17:04:43 +01:00
Antonin Bourguignon e274ccc7cb [MERGE] trunk
bzr revid: abo@openerp.com-20130211150920-c5yam3yykht1qdpn
2013-02-11 16:09:20 +01:00
Xavier Morel 4a9d82621e [IMP] don't log from import when converting psycopg exceptions to output messages
add conversion for unique constraints, test behavior on unique constraint failure

bzr revid: xmo@openerp.com-20130211143647-l16ssw9z73stbgyc
2013-02-11 15:36:47 +01:00
Xavier ALT 4db48cc102 [MERGE] BUG 1082003: orm: _rec_name should be checked on _all_columns not _columns
bzr revid: xal@openerp.com-20130211092411-3eeo2ann5jnttliq
2013-02-11 10:24:11 +01:00
Launchpad Translations on behalf of openerp b8b09df454 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130210052327-7e1n1tzylg1288th
bzr revid: launchpad_translations_on_behalf_of_openerp-20130211053447-ptlkuaf14fy7vmdq
bzr revid: launchpad_translations_on_behalf_of_openerp-20130209052939-jxwnthiw4qgjic5w
bzr revid: launchpad_translations_on_behalf_of_openerp-20130210052433-emt7s1kxk78bpbe3
bzr revid: launchpad_translations_on_behalf_of_openerp-20130211053534-5pgh95oxsd26bdqv
2013-02-11 05:35:34 +00:00
Antony Lesuisse d0392a2db0 [FIX] workers no suicide on broken pipe
bzr revid: al@openerp.com-20130209172932-5w8zt239tw0sirne
2013-02-09 18:29:32 +01:00
Vo Minh Thu bcefb11482 [FIX] import openerp.tools instead of tools in YML tests.
bzr revid: vmt@openerp.com-20130209061700-hi720o5wq4hk0cd3
2013-02-09 07:17:00 +01:00
Vo Minh Thu 69fefde965 [IMP] The open openerp namespace is removed.
bzr revid: vmt@openerp.com-20130209060246-o7qs51c2uc0kecjo
2013-02-09 07:02:46 +01:00
csn-openerp 34a41139f0 [FIX]report_sxw : fix strip_name function that cut a name to a given length in a report. It no longer crash when no name is given to the function.
bzr revid: csn@openerp.com-20130208135704-4jvc9odchlulefx6
2013-02-08 14:57:04 +01:00
Launchpad Translations on behalf of openerp 669316dd1a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130207054042-qpy3b4buygxepdf8
bzr revid: launchpad_translations_on_behalf_of_openerp-20130208052255-nqv9i1j5bc2ql84i
bzr revid: launchpad_translations_on_behalf_of_openerp-20130208052430-ohwjhy6y3lnxqayt
bzr revid: launchpad_translations_on_behalf_of_openerp-20130208052435-47h7svyqwx223e5k
2013-02-08 05:24:35 +00:00
Launchpad Translations on behalf of openerp c92a3faaa3 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130207045320-ltuz1jfvmf3u5qfb
bzr revid: launchpad_translations_on_behalf_of_openerp-20130208043551-bnem25jj8y4qpkeq
2013-02-08 04:35:51 +00:00
niv-openerp 4dbe4d1878 merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20130207131706-v03b021nqui1s285
2013-02-07 14:17:06 +01:00
Christophe Matthieu 56be34af8e [FIX] res_user: display reset password button on simple form
bzr revid: chm@openerp.com-20130207120108-qqk86bt9gxvb15m0
2013-02-07 13:01:08 +01:00
Christophe Matthieu 681fe702e7 [FIX] res_user: remove invisible attribute on reset password button
bzr revid: chm@openerp.com-20130207112316-h7sqbhrnisahj5bm
2013-02-07 12:23:16 +01:00
Vo Minh Thu 6b459a1f27 [DOC] orm: documented workflow-related methods.
bzr revid: vmt@openerp.com-20130206150244-hs67hhe35okl42ei
2013-02-06 16:02:44 +01:00
Olivier Dony 013daef5ff [MERGE] Latest bugfixes from 7.0, up to rev 4824
4824 == revision-id: vmt@openerp.com-20130206103459-2mmgagrh59c23804

bzr revid: odo@openerp.com-20130206140740-9gt7un12enl9gc7i
2013-02-06 15:07:40 +01:00
Christophe Matthieu 8d0ed1edcc [FIX] ir_action: catch and mute exception for the safe_eval of context
bzr revid: chm@openerp.com-20130206122039-d3mh29qt472qacpm
2013-02-06 13:20:39 +01:00
Vo Minh Thu 941f6ebc10 [FIX] logging: sys.stdout has not a fileno() method when running behind mod_wsgi.
bzr revid: vmt@openerp.com-20130206103459-2mmgagrh59c23804
2013-02-06 11:34:59 +01:00
Launchpad Translations on behalf of openerp d5fb59d7a8 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130202055918-qfhslsxk64bdrtqi
bzr revid: launchpad_translations_on_behalf_of_openerp-20130203052852-hl2gj3x9nt5uu8dk
bzr revid: launchpad_translations_on_behalf_of_openerp-20130204054219-liregnd1owzht4aw
bzr revid: launchpad_translations_on_behalf_of_openerp-20130205052251-ms7bd04q13mc9dje
bzr revid: launchpad_translations_on_behalf_of_openerp-20130206054540-le2elaop0806z7jz
2013-02-06 05:45:40 +00:00
Vo Minh Thu 174b5cb889 [FIX+DOC] added doc for deployment under mod_wsgi + a fix for that use case.
bzr revid: vmt@openerp.com-20130205172341-pwh0z4go2xsdz7n1
2013-02-05 18:23:41 +01:00
Christophe Matthieu 18985e673f [FIX] ir_action: read context with uid
bzr revid: chm@openerp.com-20130205160932-nqr1rk4t3l2yjhrz
2013-02-05 17:09:32 +01:00
Christophe Matthieu db35042ff8 [FIX] ir_action: read accept list ids or id
bzr revid: chm@openerp.com-20130205151548-t66esec4ygrw6z4v
2013-02-05 16:15:48 +01:00
Christophe Matthieu ec02389784 [FIX] ir_action: read ir.actions.act_window
bzr revid: chm@openerp.com-20130205112258-heruqrx53dahqi02
2013-02-05 12:22:58 +01:00
Vo Minh Thu b4aedf0cc6 [FIX] cron: Looping over all existing databases seems a bad idea (when -d is not given on the command-line).
bzr revid: vmt@openerp.com-20130204165903-gzjghbg7bgjqn5jy
2013-02-04 17:59:03 +01:00
Christophe Matthieu 3da294f56a [IMP] ir_action: averwrite read to add a dynamic_help on model
bzr revid: chm@openerp.com-20130204145824-mq423czac9k2inzo
2013-02-04 15:58:24 +01:00
Anand Patel (OpenERP) 8f91937bab [IMP]: Improve test case
bzr revid: pan@tinyerp.com-20130204125642-fyf2r3uubk16md4t
2013-02-04 18:26:42 +05:30
Antonin Bourguignon 195be49479 [IMP] add a new test for the new exception type
bzr revid: abo@openerp.com-20130201171742-axfcg7y99uxpersw
2013-02-01 18:17:42 +01:00
Antonin Bourguignon 8d5340a27d [IMP] fix a typo, even if it doesn't matter
(odo would probably say something like 'stop acting nitpicky !' ;))

bzr revid: abo@openerp.com-20130201165015-l3dtvil3u59kqzf7
2013-02-01 17:50:15 +01:00
Antony Lesuisse e197b56778 [FIX] ir_filter fix views
bzr revid: al@openerp.com-20130201164400-4esm2ayd3tlm0fv5
2013-02-01 17:44:00 +01:00
Vo Minh Thu ff31ff5ca9 [REF] tests: removed the temporary import for test_xmlrpc.
bzr revid: vmt@openerp.com-20130201161553-0cqsnv9l7962wwls
2013-02-01 17:15:53 +01:00
Vo Minh Thu 56df6d6ecc [DOC] openerp.http: use sphinx domains.
bzr revid: vmt@openerp.com-20130201151354-uyxgyt0aw101a2mq
2013-02-01 16:13:54 +01:00
Vo Minh Thu c8ffd1cedc [REF] service: netsvc.Service is removed. LocalService(object_proxy) is never used so it is removed.
bzr revid: vmt@openerp.com-20130201112232-2k8geufmryx6p249
2013-02-01 12:22:32 +01:00
Vo Minh Thu f0e4a9b01e [REF] tools.translate: removed dead code (wizard service do not exist anymore).
bzr revid: vmt@openerp.com-20130201112001-9db40vy8rhef6wj4
2013-02-01 12:20:01 +01:00
Anand Patel (OpenERP) a52d21e1cb [IMP]Improved code for the base_import requirde field
bzr revid: pan@tinyerp.com-20130201102750-ozxa3xwqa4rsnt60
2013-02-01 15:57:50 +05:30
Vo Minh Thu 665fc8d8f1 [REF] openerp.service.{rpc,route,handler} decorators moved to openerp.http.
bzr revid: vmt@openerp.com-20130201093727-pgcvauuo87o2a3p6
2013-02-01 10:37:27 +01:00
Launchpad Translations on behalf of openerp 45077e64db Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130201054853-1vii2se3uthiyvlt
bzr revid: launchpad_translations_on_behalf_of_openerp-20130201054957-7dma2q0grk2328gf
2013-02-01 05:49:57 +00:00
Antonin Bourguignon a2d53ee33b [IMP] the implementation of get_option_path(): return a tuple with the full path and the id of the action linked to the given menu xml id
bzr revid: abo@openerp.com-20130131181853-mp7r238q0zf5go4l
2013-01-31 19:18:53 +01:00