Commit Graph

1114 Commits

Author SHA1 Message Date
Olivier Dony 638a9102c5 [MERGE] Latest fixes from 6.1
bzr revid: odo@openerp.com-20120314142043-9jpk3dkss1hkvb3q
2012-03-14 15:20:43 +01:00
Launchpad Translations on behalf of openerp 277217cae3 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120313053419-651m21hw6ja8naqc
bzr revid: launchpad_translations_on_behalf_of_openerp-20120314054403-pdvtd2s58mehtlrd
bzr revid: launchpad_translations_on_behalf_of_openerp-20120315051817-qfmyll102427mgi9
2012-03-15 05:18:17 +00:00
Launchpad Translations on behalf of openerp 0d81febc81 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120310045436-575z33tnn4ylhgmt
bzr revid: launchpad_translations_on_behalf_of_openerp-20120312043902-d43ik1qvtuz6xkvd
bzr revid: launchpad_translations_on_behalf_of_openerp-20120313050751-hkilihhs8zm4a8mp
bzr revid: launchpad_translations_on_behalf_of_openerp-20120314044248-xm1kexxswy9nc7wp
2012-03-14 04:42:48 +00:00
Olivier Dony e74c011a60 [FIX] ir.mail_server: SMTP user and pass should be passed as bytes to login()
Passing a unicode used to work in Python 2.5 but that
changed in 2.6 due to a change in the hmac module.
In any case the various RFCs that describe such
authentication mechanism do specify that UTF-8 encoded
values should be used, so we should be safe coercing
the user and passsword to UTF-8 bytes strings.
And of course it should not change anything for
the ASCII passwords out there anyway.

For references, see:
- Zope bug https://bugs.launchpad.net/zope.sendmail/+bug/597143
- Python issue http://bugs.python.org/issue5285
- http://tools.ietf.org/html/draft-ietf-sasl-crammd5-10#section-4

bzr revid: odo@openerp.com-20120312174348-iiqfa2toupn3udr3
2012-03-12 18:43:48 +01:00
Launchpad Translations on behalf of openerp 5ebc07237a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120310052625-78n2341gtv2zrgwg
bzr revid: launchpad_translations_on_behalf_of_openerp-20120311050634-9ftgr94cy2tvp9y5
bzr revid: launchpad_translations_on_behalf_of_openerp-20120312051214-q1f14seqal4j8rn5
bzr revid: launchpad_translations_on_behalf_of_openerp-20120310052733-s24jj1qyoxy2j8lz
bzr revid: launchpad_translations_on_behalf_of_openerp-20120311050659-0ky4089nbil85weg
bzr revid: launchpad_translations_on_behalf_of_openerp-20120312051227-90mlbjgzqjyj8a8a
2012-03-12 05:12:27 +00:00
Olivier Dony 65c71111fb [FIX] ir.attachment: override _search instead of search() to make sure name_search() works
bzr revid: odo@openerp.com-20120309100429-nrfkmlec45z41yj9
2012-03-09 11:04:29 +01:00
Launchpad Translations on behalf of openerp e08cb5e606 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120309052845-h3cd2tmjt6j9jvrz
bzr revid: launchpad_translations_on_behalf_of_openerp-20120309052917-cfjnvomj9mod6odf
2012-03-09 05:29:17 +00:00
Olivier Dony f093d9f8d3 [FIX] res.country: fix name for DRC, confuses Google map and similar services
bzr revid: odo@openerp.com-20120309020710-utf0ehkzytcd02ru
2012-03-09 03:07:10 +01:00
Launchpad Translations on behalf of openerp 3ee625d145 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120307060314-gaha062xllz5foin
bzr revid: launchpad_translations_on_behalf_of_openerp-20120308052427-ucgx2ytaxy4r27u2
2012-03-08 05:24:27 +00:00
Christophe Simonis 91b8829050 [FIX] tools.email_send: use correct kwarg
bzr revid: chs@openerp.com-20120306173319-6tmhco83w0we5hl6
2012-03-06 18:33:19 +01:00
Launchpad Translations on behalf of openerp e4459562f2 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120228063010-woxw61j13uqq1edo
bzr revid: launchpad_translations_on_behalf_of_openerp-20120229052656-iadyuga5sjaabrbl
bzr revid: launchpad_translations_on_behalf_of_openerp-20120301051832-k8w3h3ibfqmdieub
bzr revid: launchpad_translations_on_behalf_of_openerp-20120302052336-7jib6zk2efcivip1
bzr revid: launchpad_translations_on_behalf_of_openerp-20120304052133-o3zqfxzedgnq55f2
2012-03-04 05:21:33 +00:00
Vo Minh Thu 6323111950 [IMP] tests:
- moved a few YAML tests to unittest2 for demonstration purpose
- changed --test-disable to --test-enable (and swapped its meaning)

bzr revid: vmt@openerp.com-20120301134608-szuktuj8imdhmn0r
2012-03-01 14:46:08 +01:00
Launchpad Translations on behalf of openerp 679d307ead Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120222045636-woireovexwftw6ar
bzr revid: launchpad_translations_on_behalf_of_openerp-20120223043844-s2ndx8sv4esnqoln
bzr revid: launchpad_translations_on_behalf_of_openerp-20120224044737-fun2dpz186j8py0b
bzr revid: launchpad_translations_on_behalf_of_openerp-20120225051322-6aya32sbxaxvd5yq
bzr revid: launchpad_translations_on_behalf_of_openerp-20120226045523-gtd8h7707vl2clzj
bzr revid: launchpad_translations_on_behalf_of_openerp-20120227045228-dwmdog6eitav044b
bzr revid: launchpad_translations_on_behalf_of_openerp-20120228054731-fg5ohpi4t4vgc67p
bzr revid: launchpad_translations_on_behalf_of_openerp-20120229044148-vpzionn12cp18a8a
2012-02-29 04:41:48 +00:00
Olivier Dony 506b274977 [FIX] ir.rule: rules should be cascade-deleted along with their model
bzr revid: odo@openerp.com-20120227152135-y3hukyoow0q0dkif
2012-02-27 16:21:35 +01:00
Olivier Dony a43f7940dc [FIX] ir.model: workaround for broken Python 2.6 implementations
Apparently on some RedHat/CentOS version certain
Python 2.6 version do not support more than
4 nested levels of boolean filters.

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

bzr revid: odo@openerp.com-20120227100953-2wgr0l621tpu1x4x
2012-02-27 11:09:53 +01:00
Launchpad Translations on behalf of openerp 3f2c207322 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120224053018-z4h7by0h8f5bov2x
bzr revid: launchpad_translations_on_behalf_of_openerp-20120225055158-gr639s6rzw1io33x
bzr revid: launchpad_translations_on_behalf_of_openerp-20120226052058-i6jsb4i97m78vftu
bzr revid: launchpad_translations_on_behalf_of_openerp-20120227055542-vz7rbngenr8ynd46
bzr revid: launchpad_translations_on_behalf_of_openerp-20120225055258-f5ufpgcomzlqmahr
bzr revid: launchpad_translations_on_behalf_of_openerp-20120227055623-0jhvbldsrq90jg22
2012-02-27 05:56:23 +00:00
Launchpad Translations on behalf of openerp cc193c268e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120223052353-7wtilhl4ygsiebpm
bzr revid: launchpad_translations_on_behalf_of_openerp-20120223052405-zjntmml4s0tldteu
bzr revid: launchpad_translations_on_behalf_of_openerp-20120223052409-078hdbrd4l8060cr
2012-02-23 05:24:09 +00:00
Launchpad Translations on behalf of openerp 9b0c341975 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120222065619-wdj17h21k8iuy3w6
bzr revid: launchpad_translations_on_behalf_of_openerp-20120222065704-3l8az0alwzd2mrmk
bzr revid: launchpad_translations_on_behalf_of_openerp-20120222065707-hp0u1vljdfgyjqxf
2012-02-22 06:57:07 +00:00
Launchpad Translations on behalf of openerp e3cc141be5 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120217045751-thn23vacyxknwt83
bzr revid: launchpad_translations_on_behalf_of_openerp-20120218045735-7snhwn8hjo2d7pe1
bzr revid: launchpad_translations_on_behalf_of_openerp-20120219054155-s1ok19use0jf281o
bzr revid: launchpad_translations_on_behalf_of_openerp-20120220053935-hgbv4yi1a5njd8a6
bzr revid: launchpad_translations_on_behalf_of_openerp-20120221055431-l0n17ap5346a02wg
2012-02-21 05:54:31 +00:00
Launchpad Translations on behalf of openerp dfa5449f02 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120218060208-gvsm4rrkca7yv031
2012-02-18 06:02:08 +00:00
Xavier Morel 8c2922a537 [FIX] base.module.upgrade: fix fields_view_get overload
lp bug: https://launchpad.net/bugs/928280 fixed

bzr revid: xmo@openerp.com-20120217091554-x1d0qvcvmj8z2oju
2012-02-17 10:15:54 +01:00
Launchpad Translations on behalf of openerp 2094148de5 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120216050419-fgzhvlogc71u42qe
bzr revid: launchpad_translations_on_behalf_of_openerp-20120216050718-lf9hgvr1p33jpm2h
bzr revid: launchpad_translations_on_behalf_of_openerp-20120216052148-ta5bwtqg3bzmvp3i
2012-02-16 05:21:48 +00:00
Launchpad Translations on behalf of openerp ee8cc0a459 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120215052652-i9y75rm42kvbvlx7
2012-02-15 05:26:52 +00:00
Olivier Dony 04849550aa [FIX] ir.module.module: `demo` field should be readonly
lp bug: https://launchpad.net/bugs/928431 fixed

bzr revid: odo@openerp.com-20120214151846-1fsbc225bz1x5ujp
2012-02-14 16:18:46 +01:00
Olivier Dony 79ac080fb2 [MERGE] Minor bugfixes (missing imports, etc.) courtesy of Florent Xicluna
bzr revid: odo@openerp.com-20120214150022-yx6zi0j4fr2d48uc
2012-02-14 16:00:22 +01:00
Olivier Dony 7d84dbc118 [MERGE] More consistent widget for res.partner.event, courtesy of Serpent CS
Note that res.partner.event is deprecated and the
mass mailing wizard is replaced as soon as the
mail module is installed.

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

bzr revid: odo@openerp.com-20120214142607-vp6k09139rumhmpt
2012-02-14 15:26:07 +01:00
Launchpad Translations on behalf of openerp 74b3b0bc69 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120214054303-2gawtr1s4zulhhhs
bzr revid: launchpad_translations_on_behalf_of_openerp-20120214054630-925y7kotw7axa7z4
bzr revid: launchpad_translations_on_behalf_of_openerp-20120214061906-2g5kxwe0xle5u54c
2012-02-14 06:19:06 +00:00
Olivier Dony f87324e93e [FIX] res.users: don't delay login() if user row is currently locked
Any running transaction that has created or altered
a record that contains a FK to the user is automatically
holding an SharedRowLock that prevents login() from
updating the last login date. As we cannot delay the
login() until all such transactions are finished,
it's simpler to try to get the lock and if that
fails, we skip the login date update for once,
no big deal.
A typical candidate for this situation is the
Admin user, locked out by long running cron
jobs that touch rows as Admin, hence holding
a ShareRowLock to res.users ID 1 because of the
many create_uid/write_uid foreign keys.

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

bzr revid: odo@openerp.com-20120213183207-45ptopqm0szritgx
2012-02-13 19:32:07 +01:00
Olivier Dony c658241072 [IMP] res.partner.bank: swap state/country fields in vertical layout
Users need to fill in country to see the
list of states, so it must be first in the
form, even if that does not feel very
natural in a vertical layout.

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

bzr revid: odo@openerp.com-20120213145904-i731wr9msex3fmx6
2012-02-13 15:59:04 +01:00
Vo Minh Thu 8e2134981d [FIX] ir_rule: disallow ir_rules on ir_rule.
bzr revid: vmt@openerp.com-20120213110144-p5wrxccl39vrkwjy
2012-02-13 12:01:44 +01:00
Olivier Dony a60edc90da [ADD] base: missing post-1995 ISO3166 countries
lp bug: https://launchpad.net/bugs/930242 fixed

bzr revid: odo@openerp.com-20120213105901-hx9qh1hqvqz8h2h0
2012-02-13 11:59:01 +01:00
Xavier Morel 48645fe412 [IMP] remove nonsensical attributes on tree and search, tighten tree/@toolbar
bzr revid: xmo@openerp.com-20120213101758-i20p214w21u0ik5r
2012-02-13 11:17:58 +01:00
Launchpad Translations on behalf of openerp 769e8fc3a7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120211050703-tr5u3ccsyn3nr4a3
bzr revid: launchpad_translations_on_behalf_of_openerp-20120212044214-22i3b1p1odzszfm8
bzr revid: launchpad_translations_on_behalf_of_openerp-20120213044933-drlzxl0ds3vw5pct
2012-02-13 04:49:33 +00:00
Olivier Dony 9b7539ae26 [IMP] ir.config.parameter: admin menu and views (inspired by Camptocamp's ir_config_parameter_viewer module)
bzr revid: odo@openerp.com-20120210142318-6h6nb42vgrvxfcdb
2012-02-10 15:23:18 +01:00
Olivier Dony a04e39233c [IMP] res.users: avoid reading twice the groups_id o2m - causing duped query
lp bug: https://launchpad.net/bugs/922198 fixed

bzr revid: odo@openerp.com-20120210105955-arhy1wc2qzlfy87r
2012-02-10 11:59:55 +01:00
Raphael Collet 2c2432ad33 [FIX] ir_ui_menu: do not create a menu binding when field 'action' is False
bzr revid: rco@openerp.com-20120210082637-tn4cyvgfa4jrxpj4
2012-02-10 09:26:37 +01:00
Launchpad Translations on behalf of openerp 5d4664f823 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120210044704-ffxh1ikqgom660lz
bzr revid: launchpad_translations_on_behalf_of_openerp-20120210045028-kbviilp8xdby42fi
2012-02-10 04:50:28 +00:00
Olivier Dony d163de7b55 [FIX] ir.values: avoid returning conditional defaults when condition is not set
This should un-break the tests introduced
 in previous revision

bzr revid: odo@openerp.com-20120209130854-x73j0ouyjsjnhsdg
2012-02-09 14:08:54 +01:00
Olivier Dony 5c5a5b94fc [IMP] ir.values: add (breaking) testcase for conditional defaults, currently misbehaving
bzr revid: odo@openerp.com-20120209130526-b6rg5qlf07sucafq
2012-02-09 14:05:26 +01:00
Olivier Dony 1f189228b5 [IMP] ir.module: remove technical `icon path` field from module form view
bzr revid: odo@openerp.com-20120209095616-gbus0ri06hhs90cy
2012-02-09 10:56:16 +01:00
Raphael Collet ddf38fa38b [FIX] revert rev 4018 (revid:rco@openerp.com-20120208162334-ziccpi3yczp3r5z5)
bzr revid: rco@openerp.com-20120209083828-hoojows5zsg0xrif
2012-02-09 09:38:28 +01:00
Launchpad Translations on behalf of openerp 0e2e9ddd78 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120209055558-qfwy9bg1km791dys
bzr revid: launchpad_translations_on_behalf_of_openerp-20120209071015-0jykfhbo8iamzpzk
bzr revid: launchpad_translations_on_behalf_of_openerp-20120209072746-stmwycdircyzrxn4
2012-02-09 07:27:46 +00:00
Antony Lesuisse d6e0a7e43c [IMP] ir properties list view show res_id and type
lp bug: https://launchpad.net/bugs/919991 fixed

bzr revid: al@openerp.com-20120209025847-suuwmy31wfybkkqt
2012-02-09 03:58:47 +01:00
Antony Lesuisse d8ed922e26 [FIX] res_currency remove warning about float field
bzr revid: al@openerp.com-20120208224031-korqq1crt0u3wpuh
2012-02-08 23:40:31 +01:00
Antony Lesuisse 94145b2982 [FIX] ir.model filter out link that occurs when using the ir.model web form view
lp bug: https://launchpad.net/bugs/912769 fixed

bzr revid: al@openerp.com-20120208221706-o45t6h3zgmz3ezny
2012-02-08 23:17:06 +01:00
Antony Lesuisse 2cd26d3763 [FIX] ir.model.fields form view
lp bug: https://launchpad.net/bugs/912769 fixed

bzr revid: al@openerp.com-20120208213047-2uq1wze2xdzbghgh
2012-02-08 22:30:47 +01:00
Antony Lesuisse 30b8d271e5 [FIX] ir.model form view
lp bug: https://launchpad.net/bugs/912769 fixed

bzr revid: al@openerp.com-20120208175223-lqoyeqcfj53gb0lh
2012-02-08 18:52:23 +01:00
Florent Xicluna 5056899093 [MERGE] merged trunk.
bzr revid: florent.xicluna@gmail.com-20120208172825-r6og0hfoc181pdt1
2012-02-08 18:28:25 +01:00
Raphael Collet 4027d619eb [FIX] ir_model: do not call is_transient on None
bzr revid: rco@openerp.com-20120208162334-ziccpi3yczp3r5z5
2012-02-08 17:23:34 +01:00
Olivier Dony 7629281e08 [MERGE] Contributed Costa Rica (es_CR) translations, courtesy of Carlos Vásquez / Clearcorp
In the future it is much more recommended to upload
the PO files on Launchpad or work directly in the
Launchpad translation interface.

bzr revid: odo@openerp.com-20120208154332-r1ru2lnzaq9bagbt
2012-02-08 16:43:32 +01:00