Commit Graph

75736 Commits

Author SHA1 Message Date
Denis Ledoux a1eb7fffc2 [FIX]note: notes with undefined stages did not appear if the user had defined stages (they appeared if the user had no stages defined)
bzr revid: dle@openerp.com-20131127151815-gzk9py9wtzmndziw
2013-11-27 16:18:15 +01:00
Christophe Simonis 7c9fd1f2dd [FIX] base_calendar: do not use deprecated field `organizer`
bzr revid: chs@openerp.com-20131127145540-t8uxk5cpx9d8utm8
2013-11-27 15:55:40 +01:00
Thibault Delavallée e41b62f2e2 [MERGE] [IMP] [REV] crm, addons: still stage/state tweaking
- crm: Mark Won / Lost buttons are back
- crm: now using the new 'fold_field' option to fold some stages on the fold
field of stages. Back to saas-1 bebavhior.
- project, project_issue: task and issue also use the fold_field option.
- project: fixed 'X Tasks' display on the project vignette: now always displaying
'X Tasks at plural form to simplify the view

bzr revid: tde@openerp.com-20131129095045-nij3okz6plauhfbl
2013-11-29 10:50:45 +01:00
Thibault Delavallée b6bb8a007f [IMP] form_view: statusbar widget: folded back as an option.
The widget option 'fold_field' allows to tell the widget to use this field on
the model used for stages to compute the folded selection.

If not set, no stage is folded.

bzr revid: tde@openerp.com-20131129094811-j4f0q1sjudrz715s
2013-11-29 10:48:11 +01:00
Thibault Delavallée f0bf946b12 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20131129094610-qlrd1h502szo0b61
2013-11-29 10:46:10 +01:00
Martin Trigaux 866a7c92b6 [FIX] account: Set the alignment of Total parallel to amount in invoice report
bzr revid: mat@openerp.com-20131127145145-qr48qhkvcw02e9ww
2013-11-27 15:51:45 +01:00
Denis Ledoux 274b9c9503 [FIX]google_drive: using res.users has_group method to know if the user is admin, instead of reading groups_id of the user (and, also, fixed the read call with a string instead of an array for the fields to read)
bzr revid: dle@openerp.com-20131127142049-v9sr5ldc9g4cct98
2013-11-27 15:20:49 +01:00
Denis Ledoux 0ecdb5dec7 [FIX]google_spreadsheet: if formula contained html special chars, the formula was not written on the spreadsheet. The formula is now html escaped before sending the writting request on the spreadsheet.
bzr revid: dle@openerp.com-20131127133500-18vra6sqs6cb3loh
2013-11-27 14:35:00 +01:00
Martin Trigaux 7c1bf0dd29 [FIX] mail: decode filename at email reception (if non-ascii characters) (opw 591729)
bzr revid: mat@openerp.com-20131127124021-bliapaggdjd1xnuz
2013-11-27 13:40:21 +01:00
Christophe Simonis 0521d1aab3 [MERGE] forward port of branch saas-2 up to revid 9017 chs@openerp.com-20131127110552-3u2nxwu01gxj9i7m
bzr revid: chs@openerp.com-20131127111208-iclt7a9ib7oucumh
2013-11-27 12:12:08 +01:00
Christophe Simonis 0d13df5a57 [MERGE] remove warnings
bzr revid: chs@openerp.com-20131127110552-3u2nxwu01gxj9i7m
2013-11-27 12:05:52 +01:00
Christophe Simonis 6b05beecc1 [MERGE] forward port of branch 7.0 up to revid 9651 chs@openerp.com-20131127104459-jb77x7quwcvtifm7
bzr revid: dle@openerp.com-20131126171210-jovr7e7efehuq3s2
bzr revid: chs@openerp.com-20131127110046-4ow36dkuuyzgf1pl
2013-11-27 12:00:46 +01:00
Christophe Simonis 657222ea11 [MERGE] forward port of branch 7.0 up to revid 5151 launchpad_translations_on_behalf_of_openerp-20131127053913-ypnlpggd4wt58pzx
bzr revid: chs@openerp.com-20131127105828-ng8z4by1tszmj9d2
2013-11-27 11:58:28 +01:00
Christophe Simonis 370b4df6f3 [MERGE] {purchase,purchase_requisition}: choose the right warehouse when creating purchase orders from purchase order/requisition
bzr revid: chs@openerp.com-20131127104459-jb77x7quwcvtifm7
2013-11-27 11:44:59 +01:00
Thibault Delavallée a8beece158 [IMP] [REV] crm, addons: still stage/state tweaking
- crm: Mark Won / Lost buttons are back
- crm: now using the new 'fold_field' option to fold some stages on the fold
field of stages. Back to saas-1 bebavhior.
- project, project_issue: task and issue also use the fold_field option.
- project: fixed 'X Tasks' display on the project vignette: now always displaying
'X Tasks at plural form to simplify the view.

bzr revid: tde@openerp.com-20131127095300-9onzlt5pl9u82zt6
2013-11-27 10:53:00 +01:00
Thibault Delavallée 727b188eac [IMP] form_view: statusbar widget: folded back as an option.
The widget option 'fold_field' allows to tell the widget to use this field on
the model used for stages to compute the folded selection.

If not set, no stage is folded.

bzr revid: tde@openerp.com-20131127095037-me1cvl272ex1e6r9
2013-11-27 10:50:37 +01:00
Quentin (OpenERP) 7c0c95b1a4 [FIX] sale, purchase: don't copy the customer/supplier reference when copying a SO/PO
bzr revid: qdp-launchpad@openerp.com-20131127084625-dqgoloz4q47zlpti
2013-11-27 09:46:25 +01:00
Launchpad Translations on behalf of openerp 354afeb8b5 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131127043735-yp016yh8n07kzusm
2013-11-27 04:37:35 +00:00
Christophe Simonis 6347f9f4ea [IMP] orm: copy() does not copy deprecated fields
bzr revid: chs@openerp.com-20131126185210-8kd5stdexa4ozn2m
2013-11-26 19:52:10 +01:00
Christophe Simonis 49fa5cab61 [FIX] purchase_requisition: copy method _get_warehouse from purchase module to avoid crash if purchase_requisition is updated but not purchase
bzr revid: chs@openerp.com-20131126180726-ng0gue9pedmuykj9
2013-11-26 19:07:26 +01:00
Thibault Delavallée ae7fcfb564 [IMP] [FIX] mail: mail_thread :
- avoid having to browse the record in message_subscribe: refactored message_subscribe
to work on ids without browsing, try to lessen the number of queries to do
- update _set_followers, method of the function field message_follower_ids, to use
message_subscribe and message_unsibscribe
- in create: add author as follower in creation values, not after create, allowing
create access rules based on followers
- updated message_unsubscribe to be the lower method, not calling _set_followers anymore

bzr revid: tde@openerp.com-20131126171752-1irizm7mhv2y1wrn
2013-11-26 18:17:52 +01:00
Quentin (OpenERP) 34832b4694 [FIX] purchase: at the validation of the PO, force the company in the context as the company on the PO in order to read property fields correctly. This patch is necessary to allow a user to confirm a PO belonging to another company (if he has the rights to do so).
bzr revid: qdp-launchpad@openerp.com-20131126170505-ttzuiaujpl1k24rg
2013-11-26 18:05:05 +01:00
Launchpad Translations on behalf of openerp 6fd5575930 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131127053957-ekc1bfm5ohug21aa
2013-11-27 05:39:57 +00:00
Denis Ledoux d003d8f49a [FIX]hr_timesheet_sheet: add right-padding to timesheet weekly input in order to avoid the value to be partially cut (in ie 9/10, for instance)
bzr revid: dle@openerp.com-20131126170019-bydxxyk7uqzpsb41
2013-11-26 18:00:19 +01:00
Denis Ledoux bbd8f7bb98 [FIX]remove deprecated (& useless) code, overwritting the base.action_res_users (The Configuration > Users window action) context, and prevented the 'Regular Users' filter from share module to be loaded by default
bzr revid: dle@openerp.com-20131126162756-lljq08wrmymwxlzs
2013-11-26 17:27:56 +01:00
Christophe Simonis 1e2cf5c245 [FIX] auth_signup: do not send set_password email at user signup
bzr revid: chs@openerp.com-20131126161658-9yvocjcrvbvqc51l
2013-11-26 17:16:58 +01:00
Christophe Simonis b1b787545b [FIX] purchase_requisition: choose the right warehouse when creating purchase requisitions from procurement orders + allow to work in batch.
bzr revid: chs@openerp.com-20131126135254-96l4xk9q4fd0iwpu
2013-11-26 14:52:54 +01:00
Christophe Simonis b81c3897ee [FIX] purchase: choose the right warehouse when creating purchase orders from procurement orders
bzr revid: chs@openerp.com-20131126135026-echb4fq37229g637
2013-11-26 14:50:26 +01:00
Christophe Simonis 465d83e880 [FIX] procurement: procurement orders does not have a `warehouse_id` field
bzr revid: chs@openerp.com-20131126134952-cotbhc8s60zj44ts
2013-11-26 14:49:52 +01:00
Thibault Delavallée a6ae52affa [FIX] mail_followers widget: fixed a traceback appearing
when quickly changing the displayed record in a form view when the
followers widget is displayed. This was due to variables not correctly
set because of a concurrence issue.
However there is no need to hse this.view.datarecord or dataset as
the function already receives its id as argument.

bzr revid: tde@openerp.com-20131126124630-2m5wjwr008ys1e9e
2013-11-26 13:46:30 +01:00
Turkesh Patel (Open ERP) 3b6aa6a369 [MRG] merge with lp:openerp-web
bzr revid: tpa@tinyerp.com-20131030052009-1x3ew8xckxzp1evq
bzr revid: tpa@tinyerp.com-20131115105319-tm0zp1jse6pry57o
bzr revid: tpa@tinyerp.com-20131126124131-g4stoj8uwbxk6d45
2013-11-26 18:11:31 +05:30
Thibault Delavallée 4468d52283 [DOC] mail: cleaned a comment
bzr revid: tde@openerp.com-20131126121649-nywrh4hc1mcpwleh
2013-11-26 13:16:49 +01:00
Thibault Delavallée f2c23488c3 [FIX] email_template: fixing to have the correct report suppose to correctly fix. So, fix the fix to fix it
bzr revid: tde@openerp.com-20131126120843-gt8vdhl3yn61vd8r
2013-11-26 13:08:43 +01:00
Thibault Delavallée 974675bcbf [FIX] mail: attachments encoding issue: posting process
waits not encoded attachments: email_template encodes them. So de-encoding
is necessary.

bzr revid: tde@openerp.com-20131126120336-5lcp9ii7z9lru5vr
2013-11-26 13:03:36 +01:00
Christophe Simonis 6e574a8e4d [IMP] res.users: avoid reading all fields explictly when computing reified groups
bzr revid: chs@openerp.com-20131126111228-cjnp11nc6l383q5r
2013-11-26 12:12:28 +01:00
Thibault Delavallée cf214ed724 [FIX] mail: when generating pure email mass mailing
we have to process attachments as well as attachment_ids in the values generated
by the composer and the optional template.
As this behavior is the same as the one already implemented for message_post, this
feature has been moved into its dedicated method to be called by message_post
or before calling mail_mail.create().
This also allows to have attachments in pure email mass mailing that are attached
to mail.message, not to mail.compose.message model. When unlinking those emails,
the attachments will be also removed, and not lost in the database anymore.

bzr revid: tde@openerp.com-20131126110942-h8p0d9sbjtk0hwlu
2013-11-26 12:09:42 +01:00
Thibault Delavallée 6f322004cc [FIX] email_template: when generating reports
in batch, update the values for all res_ids, not only the
last one of the current template.

bzr revid: tde@openerp.com-20131126110742-aecac7r0zyappo0a
2013-11-26 12:07:42 +01:00
Thibault Delavallée 41ca7536e0 [FIX] mail: when performing pure email mass mailing
attachments were not formatted as a m2m command but a list
of ids. This is now fixed.

bzr revid: tde@openerp.com-20131126095632-txuy00xc1cmqjqcn
2013-11-26 10:56:32 +01:00
Turkesh Patel (Open ERP) a68dbfe286 [RMV] remove all currecny related stuff as per the comments of fp sir.
bzr revid: tpa@tinyerp.com-20131126064238-odztahk0kofak3vh
2013-11-26 12:12:38 +05:30
Launchpad Translations on behalf of openerp d95ef220d5 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131126060746-ta374lckemq8t257
2013-11-26 06:07:46 +00:00
Turkesh Patel (Open ERP) b08503e373 [MRG] merge with lp:openobject-addons
bzr revid: tpa@tinyerp.com-20131126052924-xn4qn67lehe6x2pj
2013-11-26 10:59:24 +05:30
Christophe Simonis 63601c6650 [FIX] html_sanitize does not raise exception for empty string anymore. correct related test
bzr revid: chs@openerp.com-20131125174956-1y13zszzf9h2pkl6
2013-11-25 18:49:56 +01:00
Christophe Simonis 28581cc734 [MERGE] manual forward port of changes made in http dispatching in saas-2 branch since last web revid 3865 dle@openerp.com-20131023113414-mlwppd4d7vyh1tyj
bzr revid: chs@openerp.com-20131125165804-0d25q1vn5z0y9nv8
2013-11-25 17:58:04 +01:00
Thibault Delavallée 4be6ac800b [FIX] mail: in some cases tracking is called
without the context (some workflows for example). In that case use the
current user lang when generating the automatic message. This is done
by adding it in the context if not present.

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

bzr revid: tde@openerp.com-20131125163808-bbbqwvx22my38zdj
2013-11-25 17:38:08 +01:00
Martin Trigaux d547acbc4b [MERGE] [BACKPORT] backport from saas-2 (r4976): ir.model: during garbage collection of obsolete records in _process_end, do it in anti-chronological order
bzr revid: mat@openerp.com-20131125162013-z6dhe8eigq7pig0x
2013-11-25 17:20:13 +01:00
Denis Ledoux 7baee28221 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9642 rev-id: dle@openerp.com-20131125160315-tj8n5bv6e5yv8jku
bzr revid: dle@openerp.com-20131125143003-vjtzj1c5051pdnk3
bzr revid: dle@openerp.com-20131125160523-hecq5u2uo0mfyoq0
2013-11-25 17:05:23 +01:00
Christophe Simonis 9f52ab382b [MERGE] forward port of branch saas-2 up to revid 3887 chs@openerp.com-20131122172422-tsd8wzqkbqknrw1w
bzr revid: chs@openerp.com-20131125160506-30uia4pdwzpp54gj
2013-11-25 17:05:06 +01:00
Denis Ledoux fd080fb745 [FIX]hr_timesheet_sheet: remove useless css rule, which had the effect of erasing the half timesheet weekly input on ie.
bzr revid: dle@openerp.com-20131125160315-tj8n5bv6e5yv8jku
2013-11-25 17:03:15 +01:00
Christophe Simonis d26e253edd [IMP] dumpstack dumps greenlets when running in evented mode.
(forward port lost during previous commit)

bzr revid: chs@openerp.com-20131125155956-x92vq9w4r9ov4vcc
2013-11-25 16:59:56 +01:00
Thibault Delavallée 1284c5c0d4 [FIX] mail: fixed reply button in mail_mail form view, should reply
to a mail.message, not a mail.mail.

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

bzr revid: tde@openerp.com-20131125155857-m04233fbyan7mglt
2013-11-25 16:58:57 +01:00