Thibault Delavallée [Tue, 15 Jul 2014 10:54:38 +0000 (12:54 +0200)]
[FIX] project_mrp: prevent crash during installation if stock is not installed; use default view for product coming from the product module that is indeed in the dependencies.
Christophe Simonis [Tue, 15 Jul 2014 08:39:08 +0000 (10:39 +0200)]
[MERGE] forward port of branch saas-4 up to de696f1
Christophe Simonis [Tue, 15 Jul 2014 08:38:14 +0000 (10:38 +0200)]
[MERGE] forward port of branch saas-3 up to 24484c8
Christophe Simonis [Tue, 15 Jul 2014 08:36:54 +0000 (10:36 +0200)]
[MERGE] forward port of branch 7.0 up to 7a928b1
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)
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).
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.
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)
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)
Christophe Simonis [Fri, 11 Jul 2014 12:58:32 +0000 (14:58 +0200)]
[FIX] base: make ir_attachment._filestore callable with kwargs
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
Olivier Dony [Fri, 11 Jul 2014 10:00:42 +0000 (12:00 +0200)]
[MERGE] Fwd-port saas-4 up to e31fd6a
Olivier Dony [Fri, 11 Jul 2014 09:53:07 +0000 (11:53 +0200)]
[MERGE] Fwd-port saas-3 up to a9d2b65
Olivier Dony [Fri, 11 Jul 2014 09:51:06 +0000 (11:51 +0200)]
[MERGE] Fwd-port 7.0 up to 783b9e1
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
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
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).
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
Christophe Simonis [Thu, 10 Jul 2014 20:12:16 +0000 (22:12 +0200)]
[MERGE] forward port of branch saas-4 up to a361947
Christophe Simonis [Thu, 10 Jul 2014 20:02:58 +0000 (22:02 +0200)]
[MERGE] forward port of branch saas-3 up to a35aec2
Christophe Simonis [Thu, 10 Jul 2014 20:02:01 +0000 (22:02 +0200)]
[MERGE] forward port of branch 7.0 up to 6e96ffd
Richard Mathot [Thu, 10 Jul 2014 18:28:21 +0000 (20:28 +0200)]
[TYPO] in website_partner
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)
Josse Colpaert [Mon, 23 Jun 2014 07:30:42 +0000 (09:30 +0200)]
[IMP] default priority if no moves in picking
Thibault Delavallée [Thu, 10 Jul 2014 14:54:43 +0000 (16:54 +0200)]
Merge pull request #1067 from odoo-dev/saas-5-forum-answer-order-fix-htr
[FIX] website_forum: fix answers display order (correct, then votes, then write_date)
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
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.
Richard Mathot [Thu, 10 Jul 2014 12:11:01 +0000 (14:11 +0200)]
[TYPO] in event, event_sale
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
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
Jeremy Kersten [Wed, 9 Jul 2014 15:45:40 +0000 (17:45 +0200)]
[IMP] website_sale: Add google analytics on checkout process
Martin Trigaux [Wed, 9 Jul 2014 14:42:22 +0000 (16:42 +0200)]
[FIX] mass_mailing: load images in emails
The emails containing emails generated with the image widget have absolute path (src='/website/static/...'), adding <base> tag allows the mail client to load it correctly.
Christophe Matthieu [Wed, 9 Jul 2014 11:30:17 +0000 (13:30 +0200)]
Merge pull request #1021 from odoo-dev/saas-5-fix-routing-for-index-chm
[FIX] website: if the first menu referred to a website page and the route for this path is overwritten, the route is not used, the template has not the values of the route. (e.g. contact-us menu in first position if website_crm is installed)
[FIX] website_crm: the path '/crm/contactus' have an error if you doesn't use the website contact form or if you reload the page, instead of redirect to contact form.
Martin Trigaux [Wed, 9 Jul 2014 11:20:48 +0000 (13:20 +0200)]
[FIX] product: allow user to set price at template creation
The lst_price field on product.template is a related to list_price. As we do not allow to set a value for related fields at creation (see orm.py , L4180), we display the list_price instead (float field).
On the product.product form, we display the lst_price (function field, readonly) as we don't want to allow changing the template price from the product. opw 609497
Christophe Matthieu [Wed, 9 Jul 2014 08:45:35 +0000 (10:45 +0200)]
[FIX] website_crm: the path '/crm/contactus' have an error if you does'nt use the website contact form or if you reload the page, insead of redirect to contact form.
Christophe Matthieu [Wed, 9 Jul 2014 08:39:00 +0000 (10:39 +0200)]
[FIX] website: if the first menu refered to a website page and the route for this path is overwrited, the route is not used, the template has not the values of the route. (e.g. contact-us menu in first position if website_crm is installed)
Olivier Dony [Tue, 8 Jul 2014 15:44:40 +0000 (17:44 +0200)]
[FIX] account_analytic_account: handle partners without fiscal position gracefully
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).
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
sle-odoo [Tue, 8 Jul 2014 12:29:38 +0000 (14:29 +0200)]
Merge pull request #993 from odoo-dev/saas-5-issue-902
[MERGE][FIX] product: incomplete declaration of report pricelist
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).
Atul Patel [Tue, 8 Jul 2014 10:41:28 +0000 (16:11 +0530)]
[FIX]product: disable menu name come from report declaration.because it's called from wizard
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
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
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
JoshuaJan [Mon, 7 Jul 2014 10:17:20 +0000 (18:17 +0800)]
Update 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
Hitesh Trivedi [Mon, 7 Jul 2014 06:30:19 +0000 (12:00 +0530)]
[FIX]Display answers in order by posted date in descending (latest to old)
JoshuaJan [Sun, 6 Jul 2014 09:41:07 +0000 (17:41 +0800)]
skip the inactivate employee in leaves summary
Olivier Dony [Fri, 4 Jul 2014 23:28:19 +0000 (01:28 +0200)]
[MERGE] Forward-port saas-4 up to 5ceded9
Olivier Dony [Fri, 4 Jul 2014 23:04:19 +0000 (01:04 +0200)]
[MERGE] Forward-port saas-3 up to 4fa30f5
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
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
Olivier Dony [Fri, 4 Jul 2014 15:07:53 +0000 (17:07 +0200)]
[MERGE] Forward-port of 7.0 up to 64ac1b0
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.
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.
Thibault Delavallée [Fri, 4 Jul 2014 12:36:21 +0000 (14:36 +0200)]
[FIX] web_kanban_sparkline, sales_team, stock: use char function field to transmit sparkline data; the data is now correctly dumped into json, and parsed in the widget.
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.
Thibault Delavallée [Fri, 4 Jul 2014 06:02:54 +0000 (08:02 +0200)]
[FIX] sale: sales_team: fixed use_quotations field named 'opportunities' instead of 'quotations', copy and paste error probably
JKE-be [Thu, 3 Jul 2014 21:13:44 +0000 (23:13 +0200)]
Merge pull request #909 from odoo-dev/saas-5-contactus-jke
[IMP] website_crm - cherry pick from
29ad0216e37fd23e33b75ee8d24b095f181...
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...
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...
Jeremy Kersten [Thu, 3 Jul 2014 19:55:29 +0000 (21:55 +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.
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.
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.
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.
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
Richard Mathot [Thu, 3 Jul 2014 07:36:46 +0000 (09:36 +0200)]
[TYPO] Stupid typo...
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
Martin Trigaux [Wed, 2 Jul 2014 14:25:24 +0000 (16:25 +0200)]
[FIX] website: avoid divisions by zero when no record to display
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
Richard Mathot [Wed, 2 Jul 2014 12:07:52 +0000 (14:07 +0200)]
[FIX] auth_oauth: hide invalid providers from 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
Thibault Delavallée [Wed, 2 Jul 2014 08:25:53 +0000 (10:25 +0200)]
[FIX] mail: fixed display issue with the like button
Christophe Simonis [Tue, 1 Jul 2014 15:11:46 +0000 (17:11 +0200)]
[FIX] stock: backport fixes from master
Richard Mathot [Tue, 1 Jul 2014 13:56:50 +0000 (15:56 +0200)]
[FIX] survey: catch exception while quizz mode
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.
Richard Mathot [Tue, 1 Jul 2014 13:37:27 +0000 (15:37 +0200)]
[FIX] survey: bug while recording comments
Christophe Simonis [Tue, 1 Jul 2014 13:23:11 +0000 (15:23 +0200)]
[FIX] product: add missing dependency: report
Richard Mathot [Tue, 1 Jul 2014 12:51:00 +0000 (14:51 +0200)]
[FIX] survey: Nasty brackets...
Olivier Dony [Tue, 1 Jul 2014 10:28:55 +0000 (12:28 +0200)]
[MERGE] Fwd-port of 7.0 up to 3d31341
Olivier Dony [Tue, 1 Jul 2014 10:22:28 +0000 (12:22 +0200)]
[FIX] web_linkedin: update master img CDN domain, recently changed
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.
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
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
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.
Olivier Dony [Mon, 30 Jun 2014 09:58:11 +0000 (11:58 +0200)]
[FIX] auth_signup: discard signup values that may overwriting existing info
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...
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).
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.
Jeremy Kersten [Mon, 30 Jun 2014 08:46:30 +0000 (10:46 +0200)]
[FIX] website_event - Check that template exists before to render it
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
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
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
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