Commit Graph

81555 Commits

Author SHA1 Message Date
Kersten Jeremy 2b7de6164f [FIX] Fix notification in calendar. All peoples had all notifs :(
bzr revid: jke@openerp.com-20140227142933-33bh05ozdb7uwjy5
2014-02-27 15:29:33 +01:00
Christophe Matthieu d96cf8c54c [FIX] website: editor: can not edit a label in edit mode, must prevent the default click
bzr revid: chm@openerp.com-20140227140043-8iko13704pci9823
2014-02-27 15:00:43 +01:00
Christophe Matthieu 6a9d3326db [FIX] website_sale: 'Ship to a different address' not translatable
bzr revid: chm@openerp.com-20140227135120-drw0jha7gzqptdog
2014-02-27 14:51:20 +01:00
Thibault Delavallée b1f88d634d [IMP] [FIX] email_template: do not sanitize the template content.
Indeed its content may contain invalid html that could be stripped by the
sanitizer. The content generated based on the template will be sanitized
when stored in the mail_mail or mail_message body field, thus after
rendering.
The template therefore holds html, but that is not sanitized. But that's
still html, therefore using an html field.

bzr revid: tde@openerp.com-20140227134829-te8mxeakc3s96fun
2014-02-27 14:48:29 +01:00
Christophe Matthieu f462d1564f [FIX] website: bootstrap: Fixed the sliding issue of carousel library in IE9. The transition was not working in any snippet.
bzr revid: chm@openerp.com-20140227133347-6pk45n7ibyrx8imf
2014-02-27 14:33:47 +01:00
Kersten Jeremy 49a92c376a [FIX] Fix loop when parse hash into get param with no hash
bzr revid: jke@openerp.com-20140227130705-jlvl157aio3o4df3
2014-02-27 14:07:05 +01:00
Xavier Morel 6b857b6eeb [FIX] whitespace/indent lost by RTE
Didn't manage to find RTE settings to avoid losing leading whitespace of
lines, so reindeint arch after doing all integration, right before saving back
to view's field.

* html.fromstring(parser=HTMLParser(remove_blank_text=True) does not seem to
  work, so serialize to XML, and parse back with
  remove_blank_text. remove_blank_text necessary for lxml's pretty_print to
  work correctly.

* pretty_print only & always uses 2 spaces/indent level. Our files (and the
  HTML editor's Format button) uses 4 spaces -> need a second pass to double
  indents.

bzr revid: xmo@openerp.com-20140227125934-q8j3z440px2ic6kx
2014-02-27 13:59:34 +01:00
Denis Ledoux e28677f727 [FIX]project: chosend beginning stage for new project_issue sequence <= 1 (instead of =, same behavior than in tasks)
bzr revid: dle@openerp.com-20140227122938-i0s6dfxd42pl6ov3
2014-02-27 13:29:38 +01:00
Thibault Delavallée 42e2676f4b [IMP] fields: html: now supports a sanitize argument, telling
whether the content of the html field should be sanitized before storage. This parameter
is true by default.
Example of use: html of email template is considered as html content, but contains
mako strings that makes this content not valid html. Sanitizing the body content
can cause issues to the template; therefore storing it as html but not sanitized
allows to keep its content safe.

Added a test case to ensure this behavior.

bzr revid: tde@openerp.com-20140227120254-6m8gvkt4hf28nl0e
2014-02-27 13:02:54 +01:00
Paramjit Singh Sahota 89de7d9f25 [MERGE] Merged lp:~openerp/openobject-addons/saas-3
bzr revid: psa@tinyerp.com-20140227114202-g2yw8pmsn4v0lm05
2014-02-27 17:12:02 +05:30
Christophe Matthieu 6a777b9e62 [FIX] website editor: Editor bar is showing border in ie.
bzr revid: chm@openerp.com-20140227111726-s1545ii3exjqjkxz
2014-02-27 12:17:26 +01:00
Christophe Matthieu 5f70ca61b6 [FIX] website: editor: pointer-events:none for ie doesn't work (because ie). Change snippet overlay to fix this ie bug
bzr revid: chm@openerp.com-20140227111038-0hodseqys6pnz841
2014-02-27 12:10:38 +01:00
Christophe Matthieu 01a898ab8b [FIX] website snippet: pointer-ie
bzr revid: chm@openerp.com-20140227100917-wq54xrkgii7uhacl
2014-02-27 11:09:17 +01:00
Christophe Matthieu cfeac71d6a [FIX] website: editor: pointer-events:none for ie doesn't work (because ie). Change snippet overlay to fix this ie bug
bzr revid: chm@openerp.com-20140226175558-2gyix2zgdawf87yz
2014-02-26 18:55:58 +01:00
Denis Ledoux 70d3f251a3 [REVERT] rev 8788.1.1769: The exchange rate of the currency of the pricelist should not be applied as this price computation method does not depends of any pricelist
bzr revid: dle@openerp.com-20140226172300-z2okr3vpjuwxs4mz
2014-02-26 18:23:00 +01:00
Denis Ledoux 50ecb598e7 [FIX] website: website settings should inherit of res.config.settings and not base.config.settings, as it create a new page settings, instead of extending one
bzr revid: dle@openerp.com-20140226171114-jwthykyud66l7o6x
2014-02-26 18:11:14 +01:00
Thibault Delavallée 11e0e64769 [FIX] mail: notification url: only web, not login
bzr revid: tde@openerp.com-20140226170002-ndr090idip3cyx3n
2014-02-26 18:00:02 +01:00
Gery Debongnie d3bbda62bc [MERGE] web_graph: multiple fixes to search facet sync + performance optimizations and cleanup
bzr revid: odo@openerp.com-20140226155711-fx9pgaa72buyu7gi
2014-02-26 16:57:11 +01:00
Christophe Simonis e1daea744f [FIX] web: bootstrap template rendered using request uid
bzr revid: chs@openerp.com-20140226155536-5z7r50bzxxackg1d
2014-02-26 16:55:36 +01:00
Fabien Meghazi 233665197b [IMP] Do not dismiss server errors on calendar notifications
bzr revid: fme@openerp.com-20140226154727-dafw83hf9b9a8gpz
2014-02-26 16:47:27 +01:00
Xavier Morel 30a99471e2 [FIX] Webkit created spurious spans with inline style when joining lines
Post process to manually unwrap node if it only has purely looks-oriented CSS
properties set inline.

ref:
https://code.google.com/p/chromium/issues/detail?id=226941
https://bugs.webkit.org/show_bug.cgi?id=114791
http://dev.ckeditor.com/ticket/9998
http://www.neotericdesign.com/blog/2013/3/working-around-chrome-s-contenteditable-span-bug

bzr revid: xmo@openerp.com-20140226152004-9ybbki1op80lpxin
2014-02-26 16:20:04 +01:00
Gery Debongnie a37f96d043 [FIX] adds a missing semicolon... :/ (addon web_graph)
bzr revid: ged@openerp.com-20140226144032-st0eqbkzco8n2unk
2014-02-26 15:40:32 +01:00
Gery Debongnie b453252c2d [IMP] this commit adds two css classes (graph_pivot_mode and graph_chart_mode) to better separate the ui from the code in graph view (addon web_graph)
bzr revid: ged@openerp.com-20140226143919-cejqoq2kd4iwrq04
2014-02-26 15:39:19 +01:00
Gery Debongnie eb1eb48ef3 [IMP] optimizes pivot table so that it doesn't reload data when the groupbys have been changed in such a way that it should only fold some headers (addon web_graph)
bzr revid: ged@openerp.com-20140226130424-rtb5iof0c14caf56
2014-02-26 14:04:24 +01:00
Gery Debongnie e7306f2c4a [FIX] fixes various problems with the graph view and the filters in the searchbar. Now, it should properly compute and update the groupby/col_groupby in the search bar (addon web_graph)
bzr revid: ged@openerp.com-20140226111710-q11qx1tb2l0nryxf
2014-02-26 12:17:10 +01:00
Kersten Jeremy 3279c76c62 [FIX] Fix bug with filter when date are between 2 months. If an event was starting before the current month, but ending this month or later... it was not always displayed
bzr revid: jke@openerp.com-20140225234250-2lx3tc9ktwume7a9
2014-02-26 00:42:50 +01:00
Kersten Jeremy f87524a257 [FIX] Set event from hr_holiday with a class confidential by default.
bzr revid: jke@openerp.com-20140225213121-hyz46xpsiqtao18o
2014-02-25 22:31:21 +01:00
Kersten Jeremy 9a03a57120 [FIX] Use event.display_time and not event.date in mail template. This function field use the timezone !
bzr revid: jke@openerp.com-20140225200342-6f96u6dkrknbzjsn
2014-02-25 21:03:42 +01:00
Kersten Jeremy 4ec292eae9 [MERGE] Fix bug in send_mail_to_attendee of calendar where we passed browse_list and not dict(ids), typo controller calendarr PEP8
bzr revid: jke@openerp.com-20140225173808-60stzxubljuambd4
2014-02-25 18:38:08 +01:00
Kersten Jeremy 27380e6f3a [MERGE] Merge with saas-3-calendar-jke. - Fix filters
bzr revid: jke@openerp.com-20140225173055-01uouh0prhyni3i0
2014-02-25 18:30:55 +01:00
Kersten Jeremy 8b927d7d1c [FIX] fix bug in send_mail_to_attendee of calendar where we passed browse_list and not dict(ids), typo controller calendarr PEP8
bzr revid: jke@openerp.com-20140225165859-1vyjtirgjmbhoij4
2014-02-25 17:58:59 +01:00
Christophe Matthieu a22379520c [FIX] website: error managment in ace editor for ie9
bzr revid: chm@openerp.com-20140225165720-c451gumsd5mce5ya
2014-02-25 17:57:20 +01:00
Xavier Morel cdc83a0763 [FIX] dataset.read_ids should always return records in the order of the parameter ids
BufferedDataSet.read_ids assumes the input and output orders are the same, and
returns wonky results when not the case, which in turns fucks up its cache as
it associates ids and records incorrectly.

bzr revid: xmo@openerp.com-20140225162813-8ofxpiy1012eehgk
2014-02-25 17:28:13 +01:00
Christophe Matthieu 1e2a5ddfa6 [FIX] website: fix for ie: add bootstrap class in website_sale and bind click for editor
bzr revid: chm@openerp.com-20140225162136-5xdt7n498qxf9myw
2014-02-25 17:21:36 +01:00
Kersten Jeremy 02835ebdbd [REF] Refactoring all filters. Now, calendar remember if the filter is checked between each do_search and event_source refresh
bzr revid: jke@openerp.com-20140225154137-45tr7l50xlceom2b
2014-02-25 16:41:37 +01:00
Kersten Jeremy 50c3d34a8e [FIX] Transform get_default_options of calendar into a function, to be instancied after date.js
bzr revid: jke@openerp.com-20140225153926-ltwubk1sxfi3heuv
2014-02-25 16:39:26 +01:00
Christophe Simonis 0123c51997 [FIX] crm: lead to opportunity convertion: pass id instead of browse record object
bzr revid: chs@openerp.com-20140225102830-1za1ei2xlr1oc4nv
2014-02-25 11:28:30 +01:00
Xavier Morel 750b9f405c [FIX] tags edition breakage in website_event_track
* remove some nodes from the $editables set, ``li`` really does not like being
  widgetified. Remove a few others just in case

* split fa outside of li to make it safely (ish) editable

* simplify upcast function for icons cke widget

bzr revid: xmo@openerp.com-20140225131228-2m75itgi4zbj5xfh
2014-02-25 14:12:28 +01:00
Olivier Dony 4572ea9ef3 [FIX] website_event_track: employees should not be restricted to public events only
Also switched rule to noupdate. A manual fix of existing installations
will be necessary, as is usually the case for ir.rules changes.
This module has not made it into a LTS version yet, so it is acceptable.
+ Added a _description for the event.track model to avoid it being
replaced by inherited descriptions.

bzr revid: odo@openerp.com-20140225115742-ghnt3khn6hvycnnw
2014-02-25 12:57:42 +01:00
Xavier Morel a67cd4c049 [FIX] t-ignore should remove injected sub-view branding below the ignore flag
bzr revid: xmo@openerp.com-20140225114706-j8q44cubs59tuwby
2014-02-25 12:47:06 +01:00
Frédéric van der Essen a949f024a1 [MERGE] point_of_sale: fixing duplicated orders, fixing crash when selling goods with lot tracking, accept ean13 barcodes with a stripped leading zero
bzr revid: fva@openerp.com-20140225110142-oklvhmvh79u9ymuv
2014-02-25 12:01:42 +01:00
Xavier Morel 1b2be9be76 [IMP] unbrand t-raw and t-esc as keeping them branded makes very little sense
they can't be edited in any situation

bzr revid: xmo@openerp.com-20140225110046-90rdevm13pp4m51s
2014-02-25 12:00:46 +01:00
Frédéric van der Essen 009451f1dc [MERGE] from upstream
bzr revid: fva@openerp.com-20140225105924-1r2c9ha7703zlfxz
2014-02-25 11:59:24 +01:00
Thibault Delavallée bb795e929d [FIX] mail: fixed sign-in URL in notification emails, use the new web/login controller introduced in saas-3.
bzr revid: tde@openerp.com-20140225095054-kswinebsgsj5fex1
2014-02-25 10:50:54 +01:00
Xavier Morel cf702eb1c6 [IMP] in view tests, replace tostring() and string comparisons by custom lxml.etree comparator
bzr revid: xmo@openerp.com-20140225092842-sc6whhm173azurtt
2014-02-25 10:28:42 +01:00
Thibault Delavallée 700bbfcce1 [FIX] mail_thread: when reading subscription data, add a protection
against not planned subtype data (coming from error in subtype relationship
table, or for undisplayed subtypes, old subtypes, ...).

bzr revid: tde@openerp.com-20140225090637-mnztroc05nk7l2sl
2014-02-25 10:06:37 +01:00
Kersten Jeremy 2907c8dd66 [TYPO] PEP7 - Module calendar (no E501)
bzr revid: jke@openerp.com-20140224220222-dp26lvbv2bfljxvt
2014-02-24 23:02:22 +01:00
Christophe Simonis cde82643d0 [MERGE] point of sale fixes
bzr revid: chs@openerp.com-20140224172113-gj1t8hi7a8hr60gq
2014-02-24 18:21:13 +01:00
Xavier Morel 198640434f [FIX] injected views need branding distribution too
forgot to set it up after installed injected view skipping during distribution of injectee

bzr revid: xmo@openerp.com-20140224170301-b4ta04zqsd5d2956
2014-02-24 18:03:01 +01:00
Frédéric van der Essen c1d5d858eb [MERGE] from upstream
bzr revid: fva@openerp.com-20140224160909-ezk3re38imtq2eo1
2014-02-24 17:09:09 +01:00