Frederic van der Essen [Wed, 17 Sep 2014 14:01:53 +0000 (16:01 +0200)]
[IMP] point_of_sale: partner edition ! -> create partners, edit partners, assign them barcodes, take pictures, etc.
Frederic van der Essen [Fri, 12 Sep 2014 14:58:30 +0000 (16:58 +0200)]
[WIP] point_of_sale: qweb template for partner edition
Fabien Meghazi [Wed, 17 Sep 2014 14:54:08 +0000 (16:54 +0200)]
[IMP] Brought back /website/image route w/filename hinted in headers
Also added support for this route in widget Image#from_html()
Olivier Dony [Wed, 17 Sep 2014 14:38:51 +0000 (16:38 +0200)]
[MERGE] Forward-port saas-5 up to f9bcd67
Martin Trigaux [Wed, 17 Sep 2014 14:32:43 +0000 (16:32 +0200)]
[FIX] purchase: keep reference to purchase order line
When generating an invoice from a stock.picking, the reference to the purchase.order.line needs to be kept (e.g. this is needed by anglo-saxon for price valuation). (opw 600767)
Denis Ledoux [Wed, 17 Sep 2014 14:25:38 +0000 (16:25 +0200)]
[MERGE] forward port of branch saas-3 up to b6e6b57
Denis Ledoux [Wed, 17 Sep 2014 14:24:40 +0000 (16:24 +0200)]
Raphael Collet [Wed, 17 Sep 2014 12:16:25 +0000 (14:16 +0200)]
[FIX] fields: make convert_to_cache() more robust with inverse one2many
When a one2many field uses an integer field as inverse, the onchange method on
the second model may receive a dictionary for the value of the integer field.
This is because the client expects that field to be a many2one.
Fabien Meghazi [Wed, 17 Sep 2014 13:52:47 +0000 (15:52 +0200)]
[IMP] Refactor ir.ui.view's read_template cache invalidation
Julien Legros [Wed, 17 Sep 2014 08:37:36 +0000 (10:37 +0200)]
[FIX] analytic: contract manager_id defaults to the context value
Bhumi Patel [Thu, 7 Aug 2014 06:12:13 +0000 (11:42 +0530)]
[FIX] sale_stock: packaging was given a product instead of a product template id, leading to possible crash or incoherent values.
Olivier Dony [Wed, 17 Sep 2014 13:15:22 +0000 (15:15 +0200)]
[MERGE] Forward-port saas-3 up to 09ab2d4
Olivier Dony [Wed, 17 Sep 2014 13:13:42 +0000 (15:13 +0200)]
[MERGE] Forward-port 7.0 up to 938502a
Olivier Dony [Wed, 17 Sep 2014 13:09:55 +0000 (15:09 +0200)]
[FIX] loading: always process auto-installed modules for new databases
If the server was started without -i or -u and
happened to initialize a fresh database,
auto-installed modules that depend
on `base` only would stay in status "to install"
without actually being installed (until the next
installation round was triggered).
This was of little consequence in 7.0, but causes
a crash in 8.0.
Fixes #953
Fabien Meghazi [Wed, 17 Sep 2014 08:03:33 +0000 (10:03 +0200)]
[FIX] Bundlification remains (Fixes #2463)
Olivier Dony [Wed, 17 Sep 2014 12:37:12 +0000 (14:37 +0200)]
[IMP] base: show local modules in Settings until apps.odoo.com is migrated for 8.0
Denis Ledoux [Wed, 17 Sep 2014 12:23:02 +0000 (14:23 +0200)]
[IMP] mail: app specific notifications
Denis Ledoux [Wed, 17 Sep 2014 11:54:11 +0000 (13:54 +0200)]
[FIX] ir_ui_view: Active (boolean) should not be required
If so, impossible to uncheck the box in the webclient
Denis Ledoux [Wed, 17 Sep 2014 11:39:13 +0000 (13:39 +0200)]
[MERGE] forward port of branch 7.0 up to f5f7609
Denis Ledoux [Wed, 17 Sep 2014 11:32:30 +0000 (13:32 +0200)]
[FIX] orm write: do not try to store computed & stored fields for relational records deleted by *2many fields
opw-613772
Martin Trigaux [Tue, 16 Sep 2014 15:23:44 +0000 (17:23 +0200)]
[IMP] website_sale: do not show transaction on sale order
This object is quite technical and has not purpose to be displayed on a sale order.
Martin Trigaux [Wed, 17 Sep 2014 10:58:08 +0000 (12:58 +0200)]
Forward port of branch saas-3 up to rev 2ee1843
Martin Trigaux [Wed, 17 Sep 2014 10:28:21 +0000 (12:28 +0200)]
[FIX] website_sale: retrieve transactions as superuser
Due to additional security rules, the transactions made as public user will have a new partner_id. The transaction needs to be retrieved as admin to be set in the context.
The operations in payment_get_status are made as superuser but the session_id is checked in the assert above to avoid url manipulation.
Richard Mathot [Wed, 17 Sep 2014 09:53:14 +0000 (11:53 +0200)]
[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 $.
Martin Trigaux [Wed, 17 Sep 2014 09:05:32 +0000 (11:05 +0200)]
[IMP] payment: simplify rev d99835e
The group public is defined in base so no need to add security rule in website_payment module (same as for portal)
Denis Ledoux [Wed, 17 Sep 2014 08:09:22 +0000 (10:09 +0200)]
[FIX] hr_recruitment: possibility to group application by creation date
Fabien Meghazi [Tue, 16 Sep 2014 20:27:52 +0000 (22:27 +0200)]
[REM] unused class attribute
Fabien Meghazi [Tue, 16 Sep 2014 20:10:31 +0000 (22:10 +0200)]
[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
Fabien Meghazi [Tue, 16 Sep 2014 19:08:30 +0000 (21:08 +0200)]
[FIX] website.image_url() access rights
Fabien Meghazi [Tue, 16 Sep 2014 18:20:39 +0000 (20:20 +0200)]
[FIX] double html escaping in qweb
Fabien Meghazi [Tue, 16 Sep 2014 14:27:27 +0000 (16:27 +0200)]
[IMP] add `url_for` hook to bundle urls
Fabien Meghazi [Fri, 12 Sep 2014 09:33:53 +0000 (11:33 +0200)]
[ADD] image_save_for_web() format argument
Fabien Meghazi [Thu, 11 Sep 2014 10:54:20 +0000 (12:54 +0200)]
[ADD] ir.qweb render_attribute() hook for postprocessing
Fabien Meghazi [Mon, 8 Sep 2014 13:54:38 +0000 (15:54 +0200)]
[ADD] Compress uploaded image by default
Added an opt-out option available from the button's dropdown
Fabien Meghazi [Mon, 8 Sep 2014 13:53:02 +0000 (15:53 +0200)]
[ADD] tools.image_save_for_web() helper for image compression
Fabien Meghazi [Sun, 7 Sep 2014 19:26:34 +0000 (21:26 +0200)]
[IMP] Convert product demo png's to 8bit
Fabien Meghazi [Sun, 7 Sep 2014 09:41:46 +0000 (11:41 +0200)]
[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)
Fabien Meghazi [Fri, 5 Sep 2014 16:20:55 +0000 (18:20 +0200)]
[ADD] Helper for /website/image (allows to use aggressive cache)
Fabien Meghazi [Fri, 5 Sep 2014 14:16:27 +0000 (16:16 +0200)]
[IMP] Move website_mail_group floating assets in frontend bundle
Fabien Meghazi [Fri, 5 Sep 2014 12:34:42 +0000 (14:34 +0200)]
[IMP] Move website_sale_tracking.js in front-end bundle
Fabien Meghazi [Wed, 3 Sep 2014 16:05:01 +0000 (18:05 +0200)]
[WIP] Testing javascripts in the bottom of the page
Fabien Meghazi [Wed, 3 Sep 2014 12:45:05 +0000 (14:45 +0200)]
[IMP] use http.send_file() for /logo.png
Fabien Meghazi [Wed, 3 Sep 2014 12:44:12 +0000 (14:44 +0200)]
[ADD] http.send_file() helper
Fabien Meghazi [Tue, 2 Sep 2014 08:22:47 +0000 (10:22 +0200)]
[IMP] compress *logo*.png with pngquant
Christophe Simonis [Tue, 16 Sep 2014 17:53:14 +0000 (19:53 +0200)]
[FIX] payment_paypal: paypal account migration: correct search of existing providers
Christophe Simonis [Tue, 16 Sep 2014 17:50:45 +0000 (19:50 +0200)]
[FIX] payment_paypal: create account with at least required fields
Olivier Dony [Tue, 16 Sep 2014 17:22:58 +0000 (19:22 +0200)]
[FIX] account: invoice view - useless trailing spaces in labels
Denis Ledoux [Tue, 16 Sep 2014 16:33:42 +0000 (18:33 +0200)]
[FIX] auth_ldap: avoid to try twice the authentication to the ldap server
See #1982
Denis Ledoux [Tue, 16 Sep 2014 15:55:14 +0000 (17:55 +0200)]
[FIX] point_of_sale: set journal as pos payment method on setting journal in the payment methods of a pos config when none is set.
Olivier Dony [Tue, 16 Sep 2014 15:18:35 +0000 (17:18 +0200)]
[FIX] web_calendar: make UI string translatable
Fixes issue #1755 partially, when the new term
will be translated
Olivier Dony [Tue, 16 Sep 2014 15:02:05 +0000 (17:02 +0200)]
[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
Olivier Dony [Tue, 16 Sep 2014 13:41:37 +0000 (15:41 +0200)]
[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
Raphael Collet [Tue, 16 Sep 2014 14:42:24 +0000 (16:42 +0200)]
[FIX] share/wizard: fix new-api method call incorrectly passing context
Julien Legros [Tue, 16 Sep 2014 14:56:52 +0000 (16:56 +0200)]
[IMP] sale: quotation confirmed mail subtype defaults to True
Martin Trigaux [Tue, 16 Sep 2014 13:27:56 +0000 (15:27 +0200)]
[FIX] payment: access rights limitation
Do not allow everybody to access account.transactions.
Restrict by default to readonly and even restrict the access with a record rule, give access to salesman.
Raphael Collet [Tue, 16 Sep 2014 12:34:56 +0000 (14:34 +0200)]
[FIX] models: make field inheritance work when source field is defined in old api
ssh-odoo [Fri, 5 Sep 2014 04:53:58 +0000 (10:23 +0530)]
[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)
sle-odoo [Tue, 16 Sep 2014 13:05:34 +0000 (15:05 +0200)]
Update README.md
Martin Trigaux [Tue, 16 Sep 2014 12:30:16 +0000 (14:30 +0200)]
[FIX] portal_sale: security rules matching the one of public user
The portal users had no access to the attributes objects (while the public user does) and was not allowed to render the shop page.
Fixes #1961
Fabien Meghazi [Tue, 16 Sep 2014 09:27:06 +0000 (11:27 +0200)]
[FIX] request.website browse record bad context
Arthur Maniet [Tue, 16 Sep 2014 11:36:36 +0000 (13:36 +0200)]
[FIX] account: account_invoice's onchange_partner_id uses the first partner bank account if several are defined. Merge of #2280
Denis Ledoux [Tue, 16 Sep 2014 10:28:32 +0000 (12:28 +0200)]
[FIX] fields: convert_to_read, handle missing many2one foreign keys
Simon Lejeune [Tue, 16 Sep 2014 10:10:32 +0000 (12:10 +0200)]
[FIX] packaging: windows: passlib dependency was not correctly set
Mohammed Shekha [Mon, 14 Jul 2014 12:29:22 +0000 (17:59 +0530)]
[FIX] web: traceback in search view when no field
Jeremy Kersten [Tue, 16 Sep 2014 09:29:14 +0000 (11:29 +0200)]
[FIX] website_hr_recruitement: Don't use GeoIp if all countries is selected
Raphael Collet [Tue, 16 Sep 2014 08:56:43 +0000 (10:56 +0200)]
Merge branch 'acsone-8.0-onchange-one2many-test': add test for onchange on one2many field
Géry Debongnie [Tue, 16 Sep 2014 08:11:47 +0000 (10:11 +0200)]
[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.
Raphael Collet [Mon, 15 Sep 2014 15:30:41 +0000 (17:30 +0200)]
[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.
Christophe Simonis [Mon, 15 Sep 2014 16:53:22 +0000 (18:53 +0200)]
[IMP] mail,website: improve update_notification
Denis Ledoux [Tue, 13 May 2014 08:15:01 +0000 (10:15 +0200)]
[FIX] sale: backport of rev
709e22c32aca
[FIX] sale: sale report view, wrong domain
Quotations are sale.order with state draft and sent
Sale orders are sale.order with state other than draft, sent and cancel
Jeremy Kersten [Mon, 15 Sep 2014 13:50:16 +0000 (15:50 +0200)]
[FIX] website_hr_recruitement: typo
Raphael Collet [Mon, 15 Sep 2014 12:41:39 +0000 (14:41 +0200)]
[FIX] fields: in *2many.convert_to_cache, fix the effect of command "1"
Jeremy Kersten [Mon, 15 Sep 2014 13:27:48 +0000 (15:27 +0200)]
[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
Martin Trigaux [Mon, 15 Sep 2014 13:24:43 +0000 (15:24 +0200)]
[FIX] orm: do not drop foreign keys of transient models
During the update of a module, the existing foreign keys are dropped if they have a different ondelete_rule than the one specified on the field.
The foreign keys for many2one transiant -> non-transiant are created with cascade rule by default (see `m2o_add_foreign_key_checked` method) so the check needs to be realised in the same conditions.
Denis Ledoux [Mon, 15 Sep 2014 13:24:49 +0000 (15:24 +0200)]
[MERGE] forward port of branch saas-5 up to 9699f62
Denis Ledoux [Mon, 15 Sep 2014 13:24:19 +0000 (15:24 +0200)]
[MERGE] forward port of branch saas-3 up to 685fa26
Denis Ledoux [Mon, 15 Sep 2014 13:22:04 +0000 (15:22 +0200)]
[FIX] web: do not check if db in session match filter if no db
Samus CTO [Thu, 4 Sep 2014 07:30:43 +0000 (09:30 +0200)]
[IMP] api: compute methods cannot depend on field 'id'
This feature hasn't been implemented because of complexity problems.
Therefore, we should not allow the developer to use it.
Denis Ledoux [Mon, 15 Sep 2014 12:25:02 +0000 (14:25 +0200)]
[MERGE] forward port of branch saas-5 up to 163d7f5
Denis Ledoux [Mon, 15 Sep 2014 12:23:58 +0000 (14:23 +0200)]
[MERGE] forward port of branch saas-3 up to b5b7dcc
Christophe Simonis [Mon, 15 Sep 2014 11:52:44 +0000 (13:52 +0200)]
[MERGE] forward port of branch saas-5 up to 7eab880
Christophe Matthieu [Mon, 15 Sep 2014 11:24:24 +0000 (13:24 +0200)]
Merge pull request #2348 from odoo-dev/8.0-fix-website_sale-breadcrumb-chm
[FIX] website_sale: The product breadcrumbs in shop not working.
Martin Trigaux [Mon, 15 Sep 2014 10:54:40 +0000 (12:54 +0200)]
Forward port of 7.0 up to revision 42680c9
Well actually it's an empty forward port to avoid forward porting last 7.0 commit in saas...
Denis Ledoux [Mon, 7 Apr 2014 08:24:45 +0000 (10:24 +0200)]
[FIX] web: backport of ebb826a and 2372d30
Fixing breadcrumb not being displayed after some action button (e.g. validate invoice, opw 612763)
Denis Ledoux [Mon, 15 Sep 2014 10:25:32 +0000 (12:25 +0200)]
[FIX] account: missing context assignation in self
Christophe Simonis [Mon, 15 Sep 2014 10:09:35 +0000 (12:09 +0200)]
[FIX] orm: correct read_group() on models with `_group_by_full` (introduced by previous forward-port)
also add tests of `_group_by_full` functionality
Denis Ledoux [Mon, 15 Sep 2014 09:58:10 +0000 (11:58 +0200)]
[MERGE] forward port of branch 7.0 up to b601015
Fabien Meghazi [Tue, 15 Jul 2014 13:26:18 +0000 (15:26 +0200)]
[IMP] Improve stock's barcode start page
remove module_boot() usage
Denis Ledoux [Mon, 15 Sep 2014 09:55:53 +0000 (11:55 +0200)]
[FIX] tools: restrict available attributes
Géry Debongnie [Tue, 9 Sep 2014 10:26:16 +0000 (12:26 +0200)]
[FIX] web: fixes issues with custom filters and search view
The problem was that when the user manipulates the graph view (in pivot
table mode), the graph view resetted the group by facet in the search
view. It was not a problem unless a custom filter with a groupby was
already there, in which case, the group bys were duplicated.
The search view is now smarter, it only resets the additional groupbys
(and col_groupbys). Also, to prevent usability problems, the graph
view disable the '+/-' groupbys added by a custom filters.
Note that this fix is only temporary: a revamp of custom filters, facets,
search view is coming in the next months. (at least, that's the idea). Right
now, too much 'search logic' is in the graph view.
Another note: this fix is somewhat fragile: it makes some assumptions
about the search query (mainly that the custom filter is the first facet,
also, that no other filters add groupbys/col_groupbys)
Christophe Simonis [Sat, 13 Sep 2014 15:00:51 +0000 (17:00 +0200)]
[FIX] website_event_sale: remove invalid code chunk introduced during previous forward-port (
56f2b7ae0f6)
Christophe Simonis [Fri, 12 Sep 2014 16:53:48 +0000 (18:53 +0200)]
[MERGE] forward port of branch saas-3 up to fdc6271
Daniel Reis [Wed, 13 Aug 2014 08:57:53 +0000 (09:57 +0100)]
[IMP] modules: add support for loading module description from README.{md,rst,txt}
Showcase the feature by moving auth_ldap's description to README.rst
(Manual rebase of PR #1759)
Olivier Dony [Fri, 12 Sep 2014 15:51:56 +0000 (17:51 +0200)]
[IMP] ir.model:.fields allow setting ondelete=restrict foncustom fields
Christophe Simonis [Fri, 12 Sep 2014 15:28:55 +0000 (17:28 +0200)]
[MERGE] forward port of branch 7.0 up to 9b1cdea
Denis Ledoux [Fri, 12 Sep 2014 14:25:48 +0000 (16:25 +0200)]
[FIX] mrp_repair: invoice the actual invoice partner id
Fekete Mihai [Fri, 12 Sep 2014 14:04:22 +0000 (16:04 +0200)]
[FIX] l10n_ro: backport of fix done in res_partner.py from aa76885
PR #720
Jeremy Kersten [Fri, 12 Sep 2014 13:58:59 +0000 (15:58 +0200)]
[IMP] website_crm: keep the new id from the created lead to allow another function which override this one to get the new lead.
Josse Colpaert [Fri, 12 Sep 2014 12:24:29 +0000 (14:24 +0200)]
Merge pull request #2292 from odoo-dev/8.0-wmsstaging8-jco
8.0 wmsstaging8 jco
Josse Colpaert [Thu, 11 Sep 2014 14:02:44 +0000 (16:02 +0200)]
[IMP] Solve landed costs bug + invoice_state in account_anglo_saxon.yml