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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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