Thibault Delavallée [Thu, 3 Jul 2014 11:19:13 +0000 (13:19 +0200)]
[FIX] marketing_campaign: reporting: use the menu already define in marketing module instead of re-adding a new menu.
Christophe Simonis [Tue, 1 Jul 2014 15:11:46 +0000 (17:11 +0200)]
[FIX] stock: backport fixes from master
Christophe Simonis [Tue, 1 Jul 2014 13:23:11 +0000 (15:23 +0200)]
[FIX] product: add missing dependency: report
Olivier Dony [Sun, 29 Jun 2014 00:13:34 +0000 (02:13 +0200)]
[FIX] website_sale_delivery: missing refactoring related to
a5ca54fd5b068
Denis Ledoux [Fri, 27 Jun 2014 15:26:03 +0000 (17:26 +0200)]
[FIX] website_sale_delivery: Should be installable
Has been set as not install-able for testing purposes, in commit
ff37d0ebcaed01b628be188c4b0a29810765d18c
Christophe Simonis [Fri, 27 Jun 2014 14:08:09 +0000 (16:08 +0200)]
[MERGE] forward port of branch saas-4 up to a4bc65c
Christophe Simonis [Fri, 27 Jun 2014 14:06:37 +0000 (16:06 +0200)]
[MERGE] forward port of branch saas-3 up to bdc4dd4
Christophe Simonis [Fri, 27 Jun 2014 14:00:28 +0000 (16:00 +0200)]
[MERGE] forward port of branch 7.0 up to 95cff0b
Martin Trigaux [Fri, 27 Jun 2014 13:43:11 +0000 (15:43 +0200)]
[FIX] view_form: backport of commit
180212b9996c049eacf06fd15b00087944fca869 (opw 609787)
Martin Trigaux [Fri, 27 Jun 2014 13:28:34 +0000 (15:28 +0200)]
[FIX] view_list: hide pager in view group
Displaying the pagert in view group does not make sense as it's not updated when changing filter and every group (even if more than 80) is displayed in view group
Denis Ledoux [Fri, 27 Jun 2014 12:52:44 +0000 (14:52 +0200)]
[FIX] hr_recruitment: mt applicant created default
If you are follower of a job position, you receive a notification on applicant created by default
Olivier Dony [Fri, 27 Jun 2014 11:04:42 +0000 (13:04 +0200)]
[FIX] website: avoid hiding the signin info for users who are not employees nor portal users
This happens when you do a plain signup, you
end up as neither an employee nor a portal user,
but should still now when you are logged in.
Olivier Dony [Fri, 27 Jun 2014 10:56:24 +0000 (12:56 +0200)]
[FIX] website: exception handling: let redirects pass untouched
The website module normally tries to render user-friendly
error pages for any error occurring during the processing
of a website-enabled request.
This happens even for werkzeug's HTTPExceptions that have
their own response, because we want the website layout to
be applied on top of the error page.
One special sort of HTTPException should be preserved
without rewriting: the manually-crafted ones generated
with abort(), and usually wrapping a redirect response,
which bears no alteration.
Denis Ledoux [Fri, 27 Jun 2014 11:03:52 +0000 (13:03 +0200)]
[FIX] web: no switch_mode trigger if not switched
The switch mode event was triggered even if the view was not actually switched
This leaded to inconsistencies, like adding the view in the breadcrumb history, while the switch did not happen
Martin Trigaux [Fri, 27 Jun 2014 08:49:07 +0000 (10:49 +0200)]
Revert "[FIX] calendar: do not parse date to date"
The parse_value has been fixed and is required to make sure we have a timezone assigned in the date
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
Martin Trigaux [Thu, 26 Jun 2014 14:09:34 +0000 (16:09 +0200)]
Merge pull request #673 from guewen/lp-1319285-translation-overwrite-module-update
[FIX] loading: overwrite translation on module update if option --i18n-overwrite is set
Simon Lejeune [Thu, 26 Jun 2014 13:56:18 +0000 (15:56 +0200)]
[IMP] cosmetic changes
Martin Trigaux [Thu, 26 Jun 2014 13:31:55 +0000 (15:31 +0200)]
[FIX] hr_timesheet_sheet: accept custom fields in timesheets
When creating hr.analytic.timesheet do not filter the list of fields to accept but set the list of fields to remove.
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
Denis Ledoux [Thu, 26 Jun 2014 11:41:29 +0000 (13:41 +0200)]
[FIX] server: db service, drop connection on drop
On database drop or rename, close the existing sql connections
Martin Trigaux [Thu, 26 Jun 2014 10:19:42 +0000 (12:19 +0200)]
Merge pull request #783 from acsone/7.0-bugfix-l10n_be_coda_lga
[fIX] l10n_be_coda : do not try to create res.partner.bank without partner_id (required field)
Laetitia Gangloff [Thu, 26 Jun 2014 10:14:26 +0000 (12:14 +0200)]
l10n_be_coda : do not try to create res.partner.bank when set no partner in an account.bank.statement.line
Martin Trigaux [Thu, 26 Jun 2014 09:49:39 +0000 (11:49 +0200)]
Merge pull request #572 from odoo-dev/7.0-opw-609069-fka
[IMP] l10n_fr_hr_payroll: make sure the date format of Fiche de paie report is in french
report_sxw: make sure we have a fallback on en_US if trying to load an format in unknown language
Cedric Snauwaert [Thu, 26 Jun 2014 09:19:37 +0000 (11:19 +0200)]
[FIX]tooltip: fix various display problems with the tooltip
fka-odoo [Thu, 26 Jun 2014 09:14:11 +0000 (14:44 +0530)]
[FIX] improved date format in fiche de paie report
Laetitia Gangloff [Thu, 26 Jun 2014 09:00:20 +0000 (11:00 +0200)]
l10n_be_coda : do not try to create res.partner.bank when set no partner in an account.bank.statement.line
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:53:59 +0000 (18:53 +0200)]
[FIX] mail: leftover debug text in ir.attachment kanban view
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
Richard Mathot [Wed, 25 Jun 2014 13:34:39 +0000 (15:34 +0200)]
[REM] Bazaar leftovers...
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.
Martin Trigaux [Wed, 25 Jun 2014 12:42:55 +0000 (14:42 +0200)]
[FIX] base_action_rule: more flexible wrapper signature
Some objects (e.g. account.move.line) have a different signature than the classical 'cr, uid, ids, vals, context=None' and may add extra arguments.
This fix allows to create rules on these objects and still pass the valid arguments.
(opw 609204)
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
Yann Papouin [Fri, 20 Jun 2014 09:48:18 +0000 (11:48 +0200)]
Overwrite translation on module update if option is set
Launchpad bug: https://bugs.launchpad.net/ocb-server/+bug/1319285
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