Alicia FLOREZ [Fri, 27 Jun 2014 14:57:38 +0000 (16:57 +0200)]
Merge branch 'upstream/saas-5' into saas-5
Conflicts:
addons/website_sale/static/src/js/website.tour.sale.js
Denis Ledoux [Thu, 26 Jun 2014 21:31:57 +0000 (23:31 +0200)]
[FIX] product, website_sale: Go in GB (Go is fr)
Christophe Simonis [Thu, 26 Jun 2014 16:23:39 +0000 (18:23 +0200)]
Merge pull request #791 from odoo/revert-483-saas-5-report-translation-fix-sle
In stable version, the code (js and python) must **not** rely on new data existance (here qweb template).
Christophe Simonis [Thu, 26 Jun 2014 16:14:44 +0000 (18:14 +0200)]
Revert "Saas 5 report translation fix sle"
sle-odoo [Thu, 26 Jun 2014 15:53:29 +0000 (17:53 +0200)]
Merge pull request #483 from odoo-dev/saas-5-report-translation-fix-sle
Saas 5 report translation fix sle
Simon Lejeune [Thu, 26 Jun 2014 15:05:24 +0000 (17:05 +0200)]
Merge remote-tracking branch 'odoo/saas-5' into saas-5-report-translation-fix-sle
Simon Lejeune [Thu, 26 Jun 2014 15:04:16 +0000 (17:04 +0200)]
[REV] revert unneeded changes in website layout
Simon Lejeune [Thu, 26 Jun 2014 14:34:31 +0000 (16:34 +0200)]
[IMP] report; minimal layout is now a qweb template, allowing users to customize it. also make pypdf mandatory to start Odoo
Simon Lejeune [Thu, 26 Jun 2014 13:56:18 +0000 (15:56 +0200)]
[IMP] cosmetic changes
sle-odoo [Thu, 26 Jun 2014 12:57:52 +0000 (14:57 +0200)]
Merge pull request #785 from odoo-dev/saas-5-phantomjs-localstorage-fix-sle
[FIX] use unique localstorage path when running phantomjs tests
Simon Lejeune [Thu, 26 Jun 2014 12:06:20 +0000 (14:06 +0200)]
[FIX] use unique localstorage path when running phantomjs tests
this patch use a unique localstorage per test at al request. It could have used one localstorage per instance or even per module.
Cédric Snauwaert [Thu, 26 Jun 2014 11:56:12 +0000 (13:56 +0200)]
Merge pull request #784 from odoo-dev/saas-5-tooltip-fix-csn
[FIX]tooltip: fix various display problems with the tooltip
Cedric Snauwaert [Thu, 26 Jun 2014 09:19:37 +0000 (11:19 +0200)]
[FIX]tooltip: fix various display problems with the tooltip
tfossoul [Thu, 26 Jun 2014 07:55:26 +0000 (09:55 +0200)]
[FIX] KanbanSelection: Reload the record_id on form view
When you are on a form view, you click on a left/right arrow(on the top-right of the view) to pass to the next records. If you click on the widget to change the kanban_state, the widget will change the state of the previous record and not for the current because the record_id is not reset
Olivier Dony [Wed, 25 Jun 2014 16:44:51 +0000 (18:44 +0200)]
[MERGE] Forward-port of saas-4 up to fa739ac
Olivier Dony [Wed, 25 Jun 2014 16:37:03 +0000 (18:37 +0200)]
[FIX] website: default mimetype for web-published attachments, avoids crash
Olivier Dony [Wed, 25 Jun 2014 16:34:03 +0000 (18:34 +0200)]
[MERGE] Forward-port of saas-3 up to 141e1b2
Olivier Dony [Wed, 25 Jun 2014 15:41:24 +0000 (17:41 +0200)]
[FIX] http.dispatch: call handle_exception() even w/ session missing/expired
This gives JSONRequests a chance to return
a proper JSON-RPC result when an HTTPException
is raised downstream, instead of returning a
plain HTML 404 error.
JKE-be [Wed, 25 Jun 2014 14:24:54 +0000 (16:24 +0200)]
Merge pull request #765 from odoo-dev/saas-4-sitemap-forum-jke
[FIX] Forum / site map - redirect to question topic and response bypassed by sitemap
odony [Wed, 25 Jun 2014 14:08:19 +0000 (16:08 +0200)]
Merge pull request #761 from odoo-dev/saas-3-handle-exception-fme
[FIX] _handle_exception() logic amongst requests and ir_http objects
Changes in website's ir_http#_handle_exception():
* exception is mandatory, can't be None anymore
* we don't touch non website_enabled requests
* we don't touch explicits plain responses from parent
* logic flow is now easier to read (I hope so)
* check for openerp's AccessError and convert to 403 errors
Change in website's ir_http#_dispatch():
* In case of real 404, instead of returning self._handle_exception(), just let parent do the job (so we call super())
Christophe Simonis [Wed, 25 Jun 2014 13:38:49 +0000 (15:38 +0200)]
[IMP] purchase_requisition: lint file
Christophe Simonis [Wed, 25 Jun 2014 13:32:57 +0000 (15:32 +0200)]
[FIX] purchase_requisition: revert f68c835
These changes are not needed anymore with new WMS.
Jeremy Kersten [Wed, 25 Jun 2014 11:45:03 +0000 (13:45 +0200)]
[FIX] Forum - Redirect permanently to the question, if post_id in url is not an answer.
Jeremy Kersten [Wed, 25 Jun 2014 11:41:35 +0000 (13:41 +0200)]
[FIX] Forum / Sitemap - Restrcit the domain from controller, else the sitemap fetch response without the question
Jeremy Kersten [Wed, 25 Jun 2014 11:38:56 +0000 (13:38 +0200)]
[FIX] Sitemap - Back forward from saas-5
5cc1317a5f4525e8748692c69c3854773cf95454 to have the url_root in sitemap
Christophe Simonis [Wed, 25 Jun 2014 10:43:41 +0000 (12:43 +0200)]
[MERGE] forward port of branch saas-4 up to f68c835
Christophe Simonis [Wed, 25 Jun 2014 10:33:17 +0000 (12:33 +0200)]
[MERGE] forward port of branch saas-3 up to a66f3dd
Christophe Simonis [Wed, 25 Jun 2014 10:27:43 +0000 (12:27 +0200)]
[MERGE] forward port of branch 7.0 up to df6b37c
Fabien Meghazi [Wed, 25 Jun 2014 10:20:40 +0000 (12:20 +0200)]
[FIX] check after openerp's AccessErrors in website's _handle_exception
dhr-odoo [Wed, 25 Jun 2014 10:07:02 +0000 (12:07 +0200)]
[FIX] account: add multicompany rule to account.subscription.line
The wizard to generate recurring entries did not respect multicompany rules as the request was done in plain sql.
Add ir.rule and use the orm (opw 607782)
Denis Ledoux [Wed, 25 Jun 2014 10:00:14 +0000 (12:00 +0200)]
[FIX] purchase_requisition: duplicated stock moves
When a purchase requisition is created from a procurement order, a first stock move is created, not associated to any purchase orders
Then, on purchase order creation and confirmation, in the purchase requisition, new stock moves are created, associated to the purchase order.
The existing stock move issued from the procurement order which created the purchase requisition remained untouched, leading to wrong inventory values
To fix this, the destination location of the stock move of the procurement order is written on the source location
A proper fix should be to use a dedicated workflow for puchase requisition, but this can't be done in 7.0, it has to be done in master/trunk
Fabien Meghazi [Wed, 25 Jun 2014 09:47:44 +0000 (11:47 +0200)]
[FIX] _handle_exception() logic amongst requests and ir_http objects
Changes in website's ir_http#_handle_exception():
- exception is mandatory, can't be None anymore
- we don't touch non website_enabled requests
- we don't touch explicits plain responses from parent
- logic flow is now easier to read (I hope so)
Change in website's ir_http#_dispatch():
- In case of real 404, instead of returning self._handle_exception(),
just let parent do the job (so we call super())
Christophe Simonis [Wed, 25 Jun 2014 09:35:11 +0000 (11:35 +0200)]
[MERGE] forward port of branch 7.0 up to 4bfcbb2
Alexandre Fayolle [Wed, 25 Jun 2014 08:57:10 +0000 (10:57 +0200)]
[FIX] fields property: do not create empty properties
fixes #595
In the case where a property for the company exists but has no related record (e.g. in case of type m2o with no defined value), not setting a value to this field for a new record would create a new property (as browse_null is not an instance of browse_record)
Thibault Delavallée [Wed, 25 Jun 2014 07:15:11 +0000 (09:15 +0200)]
Merge pull request #725 from odoo-dev/7.0-bug-1235237-ypa
[FIX] crm_claim: copy: reset stage + add a copy marker to the name
dhr-odoo [Fri, 20 Jun 2014 11:26:09 +0000 (16:56 +0530)]
Displayed the name of Intrasat code in Intrasat Invoice report instead of browse record
Yogesh Parekh [Tue, 24 Jun 2014 05:56:49 +0000 (11:26 +0530)]
[IMP]: Improve copy method to set stage_id in draft stage
Christophe Simonis [Tue, 24 Jun 2014 13:05:53 +0000 (15:05 +0200)]
Merge pull request #622 from odoo-dev/7.0-opw-592890-msh
[FIX] search on translated field: Only search on source field if not translated.
Mohammed Shekha [Tue, 24 Jun 2014 12:12:48 +0000 (17:42 +0530)]
Server Translation: Fixed the issue search on translated field do not return true result, search on tranlsated field fails due to expression parsing which fetches ids from ir_translation as well as working table and UNION of this makes search fruitless, also search fails for in language other then english when you enter part of a string for the field to search.
Denis Ledoux [Tue, 24 Jun 2014 11:56:51 +0000 (13:56 +0200)]
[MERGE] Forward-port of 7.0 bugfixes up to
e2201369a314feaec70a485f0459c1dcdcecd82b
Denis Ledoux [Tue, 24 Jun 2014 11:53:02 +0000 (13:53 +0200)]
[FIX] web: format.js, toString while parsing date
When attempting to parse client date, value is not always a string.
We force the toString when adding the leading 0, as the replace method is for string
Martin Trigaux [Tue, 24 Jun 2014 11:49:50 +0000 (13:49 +0200)]
Merge pull request #650 from yvaucher/patch-1
[7.0] sale_stock: field sale_id should be on stock.picking.out view
sle-odoo [Tue, 24 Jun 2014 11:40:58 +0000 (13:40 +0200)]
Merge pull request #745 from odoo-dev/saas-4-update-bootswatch-sle
[MERGE] manual merge of latest bootswatch minified stylesheets
Denis Ledoux [Tue, 24 Jun 2014 10:27:09 +0000 (12:27 +0200)]
[MERGE] Forward-port of 7.0 bugfixes up to
7d3453d119a80f484918842682ac5f4299d91e7b
Denis Ledoux [Tue, 24 Jun 2014 10:12:27 +0000 (12:12 +0200)]
[FIX] purchase_requisition: broken procurement wkf
If a purchase requisition is created instead of a purchase order for a procurement order, the method make_po should not return the id of this requisition, as methods calling the make_po method expects ids of purchase orders, not purchase requisition ids.
Besides, on purchase requisition done or cancel, we set the procurement order accordingly, without the use of the workflow. We consider this as crappy, the proper fix should be the use of a dedicated workflow for purchase requisition, but I cannot be done in stable branches. This aims trunk/master.
Simon Lejeune [Tue, 24 Jun 2014 09:48:49 +0000 (11:48 +0200)]
[MERGE] manual merge of latest bootswatch minified stylesheets
Martin Trigaux [Tue, 24 Jun 2014 07:27:16 +0000 (09:27 +0200)]
Merge pull request #739 from apertoso/7.0-bug-vat_intra
[FIX] l10n_be: VAT number for Intra XML declaration should not contain county code
Jos De Graeve [Mon, 23 Jun 2014 16:18:42 +0000 (18:18 +0200)]
[FIX] Partner VAT Intra XML delaration: Vat number format correction
The Partner VAT Intra XML delaration needs to have the VAT number
in the format without the country code prefix.
The current behaviour was to include the country code prefix in the
report which causes an SQLException error on uploading the XML file
to the Federal goverment's website. While the error is non-descriptive
fixing the VAT number format fixes the error.
Martin Trigaux [Mon, 23 Jun 2014 15:41:03 +0000 (17:41 +0200)]
Merge pull request #17 from savoirfairelinux/7.0-m2m-context
[FIX] view_list: Add context propagation for m2m list view
If the _rec_name field of a model is translatable, the value was not translated when displayed in a list view through a many2many field (e.g. server_action_ids on base.action.rule).
Martin Trigaux [Mon, 23 Jun 2014 14:21:28 +0000 (16:21 +0200)]
[FIX] calendar: do not parse date to date
When creating an event from the calendar view, no need to parse a date to date (error undefined is not a function)
Martin Trigaux [Mon, 23 Jun 2014 14:05:04 +0000 (16:05 +0200)]
Merge pull request #621 from odoo-dev/saas-4-fix_actions_server_controller_return-vta
[FIX] website: controller for server actions should accept basic werkzeug requests (e.g. redirections)
Martin Trigaux [Mon, 23 Jun 2014 11:09:36 +0000 (13:09 +0200)]
[IMP] module: when uninstalling a module, do not redirect to a useless screen
kevin wang [Mon, 23 Jun 2014 10:48:27 +0000 (12:48 +0200)]
[FIX] orm: allow unicode in inherit views with attribute
When extending a view with position='attributes', prevent crash if view contains unicode char
Fixes #706
Jeremy Kersten [Mon, 23 Jun 2014 10:22:25 +0000 (12:22 +0200)]
[MERGE] Gengo - Merge saas-4-gengo-jke - Fix gengo to make it working
Cédric Snauwaert [Mon, 23 Jun 2014 10:17:02 +0000 (12:17 +0200)]
Merge pull request #718 from odoo-dev/saas-4-modal-dropdb-fix-csn
[FIX]change password and dropdb error modal not closing
Cedric Snauwaert [Mon, 23 Jun 2014 09:25:22 +0000 (11:25 +0200)]
[FIX]modal: when trying to dropdb or change password, if rpc call result in error, modal was stuck
Jeremy Kersten [Mon, 23 Jun 2014 09:08:53 +0000 (11:08 +0200)]
[IMP] Gengo - Improve call back url to have the dbname in url, else doesn't work if no dbfilter, or if more than one db (runbot)
Christophe Simonis [Sun, 22 Jun 2014 13:33:22 +0000 (15:33 +0200)]
[MERGE] forward port of branch saas-4 up to 1f20f61
Christophe Simonis [Sun, 22 Jun 2014 13:30:57 +0000 (15:30 +0200)]
[MERGE] forward port of branch saas-3 up to 75884c3
Christophe Simonis [Sun, 22 Jun 2014 11:44:30 +0000 (13:44 +0200)]
[MERGE] forward port of branch 7.0 up to 7e85786
Christophe Simonis [Sun, 22 Jun 2014 11:21:34 +0000 (13:21 +0200)]
[FIX] server: log network errors via logging. ignore EPIPE
Jeremy Kersten [Sat, 21 Jun 2014 16:07:31 +0000 (18:07 +0200)]
[FIX] Add mising param for the call of super get_source_query
Jacques-Etienne Baudoux [Fri, 20 Jun 2014 14:10:02 +0000 (16:10 +0200)]
web: do not select the first result if click on search more
When searching for a record in a m2o field, if we click on 'search more' we loose the focus on the field and select the first suggestion (which triggers potential on_change). This prevents the selection for this case.
Ruchir Shukla [Fri, 20 Jun 2014 15:36:26 +0000 (17:36 +0200)]
[IMP] module: warning when uninstalling modules
When a module is uninstalled, this will also uninstall modules depending of it. To avoid unexpected loss of data, this patch list the modules that will get impacted during the installation.
This also affects the configuration pages with on change warnings.
Jeremy Kersten [Fri, 20 Jun 2014 15:33:09 +0000 (17:33 +0200)]
[FIX] Gengo - Update modoel ir_translation for gengo and make it working. Works with order and not job, because when you send a batch to translate, you don't know all the job but only the order.
Richard Mathot [Fri, 20 Jun 2014 12:21:05 +0000 (14:21 +0200)]
[REM] Old .bzrignore file
Martin Trigaux [Fri, 20 Jun 2014 12:04:52 +0000 (14:04 +0200)]
[IMP] web: allow fields in list view to use the attrs readonly to dynamically show and hide the fields
Christophe Simonis [Fri, 20 Jun 2014 10:30:44 +0000 (12:30 +0200)]
[MERGE] forward port of branch saas-4 up to 4be9142
Christophe Simonis [Fri, 20 Jun 2014 10:27:55 +0000 (12:27 +0200)]
[FIX] web: regenerate messed up `base.css` during commit 5087612
odony [Fri, 20 Jun 2014 09:02:22 +0000 (11:02 +0200)]
Merge pull request #611 from odoo-dev/saas-3-really-fix-session-expired-fme
[MERGE] http routing: fix handle_exception logic and _authenticate exceptions
* Better separate JsonRequest and HttpRequest handling
for exceptions, so each type of request handles exception
the right way. Previously HttpRequest would supersede
JsonRequest in some cases and generate pure HTML
responses where a JSON result was expected.
* Also ensure that ir.http._authenticate() only raises
two possible exception types, hiding any other kind
of internal errors:
- openerp.exceptions.AccessDenied
- openerp.http.SessionExpiredException
Thibault Delavallée [Tue, 10 Jun 2014 11:16:14 +0000 (13:16 +0200)]
[IMP] account: removed demo data about unexisting field, causing a warning.
Christophe Simonis [Thu, 19 Jun 2014 14:13:35 +0000 (16:13 +0200)]
[MERGE] forward port of branch saas-4 up to 5087612
Martin Trigaux [Thu, 19 Jun 2014 14:01:23 +0000 (16:01 +0200)]
Merge pull request #325 from odoo-dev/saas-3-opw-608186-acl
[FIX] sale: cannot filter on paid = False (opw 608186)
Christophe Simonis [Thu, 19 Jun 2014 13:44:07 +0000 (15:44 +0200)]
[MERGE] forward port of branch saas-3 up to bf53aed
Christophe Simonis [Thu, 19 Jun 2014 13:32:32 +0000 (15:32 +0200)]
[MERGE] forward port of branch 7.0 up to e5533d0
Niels Huylebroeck [Thu, 19 Jun 2014 09:36:59 +0000 (11:36 +0200)]
Fix displaying of minKarma requirements
Martin Trigaux [Thu, 19 Jun 2014 13:16:01 +0000 (15:16 +0200)]
Merge pull request #654 from nel-odoo/patch-3
Production : Use the source location of the MO instead of the one of the BOM
Denis Ledoux [Thu, 19 Jun 2014 12:58:44 +0000 (14:58 +0200)]
[FIX] web: focused field in view editable list
When adding an item to the editable list, the focused field was no longer the first visible field
This is related to revision
4a508885ac043b25465aa5741955082aa66ce949
visible_columns list is not ordered
Najlaâ El Khayat [Thu, 19 Jun 2014 12:51:32 +0000 (14:51 +0200)]
Production : Source location of the BOM
Use the source location defined on the current MO's routing not directly on the BOM
Paramjit Singh Sahota [Thu, 19 Jun 2014 12:45:56 +0000 (14:45 +0200)]
[FIX] website: correct selector
The selector to toggle the theme was triggered too often (on almost each button) but had no effect because no view-id was present.
Patch fix #627
Yannick Vaucher [Thu, 19 Jun 2014 12:10:24 +0000 (14:10 +0200)]
Fix sale_id on stock.picking.out view
View inheritance is on the wrong model after model change of stock.picking.
Here we just fix the model.
Guillermo Bisheimer [Wed, 18 Jun 2014 13:52:24 +0000 (10:52 -0300)]
wrong domain in action_reception_picking_move in addons/stock/stock_view.xml
xmo-odoo [Thu, 19 Jun 2014 11:31:41 +0000 (13:31 +0200)]
Merge pull request #648 from odoo-dev/7.0-fix-searchbar-navigation-ged
[FIX] fixes searchbar navigation (web client)
Thibault Delavallée [Thu, 19 Jun 2014 10:56:46 +0000 (12:56 +0200)]
[FIX] Fix attach icon that was under the upload label.
Géry Debongnie [Thu, 19 Jun 2014 10:43:25 +0000 (12:43 +0200)]
[FIX] fixes searchbar navigation (web client)
the code handling the keydown events was moved, but the variable this
was not adjusted accordingly, resulting in a broken navigation.
It is now possible to press LEFT and RIGHT again to move the focus
between facets.
Thibault Delavallée [Thu, 19 Jun 2014 10:26:24 +0000 (12:26 +0200)]
[FIX] web_calendar: check for edit access rights + use correct display mode (view or edit) when going into a document form view from the calendar.
xmo-odoo [Thu, 19 Jun 2014 10:09:39 +0000 (12:09 +0200)]
Merge pull request #643 from xmo-odoo/fix-svg-in-rte
Ignore SVG elements when looking for edition events
Thibault Delavallée [Thu, 19 Jun 2014 10:04:32 +0000 (12:04 +0200)]
Merge pull request #138 from odoo-dev/saas-3-bug_1307341-ptr
[FIX] kanban: ie9: fixed the display of 'show more' button
Xavier Morel [Thu, 19 Jun 2014 09:39:14 +0000 (11:39 +0200)]
[FIX] website: ignore SVG elements when looking for edition events in RTE
Denis Ledoux [Thu, 19 Jun 2014 08:55:17 +0000 (10:55 +0200)]
[FIX] account_analytic_analysis: recurring_create_invoice
If no contract found, just pass, to avoid making the sql request
dreispt [Wed, 18 Jun 2014 15:41:51 +0000 (16:41 +0100)]
Fix wrong partner_id refs in Project demo data
Thibault Delavallée [Thu, 19 Jun 2014 07:33:36 +0000 (09:33 +0200)]
[FIX] website_mail: restored follow JS code that was wrongly merged with the mail group follow snippet. Now both widget animation exists, the second being more complex and therefore requiring a different animation.
dhr-odoo [Fri, 13 Jun 2014 10:38:12 +0000 (16:08 +0530)]
Removed widge=selection from account_id field in line in Purchase Receipt, as it only displays limited records(100) from the limit set in the name_search
Martin Trigaux [Wed, 18 Jun 2014 15:45:19 +0000 (17:45 +0200)]
Merge pull request #616 from odoo-dev/7.0-opw-608485-rgo
[FIX] l10n_be_invoice_bba: random generation do not use sequence, so should be 10 char long during padding
Fabien Meghazi [Wed, 18 Jun 2014 14:56:46 +0000 (16:56 +0200)]
git commit -a -mm
Fabien Meghazi [Wed, 18 Jun 2014 13:40:09 +0000 (15:40 +0200)]
Bring back exception conversion to Forbidden
Olivier Dony [Wed, 18 Jun 2014 13:22:44 +0000 (15:22 +0200)]
[FIX] auth_crypt: encrypt all passwords at installation
When `base_crypt` was updated for v7, the auto-encryption
at installation was dropped, with user passwords only
encrypted on-demand whenever the user would connect.
It is important to encrypt all passwords immediately to
prevent password compromission for user who do not
login often or even for deactivated users who are not
allowed to login anymore.
Fixes https://bugs.launchpad.net/openobject-addons/+bug/1280152
Based on LP merge proposal by Nicolas Bessi (Camptocamp):
https://code.launchpad.net/~camptocamp/openobject-addons/improve_auth_crypt_3_please_launchpad_work-nbi/+merge/206476
Anael Closson [Wed, 18 Jun 2014 12:33:35 +0000 (14:33 +0200)]
[FIX] mail: more robust parsing of In-Reply-To/References (OPW 608919)
When parsing incoming messages, ignore white-space around
In-Reply-To headers, and extract message-id items inside
the References header using a regex.
This actually serves as a workaround for broken MTAs
mangling References (such as outlook.com nesting past ones
with commas, violating RFC2822).
Closes #516 as a manual rebase.
Fabien Meghazi [Wed, 18 Jun 2014 12:31:16 +0000 (14:31 +0200)]
Changed as per the recommandation of Sir Odo
FalcoBolger [Wed, 18 Jun 2014 11:39:30 +0000 (13:39 +0200)]
[FIX] Accept http responses as server action response