Commit Graph

4662 Commits

Author SHA1 Message Date
Launchpad Translations on behalf of openerp 42e713aab2 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130328052132-4jmsvd1psrn33q8l
bzr revid: launchpad_translations_on_behalf_of_openerp-20130329050732-0qno0says8riolps
2013-03-29 05:07:32 +00:00
Vo Minh Thu 79bd8db0fd [FIX] WorkerCron: give a chance to process_limit() between each database.
bzr revid: vmt@openerp.com-20130328115905-ddib9g4bbu0kx2wn
2013-03-28 12:59:05 +01:00
Quentin (OpenERP) 72efeaa44f [FIX] base, ir.ui.view: added a default value for 'type' field as it's a required functional field without fnct_inv (thus not possible to enter a value). This is needed in order to let people create their views manually via the menuitem
bzr revid: qdp-launchpad@openerp.com-20130327160258-jev32y4t99vj6b5s
2013-03-27 17:02:58 +01:00
Chris Biersbach 15bd42f5e5 [FIX] Removes the limit of 64 characters from additional text fields added via the interface
lp bug: https://launchpad.net/bugs/1053511 fixed

bzr revid: cbi@openerp.com-20130327132335-tro1p1n5at042jfb
2013-03-27 14:23:35 +01:00
Launchpad Translations on behalf of openerp 646eaf3d73 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130325052335-jfts1e9p0gvmvc7s
2013-03-25 05:23:35 +00:00
Chris Biersbach 6eefd15744 [FIX] Forwardport of issue when starting crons from 6.1 revision 4334
bzr revid: cbi@openerp.com-20130322140331-2trqiyuck816wj4f
2013-03-22 15:03:31 +01:00
Ravish (Open ERP) 5d4b0d3a62 [IMP]applied arrow to the specified form
bzr revid: rmu@tinyerp.com-20130322101430-hwkp4m97vst5ii8n
2013-03-22 15:44:30 +05:30
Olivier Dony 41598ef041 [FIX] orm.expression: `=?` domain operator broken after 7.0 refactoring ; + added tests
lp bug: https://launchpad.net/bugs/1095635 fixed

bzr revid: odo@openerp.com-20130321173737-a0j330ro4i223fkb
2013-03-21 18:37:37 +01:00
Christophe Simonis 7fe9e8e73e [FIX] apps: add timestamp to check image to avoid cache problems
bzr revid: chs@openerp.com-20130321162636-p5w97ublixf00o5s
2013-03-21 17:26:36 +01:00
Launchpad Translations on behalf of openerp 4083df915f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130321050259-e16287z7tx5x2hr1
bzr revid: launchpad_translations_on_behalf_of_openerp-20130321050350-7j423tm3q7n124on
bzr revid: launchpad_translations_on_behalf_of_openerp-20130321050354-6gc2gobnj24c9gso
2013-03-21 05:03:54 +00:00
Vo Minh Thu 83786b4178 [FIX] ir.actions.action: fix the execute wich install/uninstall modules and thus invalidate its own pool.
bzr revid: vmt@openerp.com-20130319150057-fq6nkp4qhgy9x9mq
2013-03-19 16:00:57 +01:00
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
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
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
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
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
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
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
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 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
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 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 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
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
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
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
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
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
Antony Lesuisse e197b56778 [FIX] ir_filter fix views
bzr revid: al@openerp.com-20130201164400-4esm2ayd3tlm0fv5
2013-02-01 17:44:00 +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
Olivier Dony 3cb01bd596 [FIX] ir.attachment: fix drunken commit 4814
bzr revid: odo@openerp.com-20130131145348-00yngxmjfy2eforj
2013-01-31 15:53:48 +01:00
Olivier Dony e3862b17ef [MERGE] res.partner.bank: the state field must be present in all form/tree views
res.partner.bank overrides fields_get() and sometimes adds
extra `states` attributes on the fields. This requires the
presence of the special `state` field in all views.

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

bzr revid: odo@openerp.com-20130131144800-4a4jsktg7omxbrmh
2013-01-31 15:48:00 +01:00
Antony Lesuisse 8ef1f06c0f [FIX] ir_attachment missing logger
bzr revid: al@openerp.com-20130131144525-msftyc0hn257g9t8
2013-01-31 15:45:25 +01:00
Olivier Dony 0578f0269d [FIX] res.partner.bank: the state field must be present in all form/tree views
res.partner.bank overrides fields_get() and sometimes adds
extra `states` attributes on the fields. This requires the
presence of the special `state` field in all views.

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

bzr revid: odo@openerp.com-20130131135609-igsw8ne154av9vso
2013-01-31 14:56:09 +01:00
csn-openerp 51eec43574 [FIX]res_country : fix traceback when no value is written in 'code' field when creating a new country
bzr revid: csn@openerp.com-20130131121052-5nbctbtwozamf0zw
2013-01-31 13:10:52 +01:00
Launchpad Translations on behalf of openerp 770e4f0806 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130131051702-5l53tyq3birwgzj2
bzr revid: launchpad_translations_on_behalf_of_openerp-20130131051755-brr5aux8pkj0uehb
2013-01-31 05:17:55 +00:00
Vo Minh Thu 7674db0ed5 [FIX] The import test in openerp/run_tests is wrong, the import of run_tests in openerp/__init__ was wrong too.
lp bug: https://launchpad.net/bugs/1108929 fixed

bzr revid: vmt@openerp.com-20130130103458-t4stvpibhb1353nw
2013-01-30 11:34:58 +01:00
Launchpad Translations on behalf of openerp 5d3812badd Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130126053711-ja93llrv8p3pu6ok
bzr revid: launchpad_translations_on_behalf_of_openerp-20130127050921-4ee0qhynow5m95wf
bzr revid: launchpad_translations_on_behalf_of_openerp-20130129061801-bf4xt34ikig91lwr
bzr revid: launchpad_translations_on_behalf_of_openerp-20130130051939-dhup79bt2uw7v3cz
bzr revid: launchpad_translations_on_behalf_of_openerp-20130130052010-s7ntowxt1wk06nes
2013-01-30 05:20:10 +00:00
Antony Lesuisse 4e6607c75c [IMP] res.partner missing group by country
bzr revid: al@openerp.com-20130125214027-usu1y7eho9gm9uld
2013-01-25 22:40:27 +01:00
Christophe Simonis 16289266c9 [FIX] res.config.installer: correct module installing
bzr revid: chs@openerp.com-20130125133453-aqu5eotetdyb2zpj
2013-01-25 14:34:53 +01:00
Launchpad Translations on behalf of openerp 06c7519a62 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130124053457-8qf8k6eb4ukdig0k
bzr revid: launchpad_translations_on_behalf_of_openerp-20130125060437-nlhqe2dilssuf70x
2013-01-25 06:04:37 +00:00
Christophe Simonis c9c5f4b785 [FIX] res.config.installer: correct module installing
bzr revid: chs@openerp.com-20130124182808-5xvdc0mqst0h2970
2013-01-24 19:28:08 +01:00
Christophe Simonis b3b800bd17 [FIX] signal registry change when install modules from config wizards
bzr revid: chs@openerp.com-20130123174724-bqonj3d4dufof2vw
2013-01-23 18:47:24 +01:00
Christophe Simonis b3300f6074 [FIX] signal registry change when uninstall modules
bzr revid: chs@openerp.com-20130123153345-x7jm13eieqgeg5i7
2013-01-23 16:33:45 +01:00
Quentin (OpenERP) deea17ff25 [FIX] base, res.company: fixed overlapping in company header when display_address() returns a 5 lines text (UK for example)
bzr revid: qdp-launchpad@openerp.com-20130123143802-n9nbwm18xn6xh7z3
2013-01-23 15:38:02 +01:00
Launchpad Translations on behalf of openerp 3499c33270 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130123060246-kt475gbzoz4f1703
bzr revid: launchpad_translations_on_behalf_of_openerp-20130123060324-z9zt3oif6p20i6mp
bzr revid: launchpad_translations_on_behalf_of_openerp-20130123060328-e0rnct2yu9lh23vp
2013-01-23 06:03:28 +00:00
dle@openerp.com 152aadcc9e [FIX]Autovacuum force true
bzr revid: dle@openerp.com-20130121150318-o12a9o1y8olulz04
2013-01-21 16:03:18 +01:00
dle@openerp.com dd91a1c94a [FIX]Uninstall : Savepoint before unlink
bzr revid: dle@openerp.com-20130121102245-dkha32uistm3hgca
2013-01-21 11:22:45 +01:00
Launchpad Translations on behalf of openerp cd1e346e01 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130119063657-x4n6e50dn5dapwl3
bzr revid: launchpad_translations_on_behalf_of_openerp-20130120051711-l7ov76fat5jy5zzi
bzr revid: launchpad_translations_on_behalf_of_openerp-20130121052717-y8me1m61e5jawj09
bzr revid: launchpad_translations_on_behalf_of_openerp-20130119063730-1qb2f0t3ja3lfcp9
bzr revid: launchpad_translations_on_behalf_of_openerp-20130120051738-sa4uc0kj70qwxxw7
bzr revid: launchpad_translations_on_behalf_of_openerp-20130121052754-7hplv5713jf1mzh1
2013-01-21 05:27:54 +00:00
Launchpad Translations on behalf of openerp de4ba1084a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121230055035-68ul1nfj2blt5tpt
bzr revid: launchpad_translations_on_behalf_of_openerp-20121231051559-aw01koucw31ou6ev
bzr revid: launchpad_translations_on_behalf_of_openerp-20130101051904-0ghaklrif6nu8v13
bzr revid: launchpad_translations_on_behalf_of_openerp-20130102052515-osk45kf8joxus1le
2013-01-02 05:25:15 +00:00
Antony Lesuisse 6c6fa1b7ee [FIX] memory logging for cron workers
bzr revid: al@openerp.com-20121229133616-mbx0732l1uvyb1eo
2012-12-29 14:36:16 +01:00
Antony Lesuisse 2e01a395db [FIX] workers memory limits better help
bzr revid: al@openerp.com-20121229132216-zfk4ipw4p6mbgxnj
2012-12-29 14:22:16 +01:00
Antony Lesuisse 551e6bc78d [IMP] memory usage logging
bzr revid: al@openerp.com-20121229125912-rlt4g0b6xhajqxwm
2012-12-29 13:59:12 +01:00
Launchpad Translations on behalf of openerp 667d98cab0 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121228053555-9fpc1mj7ur0a5tbd
bzr revid: launchpad_translations_on_behalf_of_openerp-20121229053621-25bpaf17lvsnyr4e
bzr revid: launchpad_translations_on_behalf_of_openerp-20121229053655-b3agh60e70at492g
2012-12-29 05:36:55 +00:00
Christophe Simonis 4857a8a020 [FIX] module loading: call adapt_version() instead of computing it ourself
bzr revid: chs@openerp.com-20130117135108-a4wt4wtbtfdwiui3
2013-01-17 14:51:08 +01:00
Christophe Simonis 3574038ffd [FIX] apps: install_from_url: fix install condition + better logging
bzr revid: chs@openerp.com-20130117132924-ejzbkh5przqi6hwf
2013-01-17 14:29:24 +01:00
Olivier Dony 7a78800d5c [MERGE] Update setup.py to properly package docutils data for Windows + reorder Settings top menus for Apps integration
bzr revid: odo@openerp.com-20130117102102-9arm888hx5vaiunn
2013-01-17 11:21:02 +01:00
Olivier Dony df69f4b08a [FIX] ir.module: installation from urls: better logging + fix mixing local and remote modules in one call
(empty module URL means local module is available and should be installed)

bzr revid: odo@openerp.com-20130117012312-kwr1iaf590ll4wm1
2013-01-17 02:23:12 +01:00
Christophe Simonis c10d28e4e6 [FIX] orm: SUPERUSER is not restricted by groups on fields
bzr revid: chs@openerp.com-20130116164025-qns65cb78p8p57m1
2013-01-16 17:40:25 +01:00
Launchpad Translations on behalf of openerp 5880f9aa75 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130116055224-nyvhjk7xo4etfazv
bzr revid: launchpad_translations_on_behalf_of_openerp-20130116055259-2hpcs7r52n0z59cy
bzr revid: launchpad_translations_on_behalf_of_openerp-20130116055303-l47hpzm5yz18i8q7
2013-01-16 05:53:03 +00:00
Olivier Dony 4eac510461 [FIX] ir.mail_server: properly handle the --smtp-ssl command-line option + map it to STARTTLS as a safer default
bzr revid: odo@openerp.com-20130115124058-81kgv0cy9jp96ln4
2013-01-15 13:40:58 +01:00
Christophe Simonis fec027e832 [IMP] reorder modules menus
bzr revid: chs@openerp.com-20130115104015-5ytx00t0b5230aaf
2013-01-15 11:40:15 +01:00
Fabien Pinckaers c095e2d340 [FIX] document management, file do not exists
bzr revid: fp@tinyerp.com-20130114174355-ygieirm80j9ftixx
2013-01-14 18:43:55 +01:00
Olivier Dony 3ad16170f3 [MERGE] tools.translate: fix extraction of translation terms from mako source files, courtesy of Niels Huylebroeck (Agaplan)
bzr revid: odo@openerp.com-20130114112831-87gmdtqzaa55zssf
2013-01-14 12:28:31 +01:00
Olivier Dony ef4fb0f6ba [FIX] apps: make warning messages translatable
bzr revid: odo@openerp.com-20130111175905-a50b1adne55dekrt
2013-01-12 06:59:05 +13:00
Olivier Dony 8e5f0e2ce2 [FIX] fields.date[time]: context_today()/context_timestamp() should fallback to user TZ if context TZ is missing
This takes care of cases where the context is missing,
e.g. for workflow-based operations, and is similar
to the way tools.translate._() falls back to the user
language.

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

bzr revid: odo@openerp.com-20130111175717-u8r1t7s8872bz2rx
2013-01-12 06:57:17 +13:00
Olivier Dony ecc56794cd [FIX] ir.mail_server: correct fallback to smtp parameters provided in server config/command-line
bzr revid: odo@openerp.com-20130111161201-3w8o2voiauxyvxzz
2013-01-12 05:12:01 +13:00
Launchpad Translations on behalf of openerp 4345556628 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130112054022-r3v2m3r8ftr373kl
bzr revid: launchpad_translations_on_behalf_of_openerp-20130113052739-ol5rj9c4s6r9u6gh
bzr revid: launchpad_translations_on_behalf_of_openerp-20130114051737-tqxmwkgixvl7dxd8
2013-01-14 05:17:37 +00:00
Christophe Matthieu 0c59cb52c9 [FIX] res_partner: kanban view : update contact avatar on edit mode (for company partner)
bzr revid: chm@openerp.com-20130111145459-e2rp9o3bmh2p679i
2013-01-11 15:54:59 +01:00
Quentin (OpenERP) 39bfcd23ea [FIX] base: GBP currency symbol should be before the amount
bzr revid: qdp-launchpad@openerp.com-20130111114012-xm19xp9glbn3qnn2
2013-01-11 12:40:12 +01:00
Launchpad Translations on behalf of openerp 6da448e0ad Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130108060408-8nb3941v15q9ybdf
bzr revid: launchpad_translations_on_behalf_of_openerp-20130109055200-8b1ngo68e9purey3
bzr revid: launchpad_translations_on_behalf_of_openerp-20130110053544-j7oyp5nohajb0nj8
bzr revid: launchpad_translations_on_behalf_of_openerp-20130111052135-l323k3ttzdy0o9km
bzr revid: launchpad_translations_on_behalf_of_openerp-20130111052208-h19znnqin0y82wvx
2013-01-11 05:22:08 +00:00
Xavier ALT 475d2ec5b4 [MERGE] win32: use 'net' command for service start/stop operation
* We have to wait for complete service stop before trying to re-start
    OpenERP service, otherwise service manager will complain that the
    service is already running - and thus preventing to it start.
      'sc' command only send a query to service manager without waiting
    for completion - instead we use 'net' command which wait for complete
    start/stop operation.

bzr revid: xal@openerp.com-20130107174846-745eqpvp2lhskspi
2013-01-07 18:48:46 +01:00
Olivier Dony 83171d551a [FIX] ir.cron: cron list makes inactive cron jobs hard to spot
bzr revid: odo@openerp.com-20130107171720-foxippaaib6jb0zm
2013-01-07 18:17:20 +01:00
Xavier ALT 44d536d40d [FIX] win32: use 'net' command for service start/stop operation
* We have to wait for complete service stop before trying to re-start
    OpenERP service, otherwise service manager will complain that the
    service is already running - and thus preventing to it start.
      'sc' command only send a query to service manager without waiting
    for completion - instead we use 'net' command which wait for complete
    start/stop operation.

bzr revid: xal@openerp.com-20130107162302-xtf44nm10859203w
2013-01-07 17:23:02 +01:00
Launchpad Translations on behalf of openerp d0153b4df6 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130105053946-cw09iqtcvoz967j1
bzr revid: launchpad_translations_on_behalf_of_openerp-20130106053016-99l6yng147p1onxu
bzr revid: launchpad_translations_on_behalf_of_openerp-20130107054358-g0wq2uyjuvglud9y
2013-01-07 05:43:58 +00:00
Niels Huylebroeck 9db9138056 [FIX] When extracting strings from mako reports we specify a correcter method for string extraction.
lp bug: https://launchpad.net/bugs/1096138 fixed

bzr revid: nh@agaplan.eu-20130104171631-p72mjfkfsvm2tdr8
2013-01-04 18:16:31 +01:00
Christophe Simonis f221449d51 [FIX] we are not in alpha anymore
bzr revid: chs@openerp.com-20130103170809-337pt3cjzvi82y17
2013-01-03 18:08:09 +01:00
Thibault Delavallée 0f4cd7b133 [IMP] html_sanitize: keep email adresses formatted like '\<raoul@grosbedon.fr\>' in the html to sanitize; before this revision they were simply removed as incorrect html code.
bzr revid: tde@openerp.com-20130103135649-ngbhs3n7pa86qnl5
2013-01-03 14:56:49 +01:00
Niels Huylebroeck 18841cf6eb [FIX] base: allow searching in multicompany environment on res_partner.
lp bug: https://launchpad.net/bugs/1094212 fixed

bzr revid: nh@agaplan.eu-20130103130448-zzh00ari2ijra28z
2013-01-03 14:04:48 +01:00
Launchpad Translations on behalf of openerp f659d305f7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130103053838-8dc22w7xc4pekn1v
bzr revid: launchpad_translations_on_behalf_of_openerp-20130103053926-saljmu2wubie130o
bzr revid: launchpad_translations_on_behalf_of_openerp-20130103053929-zhnxa8yb58llx12y
2013-01-03 05:39:29 +00:00
Xavier ALT 2dfc3cbc6a [MERGE] OPW 572488: report sxw/odt: fix inconsistent duplicate content/meta/style files within generated sxw/odt
forward-port of v6.0 server revid: xal@openerp.com-20130102152925-h81qv2fx300oakzv

bzr revid: xal@openerp.com-20130102164057-lkr39vbtnk0zndgs
2013-01-02 17:40:57 +01:00
Christophe Matthieu 21c5425d89 [IMP] mail_sanitize: simplification of the regular expression
bzr revid: chm@openerp.com-20130102162544-jfwdfqx2ruf0x1q2
2013-01-02 17:25:44 +01:00
Christophe Matthieu 6a07b69889 [IMP] html_sanitize: test with assertIn
bzr revid: chm@openerp.com-20130102161458-4pvpvfb1shmt0sjy
2013-01-02 17:14:58 +01:00
Christophe Matthieu a4e7fa97f4 [IMP] mail sanitize: add special email address for escape in the sanitizer
bzr revid: chm@openerp.com-20130102090040-yh0vdv8b3mtwoebh
2013-01-02 10:00:40 +01:00
Christophe Matthieu 71a92f46e4 [FIX] tools: html_sanitize
bzr revid: chm@openerp.com-20121231154451-0guqjid92rfndghp
2012-12-31 16:44:51 +01:00
Fabien Pinckaers aa86fb2bc1 [IMP] custom model allowed
bzr revid: fp@tinyerp.com-20121227172825-lny2fobb5g89edca
2012-12-27 18:28:25 +01:00
Fabien Pinckaers a74d50d220 [IMP] support for lxml <2.3.1
bzr revid: fp@tinyerp.com-20121227163324-uloesoeixirmdtka
2012-12-27 17:33:24 +01:00
Quentin (OpenERP) eec2a5c96c [FIX] base, res.partner.form view: removed group no one on title field as this field is sometimes filled (migration, contact creation from lead...) and sometimes used as well (in reports). Besides there is no good reason to hide it
bzr revid: qdp-launchpad@openerp.com-20121227142116-zl8n0v550pbf12ju
2012-12-27 15:21:16 +01:00
Thibault Delavallée 1c7b1b53d4 [IMP] sanitizer: improved logger message if crashed during sanitize.
bzr revid: tde@openerp.com-20121227092614-0ihi5sw5uuyboahk
2012-12-27 10:26:14 +01:00
Michael Telahun Makonnen 9641810c99 Update to source.
bzr revid: mmakonnen@gmail.com-20121227085504-ew7yn5u47wn5kcxj
2012-12-27 11:55:04 +03:00
Michael Telahun Makonnen 9faf27da5e Enable loading of Amharic (Ethiopia) language.
bzr revid: mmakonnen@gmail.com-20121227075200-junjlo2sj4vxk87h
2012-12-27 10:52:00 +03:00
Launchpad Translations on behalf of openerp fc30d0cdc0 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121224043910-40kmjctd0vsk40e4
bzr revid: launchpad_translations_on_behalf_of_openerp-20121225044716-jkvfe6uzseq8kibu
bzr revid: launchpad_translations_on_behalf_of_openerp-20121226043855-sxdshan9dl7zfxjl
bzr revid: launchpad_translations_on_behalf_of_openerp-20121227052225-be2juv5iu3hyr8gh
2012-12-27 05:22:25 +00:00
Thibault Delavallée be5118c704 [DOC] Added some comments. Updated failure message. Added a logging message when not capable of parsing.
bzr revid: tde@openerp.com-20121226164354-tjquf1zdyr90tl5e
2012-12-26 17:43:54 +01:00
Thibault Delavallée d7185be38c [IMP] html_sanitize: now uses the builtin cleaner of lxml.html. We also allows style attribute; the cleaner ensures no javascript or malicious code goes through those attributes. Updated and added tests for the sanitizer, especially about malicious code, and EDI-like html code.
bzr revid: tde@openerp.com-20121226162505-8rq060p375z1k9il
2012-12-26 17:25:05 +01:00
Launchpad Translations on behalf of openerp 980e61f7f6 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121222065425-11jso5coijmog3cv
bzr revid: launchpad_translations_on_behalf_of_openerp-20121223050740-6tjeryov28gogllv
bzr revid: launchpad_translations_on_behalf_of_openerp-20121224050954-9ophyas8vcd5i25j
bzr revid: launchpad_translations_on_behalf_of_openerp-20121225051527-2pztk85yutorsknl
bzr revid: launchpad_translations_on_behalf_of_openerp-20121226051717-qo56hnplkzd9en3p
bzr revid: launchpad_translations_on_behalf_of_openerp-20121227055246-wirga2xl0474l7md
2012-12-27 05:52:46 +00:00
Launchpad Translations on behalf of openerp c5e5201546 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121222051100-uj56wf2s12hip7c9
bzr revid: launchpad_translations_on_behalf_of_openerp-20121223043949-l8ore8omoj3zz7j6
2012-12-23 04:39:49 +00:00
Olivier Dony 75c9cf255a [FIX] ir.cron: avoid passing the lock-holding cursor to the job, as many batch jobs need to commit/rollback
Passing a dedicated cursor to the cron job is necessary to
avoid spurious commit/rollbacks releasing the cron lock on
the job row - causing duplicate executions in some cases.

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

bzr revid: odo@openerp.com-20121222011355-te4osnedofct0p1u
2012-12-22 02:13:55 +01:00
Olivier Dony d33266dc60 [FIX] res.config: install local modules directly, only use apps.openerp.com for missing ones
bzr revid: odo@openerp.com-20121221204539-u3h92damvgbd0539
2012-12-21 21:45:39 +01:00
Fabien Pinckaers 013af8477f [IMP] mail serveur active
bzr revid: fp@tinyerp.com-20121221195614-pfk4kbmquzmhrgbc
2012-12-21 20:56:14 +01:00
Olivier Dony 2618c16502 [I18N] Update translation template for latest changes - ready for 7.0 release
bzr revid: odo@openerp.com-20121221171030-rn5ny3bif4y7y4vi
2012-12-21 18:10:30 +01:00
Raphael Collet 534b07c3c2 [MERGE] lp:~serpent-consulting-services/openobject-server/trunk-956898-SerpentCS (enable multiple email addresses in server actions)
bzr revid: rco@openerp.com-20121221163755-saafbs7pb8bxyrsf
2012-12-21 17:37:55 +01:00
Raphael Collet 940fc2fa85 [IMP] ir.actions.server: improve code of email actions
bzr revid: rco@openerp.com-20121221163359-bfv218b315r3z9wr
2012-12-21 17:33:59 +01:00
Olivier Dony 65405e956c [FIX] rml reports: no hardcoded template pageSize - is set by company header/footer to A4 or US Letter
bzr revid: odo@openerp.com-20121221154906-urv7cxsudhmu8nl5
2012-12-21 16:49:06 +01:00
Olivier Dony 94cfed4d17 [FIX] res.company: default company info position incorrect in US Letter format
bzr revid: odo@openerp.com-20121221154426-4ligi2c9vwdht3a4
2012-12-21 16:44:26 +01:00
Raphael Collet c9bc74c5c9 [MERGE] lp:~therp-nl/openobject-server/ronald@therp.nl_trunk_lp1009014_new (improve transient models vacuum)
bzr revid: rco@openerp.com-20121221153122-q6j8vatd2xfmqr3n
2012-12-21 16:31:22 +01:00
Raphael Collet 8ead65d82a [IMP] orm: fix vacuum of transient model
bzr revid: rco@openerp.com-20121221152914-qs1s9h1zwnyzft1m
2012-12-21 16:29:14 +01:00
Raphael Collet e7ce4a4529 [MERGE] from trunk
bzr revid: rco@openerp.com-20121221134259-scc92nby1dn91pe8
2012-12-21 14:42:59 +01:00
Olivier Dony f3a71a1dc3 [MERGE] base: improved english wording, suggestions courtesy of OpenERP Community
bzr revid: odo@openerp.com-20121221133859-nvpyq07sb3r55yc1
2012-12-21 14:38:59 +01:00
Olivier Dony 4fd1bc7b3c [IMP] cron: remove useless pooljobs and schedule_cron_jobs methods
The pooljobs and scheduled_cron_jobs stuff was only used to
delay the processing of cron jobs until after the registry
was fully loaded. However this is already the case because
RegistryManager.new() only sets the flag at the end of the
init step.
The flag was named `registry.cron` but simply meant that the
registry was fully loaded and ready, so it is simpler to
rename it to `registry.ready`.

In multiprocess mode this flag is enterily irrelevant
so there is no need to selectively set it to True or
False. `registry.ready` is simpler.

bzr revid: odo@openerp.com-20121221133751-h4x670vblfr3d09e
2012-12-21 14:37:51 +01:00
Thibault Delavallée a873a7de80 [MERGE] ORM: fix result of queries using auto_join.
It is possible to have multiple results linked to a same 'left-side' query, such as having a task with several unread messages. In this case, the query using the joins gives back as many lines as unread messages, because of the joins in the query.
To avoid using distinct or 'where exist' constructs, the results of the query is filtered while keeping the original order.

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

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

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

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

bzr revid: tde@openerp.com-20121220110617-ck3tpmtor38bd1tf
2012-12-20 12:06:17 +01:00
vta vta@openerp.com cede3b69aa [MERGE] Latest trunk
bzr revid: vta@openerp.com-20121220105704-fm4frn1na2ezm5f2
2012-12-20 11:57:04 +01:00
vta vta@openerp.com ed60ce60ab [FIX] Remove new_password field from user form view
bzr revid: vta@openerp.com-20121220103706-vid7jj1w008g81zb
2012-12-20 11:37:06 +01:00
dle@openerp.com 355dac7356 [FIX]Kanban view js not loaded when db created through command line
bzr revid: dle@openerp.com-20121220101511-679v8e6ijsbaxj0y
2012-12-20 11:15:11 +01:00
vta vta@openerp.com 23068e6afb [IMP] Make wizard work
bzr revid: vta@openerp.com-20121220092800-gtitseu418osspn2
2012-12-20 10:28:00 +01:00
Thibault Delavallée 7470ee38f9 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121220091858-ye1t25614ajfv4zl
2012-12-20 10:18:58 +01:00
Launchpad Translations on behalf of openerp 2a1ca8fba2 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121220044323-lda479xp4patic59
2012-12-20 04:43:23 +00:00
Antony Lesuisse 0ed151708a last fix
bzr revid: al@openerp.com-20121220023721-oy7y4czmf3tvmyzl
2012-12-20 03:37:21 +01:00
Antony Lesuisse 549c011893 [MERGE] turnk
bzr revid: al@openerp.com-20121220020708-ioiaoz58ncgw5wg7
2012-12-20 03:07:08 +01:00
Antony Lesuisse fb34208b68 apps fix destroy
bzr revid: al@openerp.com-20121219203058-4kb5urrb8rca8eti
2012-12-19 21:30:58 +01:00
Thibault Delavallée 044aaa4ca5 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121219201719-yy51k9tlqpa5v8kj
2012-12-19 21:17:19 +01:00
Antony Lesuisse 2370566ca0 move get_client in Apps
bzr revid: al@openerp.com-20121219172128-19u850blwf5cryex
2012-12-19 18:21:28 +01:00
vta vta@openerp.com 97bf527aa4 [ADD] Added change_password_wizard
bzr revid: vta@openerp.com-20121219154957-bf65kkqpikbwyua1
2012-12-19 16:49:57 +01:00
Antony Lesuisse 565853b732 [MERGE] trunk
bzr revid: al@openerp.com-20121219030106-i59u10tml3baqvun
bzr revid: al@openerp.com-20121219150107-8l92w2bi510yem45
2012-12-19 16:01:07 +01:00
Christophe Matthieu 1af40b9b78 [MERGE] from trunk
bzr revid: chm@openerp.com-20121219144055-up3kamlh08nbk1ju
2012-12-19 15:40:55 +01:00
Christophe Matthieu bf11573436 [IMP] tools mail: encoding : add test for removing encoding attribute
bzr revid: chm@openerp.com-20121219143912-os160iv0q0jeyhld
2012-12-19 15:39:12 +01:00
Fabien Pinckaers 777ed1e0dc [IMP] transparent background support for images in RML
bzr revid: fp@tinyerp.com-20121219132504-zvcs346g007sloua
2012-12-19 14:25:04 +01:00
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