odoo/odoo.git
9 years ago[FIX] website_forum: fixed controller creating a new forum tha was crashing.
Thibault Delavallée [Tue, 15 Jul 2014 09:15:27 +0000 (11:15 +0200)]
[FIX] website_forum: fixed controller creating a new forum tha was crashing.

9 years ago[MERGE] forward port of branch saas-3 up to 24484c8
Christophe Simonis [Tue, 15 Jul 2014 08:38:14 +0000 (10:38 +0200)]
[MERGE] forward port of branch saas-3 up to 24484c8

9 years ago[MERGE] forward port of branch 7.0 up to 7a928b1
Christophe Simonis [Tue, 15 Jul 2014 08:36:54 +0000 (10:36 +0200)]
[MERGE] forward port of branch 7.0 up to 7a928b1

9 years ago[FIX] project: default_groups_ref expects the format module.xml_id (opw 610098)
Martin Trigaux [Mon, 14 Jul 2014 14:39:13 +0000 (16:39 +0200)]
[FIX] project: default_groups_ref expects the format module.xml_id (opw 610098)

9 years ago[FIX] website_forum: fixed karma computation, on first vote the karma was wrongly...
Thibault Delavallée [Fri, 11 Jul 2014 14:17:54 +0000 (16:17 +0200)]
[FIX] website_forum: fixed karma computation, on first vote the karma was wrongly calculated (when creating a vote, not when updating it).

9 years ago[FIX] tools: mail: fixed last commit, solving an issue with the html2plaintext introd...
Thibault Delavallée [Fri, 11 Jul 2014 13:31:44 +0000 (15:31 +0200)]
[FIX] tools: mail: fixed last commit, solving an issue with the html2plaintext introduced another issue with notes. Reverting to the first version.

9 years ago[FIX] l10n_lu: wrong mapping of accounts to P&L financial report
Stéphane Bidoul [Mon, 23 Jun 2014 14:54:45 +0000 (16:54 +0200)]
[FIX] l10n_lu: wrong mapping of accounts to P&L financial report

Account 655 and its child 6554 were both mapped.
Fixed by unmapping 655 and mapping all its direct children.

(Manual rebase of PR #733)

9 years ago[FIX] l10n_lu: taxes (amont/aval)
Stéphane Bidoul [Mon, 23 Jun 2014 15:01:19 +0000 (17:01 +0200)]
[FIX] l10n_lu: taxes (amont/aval)

The accounts "TVA en amont" were not used by the l10n_lu chart of accounts.

Instead the accounts "TVA en aval" were used for all taxes both sale and purchase taxes.

(Manual rebase of PR #735)

9 years ago[FIX] base: make ir_attachment._filestore callable with kwargs
Christophe Simonis [Fri, 11 Jul 2014 12:58:32 +0000 (14:58 +0200)]
[FIX] base: make ir_attachment._filestore callable with kwargs

9 years ago[FIX] web_calendar: Revert d9e6a7a as was fixed differently at rev e220136
Martin Trigaux [Fri, 11 Jul 2014 11:57:45 +0000 (13:57 +0200)]
[FIX] web_calendar: Revert d9e6a7a as was fixed differently at rev e220136

Fixing calendar view errors, opw 609989

9 years ago[MERGE] Fwd-port saas-3 up to a9d2b65
Olivier Dony [Fri, 11 Jul 2014 09:53:07 +0000 (11:53 +0200)]
[MERGE] Fwd-port saas-3 up to a9d2b65

9 years ago[MERGE] Fwd-port 7.0 up to 783b9e1
Olivier Dony [Fri, 11 Jul 2014 09:51:06 +0000 (11:51 +0200)]
[MERGE] Fwd-port 7.0 up to 783b9e1

9 years ago[FIX] event_sale: reset event-related fields on SO line when switching products
Olivier Dony [Fri, 11 Jul 2014 08:49:48 +0000 (10:49 +0200)]
[FIX] event_sale: reset event-related fields on SO line when switching products

9 years ago[FIX] hr: call hr_employee super's when unlinking
Richard Mathot [Fri, 11 Jul 2014 09:30:29 +0000 (11:30 +0200)]
[FIX] hr: call hr_employee super's when unlinking

Also fixes some weird inheritance bugs in upper versions

9 years ago[FIX] orm: custom m2m with different label
Martin Trigaux [Fri, 11 Jul 2014 09:39:32 +0000 (11:39 +0200)]
[FIX] orm: custom m2m with different label

At rev 84e9a67cdf78db94cb7a09543c1b7ac4ad19d8b4 a check to avoid the creation of ir.model.relation for custom modules was added. The condition is not correct as based on the string instead of the field name. We do not have access to column name at this level but the the m2m relation table do start with x_ for custom fields (see __init__ method).

9 years agoMerge pull request #724 from odoo-dev/7.0-mail_issues-fix-adh
Thibault Delavallée [Thu, 10 Jul 2014 20:50:53 +0000 (22:50 +0200)]
Merge pull request #724 from odoo-dev/7.0-mail_issues-fix-adh

[FIX] mail: misc bug fixing
- avoid deleting the Whole Company mail group if still present, because it is required for some module installation. In 7.0 installing some modules may crash if this group is not present.
- fixed an issue when computing possible recipients in the Chatter
- small fix in html2plaintext about blank lines

9 years ago[MERGE] forward port of branch saas-3 up to a35aec2
Christophe Simonis [Thu, 10 Jul 2014 20:02:58 +0000 (22:02 +0200)]
[MERGE] forward port of branch saas-3 up to a35aec2

9 years ago[MERGE] forward port of branch 7.0 up to 6e96ffd
Christophe Simonis [Thu, 10 Jul 2014 20:02:01 +0000 (22:02 +0200)]
[MERGE] forward port of branch 7.0 up to 6e96ffd

9 years ago[TYPO] in website_partner
Richard Mathot [Thu, 10 Jul 2014 18:28:21 +0000 (20:28 +0200)]
[TYPO] in website_partner

9 years ago[FIX] stock: remove permission to create locations for partner managers
Loïc Bellier [Thu, 10 Jul 2014 11:20:00 +0000 (13:20 +0200)]
[FIX] stock: remove permission to create locations for partner managers

There's a big risk of mistake with the fast-create
feature and they don't need it

(Rebase of PR #1073)

9 years ago[FIX] Solve some mail issues which are currently present in 7.0
Anand-Dharampuriya [Tue, 1 Jul 2014 10:24:23 +0000 (15:54 +0530)]
[FIX] Solve some mail issues which are currently present in 7.0

9 years ago[FIX] mail: bad display of aliases on user forms
Richard Mathot [Thu, 10 Jul 2014 13:22:03 +0000 (15:22 +0200)]
[FIX] mail: bad display of aliases on user forms

(Partial backport of commit 1f8615699105e75ccbe9dc36c8ff9266868bbfb0)

Closes #800.

9 years ago[TYPO] in event, event_sale
Richard Mathot [Thu, 10 Jul 2014 12:11:01 +0000 (14:11 +0200)]
[TYPO] in event, event_sale

9 years agoFIX email_template: Update help from lang field leading to confusion while creating...
FalcoBolger [Wed, 9 Jul 2014 08:33:01 +0000 (10:33 +0200)]
FIX email_template: Update help from lang field leading to confusion while creating a template

9 years ago[FIX] event_sale: do not crash when empty field product in ticket types lines
FalcoBolger [Thu, 10 Jul 2014 09:26:19 +0000 (11:26 +0200)]
[FIX] event_sale: do not crash when empty field product in ticket types lines

9 years ago[FIX] account_analytic_account: handle partners without fiscal position gracefully
Olivier Dony [Tue, 8 Jul 2014 15:44:40 +0000 (17:44 +0200)]
[FIX] account_analytic_account: handle partners without fiscal position gracefully

9 years ago[FIX] orm: better removal of custom m2m fields
Martin Trigaux [Tue, 8 Jul 2014 13:56:24 +0000 (15:56 +0200)]
[FIX] orm: better removal of custom m2m fields

orm: do not try to create ir.model.relation for custom m2m as self._module is either empty (for custom models), either the one of the last inheriting module (which is wrong). The field should be removed manually and should not be impacted by the uninstallation of modules. The removal of the relation table can be done when removing manually the custom field (see rev 6af3193).

ir.model: when removing a model, drop the table with the CASCADE instruction. This will remove left constraints from remaining m2m tables.
This means that dropping a table (either manually removing a custom model or uninstalling a module) will not drop the relation table for a custom m2m field. This is not ideal but better than the previous behaviour (which was to fail the DROP TABLE instruction and keep the table with a few columns and unconsistent data).

9 years ago[FIX] Crm partner assign: Sort the partners by grade / published implemented. else...
Jeremy Kersten [Tue, 8 Jul 2014 13:54:00 +0000 (15:54 +0200)]
[FIX] Crm partner assign: Sort the partners by grade / published implemented. else the display are not explicit on website, because old order takes all the implemented partner but on website we display the number of reference published

9 years ago[FIX] ir.model.fields: better unlink
Martin Trigaux [Tue, 8 Jul 2014 11:55:48 +0000 (13:55 +0200)]
[FIX] ir.model.fields: better unlink

When droping a column, remove also the relation table in case of custom m2m field.
The relation table needs to be dropped otherwise an unremovable constraint to the targetted table is kept (and anyway is not needed anymore).

9 years agoMerge pull request #946 from joshuajan/7.0_hr_holidays_report_fix
antonylesuisse [Mon, 7 Jul 2014 18:48:19 +0000 (20:48 +0200)]
Merge pull request #946 from joshuajan/7.0_hr_holidays_report_fix

skip the inactivate employee in leaves summary

9 years ago[FIX] configuration file dbfilter's option has no effect
Fabien Meghazi [Thu, 8 May 2014 07:50:25 +0000 (09:50 +0200)]
[FIX] configuration file dbfilter's option has no effect

lp bug: https://launchpad.net/bugs/940439 fixed

bzr revid: fme@openerp.com-20140508075025-yszqmzie1z4n7l4j

9 years ago[FIX] portal: avoid errors during autovacuum
Martin Trigaux [Mon, 7 Jul 2014 15:12:27 +0000 (17:12 +0200)]
[FIX] portal: avoid errors during autovacuum

When the cron for autovacuum runs, the osv_memory objects are deleted. The portal.wizard.user object has a required field (wizard_id) linked to another osv_memory object (portal.user) which causes a traceback when the cron tries to delete portal.user object before the portal.wizard.user. opw 609918

9 years agoUpdate holidays_summary_report.py
JoshuaJan [Mon, 7 Jul 2014 10:17:20 +0000 (18:17 +0800)]
Update holidays_summary_report.py

9 years agoUpdate holidays_summary_report.py
JoshuaJan [Mon, 7 Jul 2014 09:30:25 +0000 (17:30 +0800)]
Update holidays_summary_report.py

Add context to search method

9 years agoskip the inactivate employee in leaves summary
JoshuaJan [Sun, 6 Jul 2014 09:41:07 +0000 (17:41 +0800)]
skip the inactivate employee in leaves summary

9 years ago[MERGE] Forward-port saas-3 up to 4fa30f5
Olivier Dony [Fri, 4 Jul 2014 23:04:19 +0000 (01:04 +0200)]
[MERGE] Forward-port saas-3 up to 4fa30f5

9 years ago[FIX] mass_mailing: avoid mutable values for dict.fromkeys(), simplify with RIGHT...
Olivier Dony [Fri, 4 Jul 2014 21:56:22 +0000 (23:56 +0200)]
[FIX] mass_mailing: avoid mutable values for dict.fromkeys(), simplify with RIGHT JOIN

9 years ago[FIX] mass_mailing: wrong copy-paste of statistics computation code
Olivier Dony [Fri, 4 Jul 2014 21:15:22 +0000 (23:15 +0200)]
[FIX] mass_mailing: wrong copy-paste of statistics computation code

Mixes the mass_mailing_id and mass_mailing_campaign_id
between the two models. Introduced by 9fc4ad9, PR #472

9 years ago[MERGE] Forward-port of 7.0 up to 64ac1b0
Olivier Dony [Fri, 4 Jul 2014 15:07:53 +0000 (17:07 +0200)]
[MERGE] Forward-port of 7.0 up to 64ac1b0

9 years ago[FIX] document: replace raw SQL constraint with bad parameter passing with builtin...
Olivier Dony [Fri, 4 Jul 2014 14:53:26 +0000 (16:53 +0200)]
[FIX] document: replace raw SQL constraint with bad parameter passing with builtin check_recursion

This instance was not actually exploitable for
SQL injection as it is not callable directly
via RPC and guarded by other queries when indirectly
called. Still plain awful.

9 years ago[FIX] hr_holidays: proper parameter passing syntax for raw SQL
Olivier Dony [Fri, 4 Jul 2014 14:45:41 +0000 (16:45 +0200)]
[FIX] hr_holidays: proper parameter passing syntax for raw SQL

This instance was not actually exploitable for
SQL injection as it is not callable directly
via RPC and guarded by other queries when indirectly
called. Still plain awful.

9 years ago[FIX] l10n_multilang: reduce dependencies of l10n_multilang
Martin Trigaux [Fri, 4 Jul 2014 12:02:04 +0000 (14:02 +0200)]
[FIX] l10n_multilang: reduce dependencies of l10n_multilang

The installation of a multilang localisation (e.g. Belgium) used to install as well account_accountant (and then account_voucher) for no technical reason and was considered as the full accounting package.

9 years agoMerge pull request #906 from odoo-dev/saas-3-contactus-jke
JKE-be [Thu, 3 Jul 2014 20:56:06 +0000 (22:56 +0200)]
Merge pull request #906 from odoo-dev/saas-3-contactus-jke

[IMP] website_crm - cherry pick from 29ad0216e37fd23e33b75ee8d24b095f181...

9 years agoMerge pull request #907 from odoo-dev/saas-4-contactus-jke
JKE-be [Thu, 3 Jul 2014 20:55:32 +0000 (22:55 +0200)]
Merge pull request #907 from odoo-dev/saas-4-contactus-jke

[IMP] website_crm - cherry pick from 29ad0216e37fd23e33b75ee8d24b095f181...

9 years ago[IMP] website_crm - cherry pick from 29ad0216e37fd23e33b75ee8d24b095f181e2e31 - Impro...
Jeremy Kersten [Thu, 3 Jul 2014 19:39:19 +0000 (21:39 +0200)]
[IMP] website_crm - cherry pick from 29ad0216e37fd23e33b75ee8d24b095f181e2e31 - Improve contact_us to fill in all fields from the model crm_lead posted in the form except a blacklist of fields.

9 years ago[IMP] website_crm - cherry pick from 29ad0216e37fd23e33b75ee8d24b095f181e2e31 - Impro...
Jeremy Kersten [Thu, 3 Jul 2014 19:33:53 +0000 (21:33 +0200)]
[IMP] website_crm - cherry pick from 29ad0216e37fd23e33b75ee8d24b095f181e2e31 - Improve contact_us to fill in all fields from the model crm_lead posted in the form except a blacklist of fields.

9 years ago[FIX] res_partner: backport of rev 37bf72a
Martin Trigaux [Thu, 3 Jul 2014 10:30:48 +0000 (12:30 +0200)]
[FIX] res_partner: backport of rev 37bf72a

Correctly take the 'use parent address' into account in the onchange. Slightly updated the view that was weird with this parameter. opw 609344

9 years ago[TYPO] Stupid typo...
Richard Mathot [Thu, 3 Jul 2014 07:36:46 +0000 (09:36 +0200)]
[TYPO] Stupid typo...

9 years ago[FIX] RML reporting: understandable crash message
Richard Mathot [Wed, 2 Jul 2014 15:29:13 +0000 (17:29 +0200)]
[FIX] RML reporting: understandable crash message

When tag <drawString> is misused in an RML report, logs a more explicit
error

9 years ago[FIX] website: avoid divisions by zero when no record to display
Martin Trigaux [Wed, 2 Jul 2014 14:25:24 +0000 (16:25 +0200)]
[FIX] website: avoid divisions by zero when no record to display

9 years ago[FIX] Fixes #273: avoid double-warning when changing the quantity of a stock move
Lionel Sausin (Numérigraphe) [Sat, 31 May 2014 17:00:34 +0000 (19:00 +0200)]
[FIX] Fixes #273: avoid double-warning when changing the quantity of a stock move

9 years ago[FIX] auth_oauth: hide invalid providers from login screen
Richard Mathot [Wed, 2 Jul 2014 12:07:52 +0000 (14:07 +0200)]
[FIX] auth_oauth: hide invalid providers from login screen

9 years ago[FIX] auth_oauth: prevent crash on login screen
Richard Mathot [Wed, 2 Jul 2014 11:56:11 +0000 (13:56 +0200)]
[FIX] auth_oauth: prevent crash on login screen

Empty URLs for OAuth providers do not crash anymore the login screen

9 years ago[FIX] mail: fixed display issue with the like button
Thibault Delavallée [Wed, 2 Jul 2014 08:25:53 +0000 (10:25 +0200)]
[FIX] mail: fixed display issue with the like button

9 years ago[FIX] survey: catch exception while quizz mode
Richard Mathot [Tue, 1 Jul 2014 13:56:50 +0000 (15:56 +0200)]
[FIX] survey: catch exception while quizz mode

9 years ago[FIX] project_issue_sheet: make invoiceable field autofield for worklogs
Martin Trigaux [Tue, 1 Jul 2014 13:48:53 +0000 (15:48 +0200)]
[FIX] project_issue_sheet: make invoiceable field autofield for worklogs

When setting a worklog on a project_issue, the field to_invoice is prefilled with on_change_account_id based on the contract settings. As the field was not present on the list view, the information was lost and every worklog was not written as invoiceable, even if enabled on the contract. opw 609082.

9 years ago[FIX] survey: bug while recording comments
Richard Mathot [Tue, 1 Jul 2014 13:37:27 +0000 (15:37 +0200)]
[FIX] survey: bug while recording comments

9 years ago[FIX] survey: Nasty brackets...
Richard Mathot [Tue, 1 Jul 2014 12:51:00 +0000 (14:51 +0200)]
[FIX] survey: Nasty brackets...

9 years ago[MERGE] Fwd-port of 7.0 up to 3d31341
Olivier Dony [Tue, 1 Jul 2014 10:28:55 +0000 (12:28 +0200)]
[MERGE] Fwd-port of 7.0 up to 3d31341

9 years ago[FIX] web_linkedin: update master img CDN domain, recently changed
Olivier Dony [Tue, 1 Jul 2014 10:22:28 +0000 (12:22 +0200)]
[FIX] web_linkedin: update master img CDN domain, recently changed

9 years ago[FIX] rml: avoid reports ending by zero (opw 608073)
Martin Trigaux [Tue, 1 Jul 2014 09:29:22 +0000 (11:29 +0200)]
[FIX] rml: avoid reports ending by zero (opw 608073)

Commit b6a7402 (reverted at f8671cb) was almost correct, the PageReset should be added at the end of each stories but only if we have one more stories.
The PageReset will force the page count to be reseted at zero which means that last page of report would have been at zero.

9 years ago[IMP] website: backport 5112421a (unslug)
Jeremy Kersten [Mon, 30 Jun 2014 16:29:20 +0000 (18:29 +0200)]
[IMP] website: backport 5112421a (unslug)

Update the regexp to be not case sensitive

9 years ago[FIX] website - force to test isdigit on a string else a tb "'int' object has no...
Jeremy Kersten [Mon, 30 Jun 2014 10:27:49 +0000 (12:27 +0200)]
[FIX] website - force to test isdigit on a string else a tb  "'int' object has no attribute 'isdigit'" can exist if the page var was right and so already and int

9 years ago[FIX] Website pager - Be sure that page in get param is a digit else use page 1.
Jeremy Kersten [Mon, 30 Jun 2014 10:10:49 +0000 (12:10 +0200)]
[FIX] Website pager - Be sure that page in get param is a digit else use page 1.

Need to find which controller add ?page= instead of &page= because google find some url with '?page=1?page=2' --> page = '1?page=2'. According to google, the referrer is the old website.

9 years ago[FIX] auth_signup: discard signup values that may overwriting existing info
Olivier Dony [Mon, 30 Jun 2014 09:58:11 +0000 (11:58 +0200)]
[FIX] auth_signup: discard signup values that may overwriting existing info

9 years agoMerge pull request #830 from odoo-dev/saas-4-mailing-lists-imp-tde
Thibault Delavallée [Mon, 30 Jun 2014 09:32:55 +0000 (11:32 +0200)]
Merge pull request #830 from odoo-dev/saas-4-mailing-lists-imp-tde

[IMP] [BACKPORT] Mailing lists usability improvements: headers related t...

9 years ago[IMP] [BACKPORT] Mailing lists usability improvements: headers related to mailing...
Thibault Delavallée [Mon, 30 Jun 2014 09:04:24 +0000 (11:04 +0200)]
[IMP] [BACKPORT] Mailing lists usability improvements: headers related to mailing lists, use of email queue for notification emails (> 50 followers), archive website template imp and fix. Backport of commit 839815f of saas-5 (PR 502).

9 years agoMerge pull request #472 from acsone/bug-469-amu
Thibault Delavallée [Mon, 30 Jun 2014 08:49:43 +0000 (10:49 +0200)]
Merge pull request #472 from acsone/bug-469-amu

[FIX] mass mailing: performance issue on stats #469: use SQL to compute mailing / campaign statistics on mail mail statistics model.

9 years ago[FIX] website_event - Check that template exists before to render it
Jeremy Kersten [Mon, 30 Jun 2014 08:46:30 +0000 (10:46 +0200)]
[FIX] website_event - Check that template exists before to render it

9 years agoMerge pull request #806 from nbessi/fix_hr_payroll_import
antonylesuisse [Sun, 29 Jun 2014 02:46:05 +0000 (04:46 +0200)]
Merge pull request #806 from nbessi/fix_hr_payroll_import

Fix wrong relative import of hr_payroll

9 years ago[IMP] res_partner: more fault tolerant name_create
Jacques-Etienne Baudoux [Fri, 27 Jun 2014 14:47:20 +0000 (16:47 +0200)]
[IMP] res_partner: more fault tolerant name_create

In case of invalid format such as 'name email@server' (missing chevrons), the parsing would be failing due to a strict behaviour of getaddresses (returns nameemail@server).
With the patch this format is accepted.
opw 607312

9 years ago[MERGE] forward port of branch saas-3 up to bdc4dd4
Christophe Simonis [Fri, 27 Jun 2014 14:06:37 +0000 (16:06 +0200)]
[MERGE] forward port of branch saas-3 up to bdc4dd4

9 years ago[MERGE] forward port of branch 7.0 up to 95cff0b
Christophe Simonis [Fri, 27 Jun 2014 14:00:28 +0000 (16:00 +0200)]
[MERGE] forward port of branch 7.0 up to 95cff0b

9 years ago[FIX] view_form: backport of commit 180212b9996c049eacf06fd15b00087944fca869 (opw...
Martin Trigaux [Fri, 27 Jun 2014 13:43:11 +0000 (15:43 +0200)]
[FIX] view_form: backport of commit 180212b9996c049eacf06fd15b00087944fca869 (opw 609787)

9 years ago[FIX] view_list: hide pager in view group
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

9 years ago[FIX] hr_recruitment: mt applicant created default
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

9 years agoFix wrong relative import of hr_payroll
Nicolas Bessi [Fri, 27 Jun 2014 12:19:34 +0000 (14:19 +0200)]
Fix wrong relative import of hr_payroll

9 years ago[FIX] website: avoid hiding the signin info for users who are not employees nor porta...
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.

9 years ago[FIX] website: exception handling: let redirects pass untouched
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.

9 years ago[FIX] web: no switch_mode trigger if not switched
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

9 years agoRevert "[FIX] calendar: do not parse date to date"
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

9 years agoMerge pull request #673 from guewen/lp-1319285-translation-overwrite-module-update
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

9 years ago[FIX] hr_timesheet_sheet: accept custom fields in timesheets
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.

9 years ago[FIX] server: db service, drop connection on drop
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

9 years agoMerge pull request #783 from acsone/7.0-bugfix-l10n_be_coda_lga
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)

9 years agol10n_be_coda : do not try to create res.partner.bank when set no partner in an accoun...
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

9 years agoMerge pull request #572 from odoo-dev/7.0-opw-609069-fka
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

9 years ago[FIX] improved date format in fiche de paie report
fka-odoo [Thu, 26 Jun 2014 09:14:11 +0000 (14:44 +0530)]
[FIX] improved date format in fiche de paie report

9 years agol10n_be_coda : do not try to create res.partner.bank when set no partner in an accoun...
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

9 years ago[FIX] mail: leftover debug text in ir.attachment kanban view
Olivier Dony [Wed, 25 Jun 2014 16:53:59 +0000 (18:53 +0200)]
[FIX] mail: leftover debug text in ir.attachment kanban view

9 years ago[FIX] website: default mimetype for web-published attachments, avoids crash
Olivier Dony [Wed, 25 Jun 2014 16:37:03 +0000 (18:37 +0200)]
[FIX] website: default mimetype for web-published attachments, avoids crash

9 years ago[MERGE] Forward-port of saas-3 up to 141e1b2
Olivier Dony [Wed, 25 Jun 2014 16:34:03 +0000 (18:34 +0200)]
[MERGE] Forward-port of saas-3 up to 141e1b2

9 years ago[FIX] http.dispatch: call handle_exception() even w/ session missing/expired
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.

9 years agoMerge pull request #765 from odoo-dev/saas-4-sitemap-forum-jke
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

9 years agoMerge pull request #761 from odoo-dev/saas-3-handle-exception-fme
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())

9 years ago[REM] Bazaar leftovers...
Richard Mathot [Wed, 25 Jun 2014 13:34:39 +0000 (15:34 +0200)]
[REM] Bazaar leftovers...

9 years ago[FIX] base_action_rule: more flexible wrapper signature
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)

9 years ago[FIX] Forum - Redirect permanently to the question, if post_id in url is not an answer.
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.

9 years ago[FIX] Forum / Sitemap - Restrcit the domain from controller, else the sitemap fetch...
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

9 years ago[FIX] Sitemap - Back forward from saas-5 5cc1317a5f4525e8748692c69c3854773cf95454...
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