Commit Graph

90898 Commits

Author SHA1 Message Date
Fabien Meghazi 0084646475 [IMP] Refactor ir.ui.view's read_template cache invalidation 2014-09-17 15:52:47 +02:00
Julien Legros 720e31d0fb [FIX] analytic: contract manager_id defaults to the context value 2014-09-17 15:32:45 +02:00
Bhumi Patel c707c61f8d [FIX] sale_stock: packaging was given a product instead of a product template id, leading to possible crash or incoherent values. 2014-09-17 15:31:19 +02:00
Fabien Meghazi 8d08e06758 [FIX] Bundlification remains (Fixes #2463) 2014-09-17 14:50:12 +02:00
Olivier Dony 5bfad4dd52 [IMP] base: show local modules in Settings until apps.odoo.com is migrated for 8.0 2014-09-17 14:37:29 +02:00
Denis Ledoux 58c1963c9a [IMP] mail: app specific notifications 2014-09-17 14:23:02 +02:00
Denis Ledoux 47c3205229 [FIX] ir_ui_view: Active (boolean) should not be required
If so, impossible to uncheck the box in the webclient
2014-09-17 13:55:00 +02:00
Richard Mathot 4dec8b54f4 [FIX] survey: mess with JS loading
Since yesterday, JS bundles are now loaded at the end of the webpage.
Old-style modules that hardlink js code in the <head> section are now
broken since they use jQuery's $.
2014-09-17 11:53:14 +02:00
Denis Ledoux 73a01a16ab [FIX] hr_recruitment: possibility to group application by creation date 2014-09-17 10:09:51 +02:00
Fabien Meghazi 847093a4b0 [REM] unused class attribute 2014-09-16 22:27:52 +02:00
Fabien Meghazi 3cfa6e4422 [MERGE] Miscellaneous SEO improvments
- Compress images using pngquant
- Added http.send_file() helper
- Move javascripts in the bottom of the page (better google pagespeed ranking)
- Added website.get_image_url() helper that uses a hash allowing the usage of
  a more aggressive cache
- Misc. tools/image improvements
2014-09-16 22:10:31 +02:00
Fabien Meghazi cf3e517b58 [FIX] website.image_url() access rights 2014-09-16 21:32:37 +02:00
Fabien Meghazi 11d0970721 [FIX] double html escaping in qweb 2014-09-16 21:32:37 +02:00
Fabien Meghazi 7bc7757ec3 [IMP] add `url_for` hook to bundle urls 2014-09-16 19:55:00 +02:00
Fabien Meghazi 954f20c800 [ADD] image_save_for_web() format argument 2014-09-16 19:55:00 +02:00
Fabien Meghazi 7893645d9c [ADD] ir.qweb render_attribute() hook for postprocessing 2014-09-16 19:55:00 +02:00
Fabien Meghazi 0d890ab76e [ADD] Compress uploaded image by default
Added an opt-out option available from the button's dropdown
2014-09-16 19:55:00 +02:00
Fabien Meghazi 89362bd6cd [ADD] tools.image_save_for_web() helper for image compression 2014-09-16 19:55:00 +02:00
Fabien Meghazi 8ccd4c67e5 [IMP] Convert product demo png's to 8bit 2014-09-16 19:55:00 +02:00
Fabien Meghazi 3f27066019 [IMP] Compress resized /website/image's
Refactored and fixed tools.image_resize_image() that converted to RGBA
after making thumbnails, resulting in bad looking picture in case the
source is in 'P' mode (indexed palette)
2014-09-16 19:55:00 +02:00
Fabien Meghazi bc5e6fa2cb [ADD] Helper for /website/image (allows to use aggressive cache) 2014-09-16 19:54:59 +02:00
Fabien Meghazi cdcd488f5a [IMP] Move website_mail_group floating assets in frontend bundle 2014-09-16 19:54:59 +02:00
Fabien Meghazi 6402bcbd92 [IMP] Move website_sale_tracking.js in front-end bundle 2014-09-16 19:54:59 +02:00
Fabien Meghazi 5c87e7297d [WIP] Testing javascripts in the bottom of the page 2014-09-16 19:54:59 +02:00
Fabien Meghazi eea8d81a86 [IMP] use http.send_file() for /logo.png 2014-09-16 19:54:59 +02:00
Fabien Meghazi 6fd3982e23 [ADD] http.send_file() helper 2014-09-16 19:54:59 +02:00
Fabien Meghazi 11c6144af0 [IMP] compress *logo*.png with pngquant 2014-09-16 19:54:59 +02:00
Olivier Dony 44a2b10efb [FIX] account: invoice view - useless trailing spaces in labels 2014-09-16 19:23:25 +02:00
Olivier Dony b8ef7215de [FIX] web_calendar: make UI string translatable
Fixes issue #1755 partially, when the new term
will be translated
2014-09-16 17:46:25 +02:00
Olivier Dony 3caafac8c0 [FIX] ir.ui.view: match translated terms without heading/trailing whitespace
As the whitespace is stripped when exporting terms
to translate, it must be done as well when matching
translations at runtime.

Fixes issue #1755 partly
2014-09-16 17:46:25 +02:00
Olivier Dony b7a2cc13ba [FIX] ir.translation: translated terms within view definitions were not loaded
The changes for QWeb template translation have introduced
res_id values in PO comments for all `#: view:` terms, as
the real database id needs to be resolved when loading them.

For non-QWeb views this is not necessary and actually caused
the terms to be dropped when the res_id could not be resolved.

Rather than having a different PO comment format for QWeb and
non-QWeb views, we can extend the QWeb hack to force the
res_id to 0 for non-QWeb views.

Fixes issue #1755
2014-09-16 17:46:25 +02:00
Raphael Collet 2e0189770b [FIX] share/wizard: fix new-api method call incorrectly passing context 2014-09-16 17:34:00 +02:00
Julien Legros 0130ce4e84 [IMP] sale: quotation confirmed mail subtype defaults to True 2014-09-16 16:56:52 +02:00
Raphael Collet f2299749fe [FIX] models: make field inheritance work when source field is defined in old api 2014-09-16 16:03:16 +02:00
ssh-odoo acdb43b6cb [REM] report: remove openerp/report/pyPdf
Distributing our version of pyPdf is not required anymore since we
introduced the new reporting tool.

In order to keep reports working, the standard python library
`python-pypdf` has to be installed instead (through pip or your
distribution's package manager)
2014-09-16 15:42:02 +02:00
sle-odoo 0b52cf1996 Update README.md 2014-09-16 15:05:34 +02:00
Fabien Meghazi 060fa29883 [FIX] request.website browse record bad context 2014-09-16 14:16:43 +02:00
Arthur Maniet 9f481d6c64 [FIX] account: account_invoice's onchange_partner_id uses the first partner bank account if several are defined. Merge of #2280 2014-09-16 13:37:51 +02:00
Denis Ledoux d6741c8b54 [FIX] fields: convert_to_read, handle missing many2one foreign keys 2014-09-16 12:29:37 +02:00
Simon Lejeune cb55107fe1 [FIX] packaging: windows: passlib dependency was not correctly set 2014-09-16 12:10:53 +02:00
Mohammed Shekha 0db0df437a [FIX] web: traceback in search view when no field 2014-09-16 11:37:48 +02:00
Jeremy Kersten 0d0a6c37ba [FIX] website_hr_recruitement: Don't use GeoIp if all countries is selected 2014-09-16 11:29:14 +02:00
Raphael Collet 2cbdd7ab0e Merge branch 'acsone-8.0-onchange-one2many-test': add test for onchange on one2many field 2014-09-16 10:56:43 +02:00
Géry Debongnie 145690d81b [FIX] display problem in graph view in some cases
Recently, the graph view was changed to prevent changing groupbys
for active custom filters.  Unfortunately, I did not take into account
the fact that pivot table can be drawn in part when expanding rows.

The "frozen" parameter was then undefined and caused display problems,
this patch should fix the issue.
2014-09-16 10:11:47 +02:00
Raphael Collet 8fc7cf74fc [FIX] models: improve implementation of _compute_display_name()
The method was expecting that name_get() returns complete and in-order values.
Because of this, some records in the recordset could end up without a value.
2014-09-16 09:36:58 +02:00
Christophe Simonis a10cd334d0 [IMP] mail,website: improve update_notification 2014-09-15 18:53:22 +02:00
Jeremy Kersten 1a9f4471b6 [FIX] website_hr_recruitement: typo 2014-09-15 15:50:16 +02:00
Raphael Collet e724f3adec [FIX] fields: in *2many.convert_to_cache, fix the effect of command "1" 2014-09-15 15:31:30 +02:00
Jeremy Kersten cfac9464a4 [FIX] website_hr_recruitment: add param to force all countries else it use GeoIP, check that country returned by GeoIP have jobs availables else fallback on all countries 2014-09-15 15:27:48 +02:00
Denis Ledoux 911f815019 [MERGE] forward port of branch saas-5 up to 9699f62 2014-09-15 15:24:49 +02:00