Commit Graph
165 Commits
Author SHA1 Message Date
Launchpad Translations on behalf of openerp f07dd78cd7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120705052152-4e2ybcdgf2xwp1jq
bzr revid: launchpad_translations_on_behalf_of_openerp-20120706053405-xlc0tvsdbekkt3z4
bzr revid: launchpad_translations_on_behalf_of_openerp-20120707055820-sgt2l83ehsmgbv3d
bzr revid: launchpad_translations_on_behalf_of_openerp-20120708050023-gv09bs0bgioj82c1
bzr revid: launchpad_translations_on_behalf_of_openerp-20120709050840-fbrxgz7a3i5ap61e
bzr revid: launchpad_translations_on_behalf_of_openerp-20120710055406-dijxw1z9pavgp58m
bzr revid: launchpad_translations_on_behalf_of_openerp-20120711053556-amqsa4zj89gqhfi0
bzr revid: launchpad_translations_on_behalf_of_openerp-20120712050837-drxffc3dhxw8q3hu
bzr revid: launchpad_translations_on_behalf_of_openerp-20120713051502-3vxyhdl0ziqmyspm
2012-07-13 05:15:02 +00:00
Olivier Dony 0cf4baa071 [FIX] mail: more reliable parsing of Date header to avoid rejecting emails
dateutil.parser.parse() was failing to parse the date on
some seemingly non-standard Date headers including trailing
extra TZ info, such as:
 "Thu, 28 Jun 2012 18:09:47 +0200 (GMT+02:00)"
RFC2822 seems to only mention the +XXXX offset format, but
apparently other formats are employed in the wild, such
as this one coming from the Zimbra webclient.
The fuzzy matching copes with that, and an extra try/except
block was added for good measure, with a fallback on the
current datetime, should the parsing still fail.

bzr revid: odo@openerp.com-20120702154106-mwdrd9bv9xvbde0s
2012-07-02 17:41:06 +02:00
Olivier Dony 4216edfd5f [FIX] mail: preserve timezone offset when extracting the Date of received mails
Previously the date was treated as UTC, ignoring
the specified timezone offset. As a result the
displayed date was off by the actual UTC offset
of the sender's timezone

bzr revid: odo@openerp.com-20120702093523-fttsemnl1irc7917
2012-07-02 11:35:23 +02:00
Olivier Dony 95e00367f5 [FIX] mail: avoid obscure failure when processing batches of emails with attachments
This issue was caused by the way browse_records are cached,
in combination with the deletion of messages just after sending
them. When processing a second message, the attachment.datas
function fields gets computed for all messages that are being
browsed, including the first message that was already deleted,
causing an exception. The value of the function field had 
already been computed for the first message, but had been
discarded by the message.refresh() call.
Hopefully this kind of issue will disappear once we implement
the new ORM API.

bzr revid: odo@openerp.com-20120622093123-wpk8ht454w7p2c1w
2012-06-22 11:31:23 +02:00
Launchpad Translations on behalf of openerp f9f231ea40 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120620051148-acbu5ob17n43l32y
2012-06-20 05:11:48 +00:00
Launchpad Translations on behalf of openerp f0cc26e0cb Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120529050544-li5kbmpzrn0scab0
bzr revid: launchpad_translations_on_behalf_of_openerp-20120526055455-49wjpktvpkh30xa0
bzr revid: launchpad_translations_on_behalf_of_openerp-20120527051537-41qj7xj0ffygvlbb
bzr revid: launchpad_translations_on_behalf_of_openerp-20120528055616-uvsyeu4p8mkd1uks
bzr revid: launchpad_translations_on_behalf_of_openerp-20120529050618-qu95r4yh76wtwf7h
2012-05-29 05:06:18 +00:00
Launchpad Translations on behalf of openerp 4b29287fe6 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120524213610-j2wbvffwj9b4umyl
bzr revid: launchpad_translations_on_behalf_of_openerp-20120525051642-ba0b5rk5vp9u837y
2012-05-25 05:16:42 +00:00
Launchpad Translations on behalf of openerp c316bf35b2 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120517060733-irte5hr1zinzs9dm
bzr revid: launchpad_translations_on_behalf_of_openerp-20120518050752-c541ssob6tv03ror
bzr revid: launchpad_translations_on_behalf_of_openerp-20120519055739-l40pybcuopc8g4oy
bzr revid: launchpad_translations_on_behalf_of_openerp-20120520051227-e053w8talp2e3sea
2012-05-20 05:12:27 +00:00
Olivier Dony f5d2953684 [FIX] document,mail: show only personal attachments by default
bzr revid: odo@openerp.com-20120516125301-qj3r95au12pf68qd
2012-05-16 14:53:01 +02:00
Launchpad Translations on behalf of openerp 5415104047 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120509052811-3ckx2dj7axd78bji
bzr revid: launchpad_translations_on_behalf_of_openerp-20120510060201-nf6n71idgy9gc54h
bzr revid: launchpad_translations_on_behalf_of_openerp-20120511060830-1298rgygadkgplz6
bzr revid: launchpad_translations_on_behalf_of_openerp-20120512062332-haemn1tjp51sah9g
bzr revid: launchpad_translations_on_behalf_of_openerp-20120513050406-1v3gqhdahmmsdrid
bzr revid: launchpad_translations_on_behalf_of_openerp-20120514052445-kbgm3wninmx2d2ce
bzr revid: launchpad_translations_on_behalf_of_openerp-20120515052656-hjqg6rq32robbe9t
bzr revid: launchpad_translations_on_behalf_of_openerp-20120516053432-tkga9q03j2wp5vdo
2012-05-16 05:34:32 +00:00
Launchpad Translations on behalf of openerp 90f82f4efe Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120501060320-9o6qbf3s0hv0hu03
bzr revid: launchpad_translations_on_behalf_of_openerp-20120502055758-9nvx0tz05mism33q
bzr revid: launchpad_translations_on_behalf_of_openerp-20120503055938-u6uqlhybmw3ruhz2
bzr revid: launchpad_translations_on_behalf_of_openerp-20120504052023-pjdfxtp54iwo0a92
2012-05-04 05:20:23 +00:00
Olivier Dony 610db7bcdb [FIX] mail.thread: fix SMTP headers when forwarding messages
mail.message.Message has case-insensitive behavior
for headers, but setting the header value *adds* a
new header even if the same header already exists.
This caused multiple issues when forwarding, because
the forwarded mail kept the original To: header.
Also changed the code to use capitalized header
names at all times, just for consistency.
Also removed unused variable ``mail_message``.

bzr revid: odo@openerp.com-20120427140427-3qfctfqzrsexgkac
2012-04-27 16:04:27 +02:00
Launchpad Translations on behalf of openerp d1ba5a6992 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120425052452-y2czu7i4v3j8zewa
2012-04-25 05:24:52 +00:00
Launchpad Translations on behalf of openerp 65f3a6e6c5 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120406051139-2tz21y776tazcrz1
bzr revid: launchpad_translations_on_behalf_of_openerp-20120407053832-w585ndy4mfdm6h8q
bzr revid: launchpad_translations_on_behalf_of_openerp-20120408052020-u2q7brjt49xg8s95
bzr revid: launchpad_translations_on_behalf_of_openerp-20120409051532-6wzekbi6jauv3jbb
bzr revid: launchpad_translations_on_behalf_of_openerp-20120410054922-064006m38bfjakcq
bzr revid: launchpad_translations_on_behalf_of_openerp-20120411050110-68a8mj5h3bv4lcyc
2012-04-11 05:01:10 +00:00
Launchpad Translations on behalf of openerp 85be0cf0a4 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120324054024-zsxud06u08w1ozt6
bzr revid: launchpad_translations_on_behalf_of_openerp-20120325061238-j9gdt4nxan15iwhj
bzr revid: launchpad_translations_on_behalf_of_openerp-20120327053703-etqni632km6p0ixs
2012-03-27 05:37:03 +00:00
Olivier Dony 2eb1c00ad2 [FIX] mail: default permissions should allow write for everyone
Mail messages are created in multiple steps that
usually involve calling write() at some point, so
giving all users write access is necessary.

bzr revid: odo@openerp.com-20120322110733-unizfb58f0y8xkfz
2012-03-22 12:07:33 +01:00
Raphael Collet b2b85029ee [FIX] backport of branch trunk-bug-937194-nco (mail: remove character 
 from message)
bzr revid: rco@openerp.com-20120320082059-w3zm7pyicbb79inh
2012-03-20 09:20:59 +01:00
Olivier Dony ce2f1173a9 [FIX] mail.message: allow reading msg even if author belongs to another company
lp bug: https://launchpad.net/bugs/944813 fixed

bzr revid: odo@openerp.com-20120319145331-thrtlzardl8rikkf
2012-03-19 15:53:31 +01:00
Olivier Dony c5f01ad903 [FIX] mail.message: when auto-deleting a message, only delete attachments it owns
There's a peculiar way to manage attachments on
mail messages, as there is an explicit many2many
on top of regular attachments like for any
record, so it is possible to link a mail
to attachments that are owned by other records.
Such attachments must not be deleted along with
the message when the auto-delete flag is set.

bzr revid: odo@openerp.com-20120316133026-4wbrwx64nqkeyaou
2012-03-16 14:30:26 +01:00
Launchpad Translations on behalf of openerp f6baede827 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120316052914-p5yapsv9ni1xvv4q
bzr revid: launchpad_translations_on_behalf_of_openerp-20120316053017-3pne9tockyriwj6n
2012-03-16 05:30:17 +00: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
Launchpad Translations on behalf of openerp fefba7d11e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120229052746-lhfn0qjqmzuqz1js
2012-02-29 05:27:46 +00:00
Launchpad Translations on behalf of openerp f210e73f21 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120225055251-o6ajm1k0ya17sd2j
bzr revid: launchpad_translations_on_behalf_of_openerp-20120226052201-liykx2ue4jufkcwc
bzr revid: launchpad_translations_on_behalf_of_openerp-20120227055617-7bb3evbppqedlx8p
bzr revid: launchpad_translations_on_behalf_of_openerp-20120228063037-0nhyn4iid36dorfs
2012-02-28 06:30:37 +00:00
Olivier Dony 7f44f6b710 [MERGE] mail: gracefully handle missing user signature
bzr revid: odo@openerp.com-20120222112555-5j7cqaimndmc2lew
2012-02-22 12:25:55 +01:00
Stephane Wirtel 9041add81d [FIX] mail: Use a default value if the signature and the subject are empty
bzr revid: stw@openerp.com-20120222095342-nifzjg0ilgd3ln0p
2012-02-22 10:53:42 +01:00
Launchpad Translations on behalf of openerp a3ac698fe8 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120218071328-fl3yjw2gawigfooh
bzr revid: launchpad_translations_on_behalf_of_openerp-20120219063344-7w5y8nkweukg0f88
bzr revid: launchpad_translations_on_behalf_of_openerp-20120220061321-0z254064e8vsx286
bzr revid: launchpad_translations_on_behalf_of_openerp-20120221063558-wc526qfv4ko5s6q0
bzr revid: launchpad_translations_on_behalf_of_openerp-20120221063603-medp0cjt2z5vy70x
2012-02-21 06:36:03 +00: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 16a8811930 [IMP] mail,email_template: improved views, assert missing email_from
- add missing colspans for notebooks
- remove some buttons from mail.message form view,
  namely because send button can cause record deletion
  possibly causing some weird UI result.. better used
  from the list view for now (web was fixed anyway)
- better domain on Message action, to ease debugging
- added assert for email_from in email_template.send_email()
  to catch errors earlier

bzr revid: odo@openerp.com-20120213143531-eiuhulo46bv059pl
2012-02-13 15:35:31 +01:00
Launchpad Translations on behalf of openerp 2aa2378015 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120211050953-f8t9zos3qjzmnj3t
bzr revid: launchpad_translations_on_behalf_of_openerp-20120212044319-nxuw0h7g5aqrqy4s
bzr revid: launchpad_translations_on_behalf_of_openerp-20120213045042-jyku2inv3wkcae91
2012-02-13 04:50:42 +00: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 705e3f6603 [I18N] Cleanup obsolete module directories created by LP translations + touch renamed POT files
Hopefully touching the renaming POT files should
trigger a refresh of the translation templates
in the online translation interface.

bzr revid: odo@openerp.com-20120209111328-kaa6tb8fd4mfpxyv
2012-02-09 12:13:28 +01:00
Carlos Vásquez 3afecc7604 [ADD] es_CR.po: added po to all modules, copy from es.po or from pot
bzr revid: carlos.vasquez@clearcorp.co.cr-20120208145917-aaai0irh68omlzmb
2012-02-08 08:59:17 -06:00
Olivier Dony 0a63ecb0cf [I18N] all: updated translation template
This should be the last major template sync
before the final release of 6.1.

bzr revid: odo@openerp.com-20120208010830-zchnkg48u7s40nw2
2012-02-08 02:08:30 +01:00
Vo Minh Thu ad4b6fcc21 [IMP] manifest: renamed active to auto_install.
bzr revid: vmt@openerp.com-20120130101837-zyebtyhfjypg2b4w
2012-01-30 11:18:37 +01:00
Raphael Collet 41863070c8 [MERGE] mail: fix res_id link when sending an email template
bzr revid: rco@openerp.com-20120126135547-995815mj21zw1jwn
2012-01-26 14:55:47 +01:00
tfr@openerp.com b83128ac09 [FIX] fix res_id link when sending an email template
bzr revid: tfr@openerp.com-20120120130347-fj4a8v3itlwjf2ai
2012-01-20 14:03:47 +01:00
Vo Minh Thu a3c18f3173 [IMP] tools.literal_eval -> ast.literal_eval (as we drop python 2.5 support).
bzr revid: vmt@openerp.com-20120118111855-he177la0butae3jr
2012-01-18 12:18:55 +01:00
Vo Minh Thu a0d18681ee [IMP] import: use openerp.addons.<module> instead of <module> with __import__.
bzr revid: vmt@openerp.com-20120109131205-6j78jiw4gxxod1s4
2012-01-09 14:12:05 +01:00
Fabien Pinckaers c501d79f8f [IMP] removed default search on email
bzr revid: fp@tinyerp.com-20111230163250-s063q5y7xzoz2c74
2011-12-30 17:32:50 +01:00
Olivier Dony aa362f2001 [FIX] mail: access rights: allow msg/thread creation for everyone
bzr revid: odo@openerp.com-20111223104157-nu21a7c61cp6su0e
2011-12-23 11:41:57 +01:00
Olivier Dony cb28f8de07 [I18N] all: update translation templates
bzr revid: odo@openerp.com-20111222185539-9gn06tu38ynoc416
2011-12-22 19:55:39 +01:00
Fabien Pinckaers f27318c8af [IMP] Security Rule: removed duplicates due to inheritancies of groups
bzr revid: fp@tinyerp.com-20111212181113-mhnnbps3ip8ls6pp
2011-12-12 19:11:13 +01:00
Fabien Pinckaers 81c1bf7fcb [IMP] better manifests for modules
bzr revid: fp@tinyerp.com-20111212142244-cm6e3um1adizu3kz
2011-12-12 15:22:44 +01:00
Antony Lesuisse c3bbd5c2d7 [MERGE] manual outlook plugin no binary yet
bzr revid: al@openerp.com-20111209142839-wffacq9r3ckjxi3s
2011-12-09 15:28:39 +01:00
Xavier Morel 250ac1289c [REM] mail communication history form views
bzr revid: xmo@openerp.com-20111207095324-godomjroxu8ycwfo
2011-12-07 10:53:24 +01:00
Fabien Pinckaers 4e0befa1f4 [IMP] better manifests on modules
bzr revid: fp@tinyerp.com-20111206120355-h5vufbibzovtvf0j
2011-12-06 13:03:55 +01:00
Xavier Morel c2b1f52026 [REM] form view in mail message o2ms
bzr revid: xmo@openerp.com-20111205140257-1h0dnuly3tqdqsnb
2011-12-05 15:02:57 +01:00
Raphael Collet ae9c126ab5 [FIX] mail: wrong passing of parameter context
bzr revid: rco@openerp.com-20111201151423-dmh2539fnc31q0zh
2011-12-01 16:14:23 +01:00
Vo Minh Thu 2e1023ddbe [IMP] domain to context:
Use explicitely default_xxx in the context instead of
relying on the domain to fill form views.

bzr revid: vmt@openerp.com-20111124121433-z5du2yeu319ea1ax
2011-11-24 13:14:33 +01:00
Olivier Dony ec9f0d49a8 [MERGE] sync w/ latest trunk
bzr revid: odo@openerp.com-20111116134336-ig6681v2cw6xfb6h
2011-11-16 14:43:36 +01:00