Commit Graph

67404 Commits

Author SHA1 Message Date
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
Thibault Delavallée da4dc767c4 [MERGE] Various fixes and improvements in mail.
IMP:
- mail.compose.message: added a context key 'mail_post_autofollow' that automatically subscribe the message recipients to the document followers, if any
- sale, purchase, invoice: recipients of 'Send by email' action are now automatically added as followers, using the above key
- mail: the Chatter widget on documents now sets the displayed messages as read
- mail: for incoming emails going through message_process that have an author, the author is added in the related document followers, if any
FIX:
- mail: attachments added in Chatter/Mailboxes were not added to the notifications emails send to followers/recipients
- portal: fixed various mail_mail created without specifying the type field, that could crash if a conflicting 'default_type' key was present in context (i.e. in opportunities)

bzr revid: tde@openerp.com-20121221131108-jx9jkeukjamnd3yh
2012-12-21 14:11:08 +01:00
Christophe Matthieu 7602c4f6d7 [MERGE] fix for mail: catch exeption if the message body is not converted by html_email_clean. return an error message for rendering and raise the exception
bzr revid: chm@openerp.com-20121221125847-rjxyey9veasgr23a
2012-12-21 13:58:47 +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
vta vta@openerp.com 149e5b3da5 [FIX] portal_hr_employees ACL
bzr revid: vta@openerp.com-20121221124840-og5945c111b3vons
2012-12-21 13:48:40 +01:00
Thibault Delavallée 1946a20fd0 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121221124034-jq5y2gdu0mo1bk4q
2012-12-21 13:40:34 +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
olt@tinyerp.com a9999ddaba [FIX] revert (needs testing)
bzr revid: olt@tinyerp.com-20121221121753-tenexccn5wzr862u
2012-12-21 13:17:53 +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
Thibault Delavallée b4e1e32f0a [FIX] portal: fixed various mail_mail records created without specifying the 'type' field; however this may conflict with the context holdign default_type (i.e. opportunity), leading to type values not in the selection field.
bzr revid: tde@openerp.com-20121221115315-qni401mszwrkpvmj
2012-12-21 12:53:15 +01:00
olt@tinyerp.com 18cdeb2f0b [FIX] project_issue: state is 'cancel' not 'cancelled' (fixed the yaml tests too)
bzr revid: olt@tinyerp.com-20121221114618-igc5g6n1pwxhf96b
2012-12-21 12:46:18 +01:00
Thibault Delavallée 19efa31b51 [FIX] mail: attachments were not send by email.
bzr revid: tde@openerp.com-20121221113927-4q90f0in645gorj9
2012-12-21 12:39:27 +01:00
Olivier Dony 407e6e66e6 [FIX] English review: improve view selector tooltips + make translatable
bzr revid: odo@openerp.com-20121221113657-omenasuur2bqj7qy
2012-12-21 12:36:57 +01:00
Arnaud Pineux 554a712ec3 [MERGE] with l10n_lu improvement. Courtesy of Xavier ALT
bzr revid: api@openerp.com-20121221112008-0aj0w2nqsp2tz63y
2012-12-21 12:20:08 +01:00
Thibault Delavallée e6a63fea3a [FIX] mail: tests: fixed mock of gateway.
bzr revid: tde@openerp.com-20121221111755-63q6w4pkvkx0lvcf
2012-12-21 12:17:55 +01:00
olt@tinyerp.com cf2f37c55d [FIX] project_issue: state is 'cancel' not 'cancelled'
bzr revid: olt@tinyerp.com-20121221111442-9kqt89cdx38fnl7n
2012-12-21 12:14:42 +01:00
Cedric Snauwaert d59921a134 [MERGE]l10n_si : slovenian chart of account courtesy of Mentis d.o.o
bzr revid: csn@openerp.com-20121221110425-xfd0vkurig2wlh7i
2012-12-21 12:04:25 +01:00
Arnaud Pineux 6e0b9dfc56 [MERGE] with trunk
bzr revid: api@openerp.com-20121221103900-xibyjqf4w3ur9rzz
2012-12-21 11:39:00 +01:00
Arnaud Pineux b9fc740efb [IMP] lunch search view improved to search on user too
bzr revid: api@openerp.com-20121221103503-w9fzbl4ro0f7qap4
2012-12-21 11:35:03 +01:00
Olivier Dony b89261ef3b [FIX] l10n_ch: typo in last merge
bzr revid: odo@openerp.com-20121221103242-7tavx2vd2hq6iu6w
2012-12-21 11:32:42 +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
olt@tinyerp.com 05debf9519 [FIX] anonymization: don't execute query on non existing tables
bzr revid: olt@tinyerp.com-20121221102534-e5hc07d2qq8qqith
2012-12-21 11:25:34 +01:00
Cedric Snauwaert 448e7546f5 [MERGE]l10n_si : slovenian chart of account courtesy of Mentis d.o.o
bzr revid: csn@openerp.com-20121221102016-cizzcjjt8ht9ah6h
2012-12-21 11:20:16 +01:00
Thibault Delavallée f49f43958d [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121221100609-2x59amtxj4sjedcu
2012-12-21 11:06:09 +01:00
Thibault Delavallée c88008856e [IMP] message_process: author of incoming emails that are partner are automatically subscribed to the created or updated document.
bzr revid: tde@openerp.com-20121221100352-eraewn17t2ls831q
2012-12-21 11:03:52 +01:00
Xavier ALT 6f0f58562d [MERGE] sync with latest trunk @2012-12-21
bzr revid: xal@openerp.com-20121221100330-b0aw0q6txzbq9t0g
2012-12-21 11:03:30 +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
Thibault Delavallée b37450ba49 [IMP] sale, purchase, invoice: automatically subscibe recipints of Send by email as document followers.
bzr revid: tde@openerp.com-20121221095902-k2xk928po48cogdm
2012-12-21 10:59:02 +01:00
Quentin (OpenERP) 118316430a [FIX] account_voucher; when making a payment directly from an invoice, copy the invoice description as payment reference (instead of number, which should never be filled except by the voucher validation) + open a correct view with improved usability on partner_id field
bzr revid: qdp-launchpad@openerp.com-20121221095844-5029t8z6twv67dsc
2012-12-21 10:58:44 +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
Arnaud Pineux 1dbea4a07a [IMP] lunch onchange on the product price to refresh the view
bzr revid: api@openerp.com-20121221085323-7b2hgqngtxe550a1
2012-12-21 09:53:23 +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 0f62de1b2f [FIX] Fixed commit about adding create_missing parameter: wrong var name.
bzr revid: tde@openerp.com-20121220211221-fksj045ds3slrjvx
2012-12-20 22:12:21 +01:00
Thibault Delavallée e97dc0ffd4 [IMP] mail.js: improved display of destination partners of a message.
bzr revid: tde@openerp.com-20121220211103-5zjb6xclllgcyr8f
2012-12-20 22:11:03 +01:00
Thibault Delavallée de64985e8c [IMP] mail_message: set_message_read and set_message_starred now have an argument to control the automatic notification creation. Chatter now calls set_message_read on received messages (on documents), to set them as read. This is therefore done independently of the message_read, to avoid writing in a read-based method. Added a mutex on the call on set_message_read, because of a recurrent concurrent accesses issue.
bzr revid: tde@openerp.com-20121220205328-gws2j32dsitofu89
2012-12-20 21:53:28 +01: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
dle@openerp.com 1f4338252d [FIX]CODA bank statement view priority
bzr revid: dle@openerp.com-20121220200609-h5p4q5ftrkzgemlh
2012-12-20 21:06:09 +01:00
Olivier Dony d8a76cacea [MERGE] Refactoring of l10n_ch due to the adoption of new payment standard in 2013/2014 only chart of account stays all other function are split and extracted in swiss localization project on launchpad, courtesy of Nicolas Bessi (Camptocamp)
bzr revid: odo@openerp.com-20121220184736-qxf9g8hhgdbyhh49
2012-12-20 19:47:36 +01:00
dle@openerp.com 84e2b28108 [MERGE]Latest trunk
bzr revid: dle@openerp.com-20121220184553-rtm9y36uziy2gqld
2012-12-20 19:45:53 +01:00
dle@openerp.com e437a04cf0 [FIX]Missing views in action returned after import coda
bzr revid: dle@openerp.com-20121220184357-jwlnws3wwvyqqr24
2012-12-20 19:43:57 +01:00
Olivier Dony c6d5e46678 [FIX] l10n_ch: use 7.0-style way to trigger the CoA installation wizard
bzr revid: odo@openerp.com-20121220184341-sar3dqmgsp3nk37z
2012-12-20 19:43:41 +01:00
Fabien Pinckaers 0abda02684 [UNCOMMIT] uncommit kanban fixed width as it's broken with a lot of column
bzr revid: fp@tinyerp.com-20121220183942-wug9abfwdzbl8c9n
2012-12-20 19:39:42 +01:00
Fabien Pinckaers a109f7dc77 [IMP] min-width for many2many tags in editable lists
bzr revid: fp@tinyerp.com-20121220183756-x6h3lhpkco25flik
2012-12-20 19:37:56 +01:00
Olivier Dony f4345fb6d0 [FIX] l10n_ch: proper use of XML ID to identify a module data record
bzr revid: odo@openerp.com-20121220182928-hyh1ew0t320c8tjf
2012-12-20 19:29:28 +01:00
Olivier Dony d0934da481 [FIX] mail.message: all recipients explicitly mentioned should receive a notification, including the author
The above revision(s) will be removed.

bzr revid: odo@openerp.com-20121220182004-460168pd9rofbpgw
2012-12-20 19:20:04 +01:00
Olivier Dony 240f13b57b [MERGE] Refactoring of l10n_ch due to the adoption of new payment standard in 2013/2014 only chart of account stays all other function are split and extracted in swiss localization project on launchpad, courtesy of Nicolas Bessi (Camptocamp)
bzr revid: odo@openerp.com-20121220181825-bv60z0qy67a5ri5g
2012-12-20 19:18:25 +01:00