Commit Graph

67493 Commits

Author SHA1 Message Date
Thibault Delavallée 6e8d8a0863 [MPERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121221160130-x07kk2mscu5zo3ta
2012-12-21 17:01:30 +01:00
Thibault Delavallée f9763f5d05 [IMP] mail.js, xml: misc cleaning. I hate JS.
bzr revid: tde@openerp.com-20121221153007-5o220hdqg9sbt3f3
2012-12-21 16:30:07 +01:00
Thibault Delavallée d28418f6e4 [FIX] message_post_user_api: fixed subscribe.
bzr revid: tde@openerp.com-20121221152956-h400n3w8hgxleumm
2012-12-21 16:29:56 +01:00
Raphael Collet cfd2267460 [MERGE] trunk-base-action-rule-api (improve definition and implementation of action rules)
- implementation is more generic and cleaner;
- date trigger can now use any date/datetime field
- conditions before and after an update are specified as ir.filter

bzr revid: rco@openerp.com-20121221145414-34s9lz6df0wn0dy5
2012-12-21 15:54:14 +01:00
Thibault Delavallée 1ab87ddd67 [CLEAN] Misc code cleaning.
bzr revid: tde@openerp.com-20121221145247-qqd1a1morv99ooow
2012-12-21 15:52:47 +01:00
Raphael Collet 1671b9e03a [IMP] base_action_rule: form view improvement
bzr revid: rco@openerp.com-20121221144934-erkp8md6kq14070a
2012-12-21 15:49:34 +01:00
Thibault Delavallée f922d9ea1f [IMP] mail: refactored a bit the code in message_post_user_api, as well as overrides in res_partner and res_users, to use kwargs. Updated mail.js to use kwargs. Updated mail.xml and css to tweak the display.
bzr revid: tde@openerp.com-20121221144014-otg03akq4c9grjmz
2012-12-21 15:40:14 +01:00
Raphael Collet 1eea63fc92 [IMP] base_action_rule: form view improvement
bzr revid: rco@openerp.com-20121221143404-wl0khu9mnykjo3nc
2012-12-21 15:34:04 +01:00
Antony Lesuisse 603b12edbd packaging win32
bzr revid: al@openerp.com-20121221142402-zfrwws823zl9wzuc
2012-12-21 15:24:02 +01:00
Raphael Collet 6502ec2af8 [IMP] base_action_rule: typo
bzr revid: rco@openerp.com-20121221142333-ml6saych44rl99ok
2012-12-21 15:23:33 +01:00
Raphael Collet 0cd5dc1195 [IMP] base_action_rule: put the 'loop avoidance' code together
bzr revid: rco@openerp.com-20121221142220-c5wjr9m4suq3jfdm
2012-12-21 15:22:20 +01:00
Christophe Matthieu fdfe8e04f8 [MERGE] fix view_form: m2m_tags: Overwrite onSetInputData to reset suggestions if input is empty for the last selection don't stay persistent.
bzr revid: chm@openerp.com-20121221140236-sbnsh0m6laqnxegd
2012-12-21 15:02:36 +01:00
Raphael Collet a7cb22562f [MERGE] from trunk
bzr revid: rco@openerp.com-20121221134810-t6z5bqi5ej6qflvq
2012-12-21 14:48:10 +01:00
Thibault Delavallée 63d993e45d [CLEAN] invite wizard: removed unused method onchange_partner_ids. Cleaned a bit code in invite_view.
bzr revid: tde@openerp.com-20121221133928-lytc76vbs0bdnhuz
2012-12-21 14:39:28 +01:00
Thibault Delavallée 839d61f97f [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121221133349-u2lpl29430abrkyw
2012-12-21 14:33:49 +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
Quentin (OpenERP) e9f9e1191c [FIX] account_voucher: bug fixed in the supplier partial payment. There is no need to take care of the sign as the residual amount of account.move.line is already taking care of it
bzr revid: qdp-launchpad@openerp.com-20121221130302-23v55ygcqekdlywi
2012-12-21 14:03:02 +01:00
Christophe Matthieu 558fcc4471 [MERGE] FIX etherpad:When: a user access to the edit mode from a kanban view or list view, etherpad is dipslay on readonly mode but with the oe_editing class.
bzr revid: chm@openerp.com-20121221134227-1nbb922oz37ibjw5
2012-12-21 14:42:27 +01:00
Olivier Dony f3a71a1dc3 [MERGE] base: improved english wording, suggestions courtesy of OpenERP Community
bzr revid: odo@openerp.com-20121221133859-nvpyq07sb3r55yc1
2012-12-21 14:38:59 +01:00
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
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
Christophe Matthieu d650d3c6ba [MERGE] from trunk
bzr revid: chm@openerp.com-20121221124830-8d6hz0b2h3o9c4pd
2012-12-21 13:48:30 +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
Christophe Matthieu 8972f7b334 [IMP] mail: check if the new email recipient already exist or not, and fix _api
bzr revid: chm@openerp.com-20121221121144-o8pbya2rc7v471y0
2012-12-21 13:11:44 +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
Raphael Collet 375a5820ae [MERGE] lp:~c2c/openobject-addons/trunk-trg_dates-base_action-rule-20120510
replace the field 'trg_date_type' by a many2one field to ir.model.fields

bzr revid: rco@openerp.com-20121221113957-gd1c80h4vszg1h4g
2012-12-21 12:39:57 +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
Christophe Matthieu 2b8374f5ea [IMP] mail: css for recipient on compose message
bzr revid: chm@openerp.com-20121221112307-0hj05yw1nn3l3ux9
2012-12-21 12:23:07 +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
Christophe Matthieu f080e91168 [IMP] mail: add message 'Add this contact's email on recipient and follower'
bzr revid: chm@openerp.com-20121221111400-ngc62hepbgzqepy8
2012-12-21 12:14:00 +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
Christophe Matthieu 9fe900791d [IMP] follower: must have access write to invite follower
bzr revid: chm@openerp.com-20121221110003-h7h9cie4vcejif7z
2012-12-21 12:00:03 +01:00
Raphael Collet a7ef28fd94 [IMP] base_action_rule: make code more robust
bzr revid: rco@openerp.com-20121221105436-3t553dlzdvjb5hfe
2012-12-21 11:54:36 +01:00
Arnaud Pineux 6e0b9dfc56 [MERGE] with trunk
bzr revid: api@openerp.com-20121221103900-xibyjqf4w3ur9rzz
2012-12-21 11:39:00 +01:00
Raphael Collet d17d474fc7 [IMP] base_action_rule: remove unused import
bzr revid: rco@openerp.com-20121221103812-u6ejn5rifw2ctjsx
2012-12-21 11:38:12 +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
Raphael Collet 306267ef55 [IMP] base_action_rule: improve field labels
bzr revid: rco@openerp.com-20121221103233-lllh3c5f1azuffc7
2012-12-21 11:32:33 +01:00
Raphael Collet fed5651f1c [IMP] base_action_rule: small code improvement
bzr revid: rco@openerp.com-20121221103003-tl689nm2ser3u001
2012-12-21 11:30:03 +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