Commit Graph

43507 Commits

Author SHA1 Message Date
Olivier Dony 4238bc991e [FIX] openerp-server: allow missing thread names in dump_stacks
Report-printing threads don't seem to be included
in the list of active threads, but do need to
be dumped as well.

bzr revid: odo@openerp.com-20120315181355-phtkn2uhy638ei1e
2012-03-15 19:13:55 +01:00
Olivier Dony 975667d190 [FIX] sale,sale_layout: avoid RML loop when printing SO with very long notes
Forward port of revision 5001 from the
6.0 branch. Apparently very long SO
notes (above 2200 characters) will cause
an endless loop while trying to render
inside a blockTable

bzr revid: odo@openerp.com-20120315181112-qa4ezlckzfycv5uy
2012-03-15 19:11:12 +01:00
Olivier Dony 3e0279ac4a [FIX] email_template: attachments were not being sent due to programming error
bzr revid: odo@openerp.com-20120315155512-s76y2u3gz3awfy74
2012-03-15 16:55:12 +01:00
Launchpad Translations on behalf of openerp 0284caa8f0 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120315051848-7bpke64obtjd3h06
2012-03-15 05:18:48 +00: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
Olivier Dony 601da46064 [FIX] manifest flag 'active' was renamed to 'auto_install' a while ago
The change occurred in server at revision 3989
and in addons at revision 6451, but had never
been done in openerp-web.
One indirect consequence was that the 'base'
modules was not considered auto-installable
anymore and its CSS files were not loaded on
web, causing layout issues, namely in the
modules kanban view.

Server rev 3989 = al@openerp.com-20120130211001-ytqx759fl920uegc
Addons rev 6451 = al@openerp.com-20120130211812-w0wu42hdu4l7koc4

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

bzr revid: odo@openerp.com-20120314181853-kzr6lgqxxcz7rreu
2012-03-14 19:18:53 +01:00
Olivier Dony 6a38a66d50 [FIX] BufferedDataSet: avoid randomizing results when there are no sort_fields
Array.sort is not necessarily stable, and sorting an
array with an unstable sort will cause a randomization
of the original order, which should have been preserved.

See also:
  - http://ecma262-5.com/ELS5_Section_15.htm#Section_15.4.4.11
  - http://code.google.com/p/v8/issues/detail?id=90

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

bzr revid: odo@openerp.com-20120314111014-1igxhrynu5557di5
2012-03-14 12:10:14 +01:00
Launchpad Translations on behalf of openerp 57b2b97308 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120310052736-h7pcyns8m0yapx2r
bzr revid: launchpad_translations_on_behalf_of_openerp-20120311050705-4g6qxsmwzmefmekl
bzr revid: launchpad_translations_on_behalf_of_openerp-20120313053506-zeuvhbd8ml1rhmy8
bzr revid: launchpad_translations_on_behalf_of_openerp-20120314054433-q7eqdv6c3ise2wv1
2012-03-14 05:44:33 +00:00
Olivier Dony 5492dbe760 [FIX] project_issue: global CC fields contains email(s), not a URL
bzr revid: odo@openerp.com-20120312112931-3oeretod35lsgmug
2012-03-12 12:29:31 +01:00
Launchpad Translations on behalf of openerp 1ec19d6641 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120314054427-vp8js9o3lw1h7ds6
2012-03-14 05:44:27 +00:00
Quentin (OpenERP) f237e56790 [FIX] account: qucik and dirty fix on the common wizard of reports to set the company_id by default in order to avoid having the name_search of fiscalyear processed before it is correctly set by the onchange of default value of chart account id. This bug is due to asynchronous calls of web client and will be solved asap, but in the meanwhile this little hack will localy solve the problem.
bzr revid: qdp-launchpad@openerp.com-20120313125119-0to4xin6rb8mb75o
2012-03-13 13:51:19 +01:00
Launchpad Translations on behalf of openerp 98a6a99173 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120313053503-xvlvyuystb8tvif8
2012-03-13 05:35:03 +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
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
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
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
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
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
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
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
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
Fabien Meghazi 34b03bd24d [FIX] Can't add to dashboard a view that includes a 'group_by'
lp bug: https://launchpad.net/bugs/948097 fixed

bzr revid: fme@openerp.com-20120306205955-zqgtbgtz1gtix4w9
2012-03-06 21:59:55 +01:00
Olivier Dony 0093da0d5b [FIX] tools.email_send: use updated ir.mail_server API
bzr revid: odo@openerp.com-20120306174110-0a7sa0z9fsn07l2n
2012-03-06 18:41:10 +01: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