Commit Graph

43891 Commits

Author SHA1 Message Date
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
Stephane Wirtel f817f3f340 [FIX] In the case where the user has no signature, we set up a default value to avoid to have a body with 'False'.
bzr revid: stephane@openerp.com-20120312103025-dn5q7hml9sy5u0t7
2012-03-12 11:30:25 +01:00
Olivier Dony b3c0d126e9 [FIX] project: project preference field must be editable
The user preferences screen is kind of a hack
because it lets the user modify fields on a
model that is normally read-only for her (res.users).
This is accomplished by a custom write() method
on res.users combined with a view on which some
fields are forced to be read-write using a
trick: @readonly=0.

bzr revid: odo@openerp.com-20120312102001-aas39wknhsyxkhbx
2012-03-12 11:20:01 +01:00
Olivier Dony 49459c7219 [FIX] hr_holidays: Leaves calendar view should be filtered by users, not description
bzr revid: odo@openerp.com-20120312090809-rloqoz5lb3rr7a9a
2012-03-12 10:08:09 +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
Launchpad Translations on behalf of openerp 2cb9261f0b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120310050010-l613asfszifpa1il
bzr revid: launchpad_translations_on_behalf_of_openerp-20120311045640-215bmmq7nly1rwvc
2012-03-11 04:56:40 +00:00
Launchpad Translations on behalf of openerp abfa7ea555 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120309045159-lozy0xh0ud7jmbaa
bzr revid: launchpad_translations_on_behalf_of_openerp-20120310045459-pobr12hzfpnsma2q
2012-03-10 04:54:59 +00:00
Olivier Dony d55eff4218 [FIX] email.template: body_html should be translatable
bzr revid: odo@openerp.com-20120309160625-kwp4pof4vm7aci2g
2012-03-09 17:06:25 +01:00
Olivier Dony 4677653371 [FIX] portal: mark portal users as `share` to exclude from lists by default
bzr revid: odo@openerp.com-20120309160239-pjzd0mr5bu3y9rew
2012-03-09 17:02:39 +01:00
Olivier Dony ad0c161fab [FIX] lunch: missing product description in list view
bzr revid: odo@openerp.com-20120309152533-f3q5dpa6f2oi83q2
2012-03-09 16:25:33 +01:00
Xavier Morel 2c4898dc84 [FIX] render statusbar as selection in listview
bzr revid: xmo@openerp.com-20120309143640-784m7dhyeg6cnrfm
2012-03-09 15:36:40 +01:00
Xavier Morel 6501553263 [MERGE] synchronous db-creation call, significantly simplified db creation code
also removed custom blockUI and error management hooks since it's now a perfectly standard RPC call and webclient is already available

bzr revid: xmo@openerp.com-20120309140536-21u2ked9oc7eaie5
2012-03-09 15:05:36 +01:00
Xavier Morel 56ba80370c [FIX] persist selected filter when new search criteria are added to the search view
bzr revid: xmo@openerp.com-20120309135438-kv6jh5ymwnis0s7s
2012-03-09 14:54:38 +01:00
Olivier Dony 8c3890a893 [FIX] res.partner.bank: respect company restrictions when assign parent account for new bank GL account
bzr revid: odo@openerp.com-20120309105659-ijcyersotc96uwp8
2012-03-09 11:56:59 +01: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
olt@tinyerp.com 6aa9f06dae [FIX] 'create_instance' method: the check for parent_model existence need to be done before accessing that object attributes or methods
bzr revid: olt@tinyerp.com-20120309081929-g4b8d34e93at49wf
2012-03-09 09:19: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
Olivier Dony 4ecac7d5b4 [FIX] crm_partner_assign: geolocalization was bad for large countries e.g. US or Russia
Add one more step considering a slightly larger
range around the lead within the same country,
before considering the whole country at once.
Courtesy of Dhara Shah

bzr revid: odo@openerp.com-20120309020415-f7jg21ud1lu2l61f
2012-03-09 03:04:15 +01:00
Olivier Dony 84e927120c [FIX] crm_partner_assign: google map is confused by certain country names
bzr revid: odo@openerp.com-20120309015804-1se24wx6fx9g0a3o
2012-03-09 02:58:04 +01:00
Olivier Dony dd16fb2819 [FIX] marketing_campaign: correct search view, today should not be OR'ed with states
In 6.1 a group of filters in a search view are
OR'ed together if toggled when they are contained
within the same 'separator' group.

bzr revid: odo@openerp.com-20120309011312-zcn29o4r3uqjxiow
2012-03-09 02:13:12 +01:00
Olivier Dony eefbb2ac5c [FIX] email_template: care for missing context
bzr revid: odo@openerp.com-20120309011156-q53pc4h6stlz3kq2
2012-03-09 02:11:56 +01:00
Olivier Dony 230708ac01 [FIX] crm_partner_assign: partial revert of recent commit, care for missing city/zip
bzr revid: odo@openerp.com-20120309011056-tj3iwk2j9r3anp3z
2012-03-09 02:10:56 +01:00
Olivier Dony a68bbb65f4 [FIX] crm: typo + duplicate line due to bad merge + bad hardcoded models
bzr revid: odo@openerp.com-20120308155835-j9j5jh89p80i0ma5
2012-03-08 16:58:35 +01:00
Olivier Dony 86a7978d2d [FIX] mail*: properly handle b64-encoding for attachments
When reading the datas property of an attachment,
a base64-encoded stream is expected.
The mail.message.schedule_with_attach() method OTOH
expects a binary file for attachments, so it should
be decoded if extracted from a binary field.

bzr revid: odo@openerp.com-20120308155650-blnwf7x2bkmsfue2
2012-03-08 16:56:50 +01:00
Raphael Collet d11ba5806e [IMP] product, sale, purchase, mrp, account: change unit label 'PCE' into 'Unit'
bzr revid: rco@openerp.com-20120308144439-yg2txflpu12zcord
2012-03-08 15:44:39 +01:00
Fabien Meghazi 284e19c29e [FIX] BinaryImage field: check if value is bin_size or not
bzr revid: fme@openerp.com-20120308140636-qk2ekrmqlqpaa7uo
2012-03-08 15:06:36 +01:00
Fabien Meghazi 66e1ce8606 [FIX] Missing date.js CultureInfo's am/pm descriptor causes wrong dates to be sent to server without user's knowledge
lp bug: https://launchpad.net/bugs/938497 fixed

bzr revid: fme@openerp.com-20120308102151-eyr71rzk345f6xji
2012-03-08 11:21:51 +01:00
Launchpad Translations on behalf of openerp ee40bd932c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120308052449-xr1pzp07rtg17k5j
bzr revid: launchpad_translations_on_behalf_of_openerp-20120308052456-0x4knc5exg2mm14n
2012-03-08 05:24:56 +00: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
Launchpad Translations on behalf of openerp dabd80eaaf Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120308044345-k1iwqynbbewkyyoi
2012-03-08 04:43:45 +00:00
Olivier Dony 56ab278178 [MERGE] One more merge from 6.1 branch
bzr revid: xmo@openerp.com-20120307153105-nh5wbzwjnn8g880o
bzr revid: odo@openerp.com-20120307164049-ocu8jsyt19sbxsqr
2012-03-07 17:40:49 +01:00
Minh Tran b06d76c51f Added CSS for fullscreen mode (eg. for the point of sale)
bzr revid: mit@openerp.com-20120307160512-fziwyn40i45dgxap
2012-03-07 17:05:12 +01:00
Fabien Meghazi c0439810ef [FIX] Add to dashboard domain & context merging problems
bzr revid: fme@openerp.com-20120307160503-w1mha79xiznl4x6h
2012-03-07 17:05:03 +01:00
niv-openerp 659ab1ff3b [imp] changed detail in full screen feature
bzr revid: nicolas.vanhoren@openerp.com-20120307155529-t83uabjx0ocm8mjq
2012-03-07 16:55:29 +01:00
niv-openerp df1cfd1e8f [imp] changed the way the point of sale switch to fullscreen
bzr revid: nicolas.vanhoren@openerp.com-20120307150549-rzkjz0j79l6mpjqs
2012-03-07 16:05:49 +01:00
niv-openerp 8c65ef53b9 [imp] minor feature in the web client class to set the content to full screen
bzr revid: nicolas.vanhoren@openerp.com-20120307150500-o8kkxp4ohrtzjq69
2012-03-07 16:05:00 +01:00
Fabien Meghazi db24973abe [FIX] Dashboard does not handle two actions with the same action id.
Dashboard should be refactored in trunk in order to be nivified and use a DashBoardAction class

bzr revid: fme@openerp.com-20120307124908-q48a2d8epae73wwx
2012-03-07 13:49:08 +01:00
Xavier Morel 9a646fce10 [ADD] permanent loading of saved filters
When selecting a saved filter, its data is now saved inside the
searchview's state, and re-used any time there's a search performed
(until the filter is replaced or the search view is cleared).

Some cleanup of the support code for loading filters
(SearchView.get_filters) also had to be performed in order not to fill
contexts with (potentially incorrect) crap in case the filter is
re-saved.

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

bzr revid: xmo@openerp.com-20120307120323-pub0yuwjqk1r3y0p
2012-03-07 13:03:23 +01:00
Vo Minh Thu bfb9896ddd [FIX] database/create replaced by blocking database/create_database
(so we can use a multi-workers OpenERP server; otherwise polling
on the server would hit different workers resulting in errors).

bzr revid: vmt@openerp.com-20120307104632-w6cs6nxf04ltcpf1
2012-03-07 11:46:32 +01:00
msh-openerp 0df6b1bad7 [FIX]Fixed the issue of statusbar which shows technical name in listview if one gives widget=statusbar in listview field.
bzr revid: msh@tinyerp.com-20120307101935-mw4vyjjra6e9uy1v
2012-03-07 15:49:35 +05:30
Xavier Morel a8bf396f22 [ADD] debugging assertions for replacing eval_domain_and_context with pure JS code in the long run
bzr revid: xmo@openerp.com-20120307100020-c7t3t6o97q9bkszl
2012-03-07 11:00:20 +01:00
Xavier Morel 80ebf90a7c [IMP] debug messages of test evaluator
bzr revid: xmo@openerp.com-20120307095732-ckfuowa43i7dkapg
2012-03-07 10:57:32 +01:00
Fabien Meghazi cdd72c0fe6 [FIX] Make progress bar (format.js) more tolerant with falsy floats
bzr revid: fme@openerp.com-20120307095700-i5msqipgij4v36fl
2012-03-07 10:57:00 +01:00
Olivier Dony 3eea299e73 [FIX] project_issue_sheet: analytic account should be visible in extended view
bzr revid: odo@openerp.com-20120307095627-8e2pf7955wg0jsoo
2012-03-07 10:56:27 +01:00
Xavier Morel dbcac346d6 [IMP] simplify opacity mixin, add missing variants to vertical and radial gradients
bzr revid: xmo@openerp.com-20120307091254-x9kg0ua1twbjmxp9
2012-03-07 10:12:54 +01:00
Xavier Morel d59a1d3a9b [FIX] audittrail: stupid typo
bzr revid: xmo@openerp.com-20120307074907-15jw4zl317a1qzit
2012-03-07 08:49:07 +01:00
Xavier Morel 81d0457361 [MERGE] trunk fixes
bzr revid: xmo@openerp.com-20120307074702-444l88zmd206dr7v
2012-03-07 08:47:02 +01:00
Xavier Morel 98341230a7 [FIX] context evaluation: accumulation of literal and compound context data into evaluated context
bzr revid: xmo@openerp.com-20120307074641-pm5wl9t3cb4l9s64
2012-03-07 08:46:41 +01:00
Launchpad Translations on behalf of openerp f6c3cd9bb7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120306052805-zlaw3c4skc81oj8z
bzr revid: launchpad_translations_on_behalf_of_openerp-20120307060413-fvlney19la4wjhqn
bzr revid: launchpad_translations_on_behalf_of_openerp-20120307060421-haf4qy1x6vu5xdrx
2012-03-07 06:04:21 +00:00