odoo/odoo.git
9 years ago[MERGE] forward port of branch 7.0 up to cd31cbf556cc11950ce6188041cf5c2fcd89e0f8
Denis Ledoux [Thu, 31 Jul 2014 16:06:57 +0000 (18:06 +0200)]
[MERGE] forward port of branch 7.0 up to cd31cbf556cc11950ce6188041cf5c2fcd89e0f8

9 years ago[FIX] account: on_change_unit_amount do not reset uom to default
Denis Ledoux [Thu, 31 Jul 2014 16:05:17 +0000 (18:05 +0200)]
[FIX] account: on_change_unit_amount do not reset uom to default

9 years ago[MERGE] forward port of branch 7.0 up to 39f3e40
Christophe Simonis [Wed, 30 Jul 2014 16:55:31 +0000 (18:55 +0200)]
[MERGE] forward port of branch 7.0 up to 39f3e40

9 years ago[FIX] sale: copy_quotation must propagate the context
Guewen Baconnier [Wed, 9 Jul 2014 09:39:58 +0000 (11:39 +0200)]
[FIX] sale: copy_quotation must propagate the context

9 years agoPassed default type while creating document page category from document page
dhr-odoo [Mon, 7 Jul 2014 12:38:12 +0000 (18:08 +0530)]
Passed default type while creating document page category from document page

9 years ago[FIX] project_long_term: avoid bad duplication of phases
Martin Trigaux [Wed, 30 Jul 2014 13:27:58 +0000 (15:27 +0200)]
[FIX] project_long_term: avoid bad duplication of phases

When we duplicate a project, the related phases need to be duplicated as well but keeping references between each other.
e.g. 'project 1' with 'phase A' follwed by 'phase B' should become 'project 1 (copy)' with 'phase A (copy)' followed by 'phase B (copy)'.
Fixing bug lp:1212860, opw 607062

9 years ago[FIX] account_voucher: avoid trying unreconcile a move twice
Ravi Gohil [Thu, 10 Jul 2014 11:39:15 +0000 (17:09 +0530)]
[FIX] account_voucher: avoid trying unreconcile a move twice

When we cancel a voucher, we may be trying to unlink a reconciliation that was already removed on another move (just looking at the version in cache). In such cases, the unlink would fail with traceback. opw 610287

9 years ago[FIX] sale: config, timesheet if module account_analytic_analysis
Denis Ledoux [Wed, 30 Jul 2014 13:26:43 +0000 (15:26 +0200)]
[FIX] sale: config, timesheet if module account_analytic_analysis

In Settings > Sales, the onchange_timesheet ensure that if you check timesheet, it checks module_account_analytic_analysis.

Therefore, if module_account_analytic_analysis is installed, timesheet should be checked by default
Until now, it worked "luckily", because the onchange_timesheet of the field module_account_analytic_analysis was triggered before the onchange_timesheet of the timesheet field. Nevertheless, we shouldn't trust the onchange calls order.

9 years ago[FIX] website: do not restore page views
Christophe Simonis [Wed, 30 Jul 2014 13:10:22 +0000 (15:10 +0200)]
[FIX] website: do not restore page views

9 years ago[FIX] stock: partial deliveries switch on delivered picking
Lionel Sausin (Numérigraphe) [Fri, 25 Jul 2014 09:54:36 +0000 (11:54 +0200)]
[FIX] stock: partial deliveries switch on delivered picking

Users don't care for the backorder picking precisely because they can't process it, whereas they may have to do some more things on the picking they processed: invoice it, print delivery orders or transportation stickers..
Refresh the browse record after changing the name to avoid the need to rebrowse.
Fixes #1372

9 years ago[FIX] mail: reset of default_type in context
StefanRijnhart [Tue, 29 Jul 2014 10:17:38 +0000 (12:17 +0200)]
[FIX] mail: reset of default_type in context

When creating a new message, we need to reset the default_type key to avoid context propagation (e.g. invoice menu).
However we used to compare the key in context (char) with the list of selections (tuple) so it was never matching and always reset.

9 years agoMerge pull request #1391 from savoirfairelinux/7.0-translate-trans_generate_debug_print
xmo-odoo [Tue, 29 Jul 2014 11:51:48 +0000 (13:51 +0200)]
Merge pull request #1391 from savoirfairelinux/7.0-translate-trans_generate_debug_print

[FIX] translate: Fix debug print when parse path list to translate.

9 years ago[MERGE] forward port of branch 7.0 up to 767d2ea9a63ceb6d8473766f52eb06f69b281ca1
Denis Ledoux [Tue, 29 Jul 2014 09:35:19 +0000 (11:35 +0200)]
[MERGE] forward port of branch 7.0 up to 767d2ea9a63ceb6d8473766f52eb06f69b281ca1

9 years ago[MERGE] forward port of branch 7.0 up to b91a75f7eff85edd5d51a91d10d6e3be8a409030
Denis Ledoux [Tue, 29 Jul 2014 08:42:50 +0000 (10:42 +0200)]
[MERGE] forward port of branch 7.0 up to b91a75f7eff85edd5d51a91d10d6e3be8a409030

Conflicts:
addons/base_vat/base_vat.py
openerp/tools/safe_eval.py

9 years ago[FIX] web: on refresh, do search_read with fields passed
Denis Ledoux [Mon, 28 Jul 2014 17:02:11 +0000 (19:02 +0200)]
[FIX] web: on refresh, do search_read with fields passed

9 years ago[IMP] base_vat: differenciate VIES and classical VAT error
Ravi Gohil [Fri, 25 Jul 2014 07:15:40 +0000 (12:45 +0530)]
[IMP] base_vat: differenciate VIES and classical VAT error

Display a different error message so that users are aware if the test failed with VIES enabled or not (opw 609823)

9 years agoRevert 3dec090 "[FIX] ir_values: fallback when no condition"
Martin Trigaux [Mon, 28 Jul 2014 12:35:44 +0000 (14:35 +0200)]
Revert 3dec090 "[FIX] ir_values: fallback when no condition"

An ir.value without condition should not match when searching with a condition.
When a field with change_default on it is modified, the method get_defaults is called with the new value. This means that manually modifying a field with this trigger would put back the default value (opw 611193).

9 years ago[FIX] account: no journal items on consolidation accounts
Humberto Arocha [Thu, 10 Jul 2014 19:55:01 +0000 (15:25 -0430)]
[FIX] account: no journal items on consolidation accounts

As for the view accounts, the consolidation accounts should not allow to create journal items.
Fixes #1090

9 years ago[FIX] translate: Fix debug print when parse path list to translate.
Mathieu Benoit [Fri, 25 Jul 2014 20:17:29 +0000 (16:17 -0400)]
[FIX] translate: Fix debug print when parse path list to translate.

9 years ago[FIX] hr_holidays: do not allow reduce remaining leaves
Denis Ledoux [Fri, 25 Jul 2014 12:45:48 +0000 (14:45 +0200)]
[FIX] hr_holidays: do not allow reduce remaining leaves

In the Employee form, a remaining legal leaves field is available, which shows remaining validated leaves from allocation requests
As this is not allowed to delete a validated allocation requets, it shouldn't be possible to reduce the validated remaining leaves of an employee.
To reduce the remaining leaves of an employee, the user should cancel and remove the allocation request

9 years ago[ADD] safe_eval: UNPACK_SEQUENCE and Exception
Denis Ledoux [Fri, 25 Jul 2014 11:00:17 +0000 (13:00 +0200)]
[ADD] safe_eval: UNPACK_SEQUENCE and Exception

Allowing UNPACK_SEQUENCE allows the use of the "multi" assignation:
a, b = [1,2]
for a,b in items

9 years ago[FIX] ir_fields: allow accent on selection import
Denis Ledoux [Fri, 25 Jul 2014 09:53:30 +0000 (11:53 +0200)]
[FIX] ir_fields: allow accent on selection import

If the selection label (not value) had accents, it wasn't possible to import it using the label having accents

9 years ago[ADD] base_vat: add VAT validation for Peruvian localization.
dsabrinarg [Fri, 25 Jul 2014 03:31:12 +0000 (22:31 -0500)]
[ADD] base_vat: add VAT validation for Peruvian localization.

9 years ago[FIX] website_membership: access rules fixes
Martin Trigaux [Fri, 25 Jul 2014 08:57:30 +0000 (10:57 +0200)]
[FIX] website_membership: access rules fixes

When searching on memberships, we use domain clauses in the format 'partner.x = y' where partner is a many2one to res.partner. The object res.partner has strict security rules for public users and this search will return zero result if not done with SUPERUSER_ID.
In addition, we need to access the list of products (membership_ids) in the domain to be sure we will retrieve only published membership (otherwise it would crash in the sort below).

9 years ago[FIX] stock: do not set user_id on prepare_invoice_group
Denis Ledoux [Thu, 24 Jul 2014 18:42:21 +0000 (20:42 +0200)]
[FIX] stock: do not set user_id on prepare_invoice_group

The user_id is already set by the prepare_invoice method, which is called before the prepare_invoice_group (the user_id is already set, thus)
Besides, _prepare_invoice is overriden in sale_stock, to set the picking sale order salesman as user_id, and, without this correct, grouping invoicse by partner re-set the user_id to uid, which is wrong.

9 years ago[FIX] project: remove state field from task analys
Denis Ledoux [Thu, 24 Jul 2014 17:41:15 +0000 (19:41 +0200)]
[FIX] project: remove state field from task analys

The state has been replaced by stage_id in the view, so the state is no longer used
Moreover, when doing an advanced search, the field state is visible and if used -> Traceback (because not available in the report sql table)
opw-609984

9 years ago[IMP] account: do not offer closed analytic accounts on invoices
Yannick Vaucher [Thu, 24 Jul 2014 10:21:34 +0000 (12:21 +0200)]
[IMP] account: do not offer closed analytic accounts on invoices

lp:1223922, opw 609656

9 years ago[FIX] purchase_analytic_plans: keep reference to analytic distribution
Ravi Gohil [Mon, 9 Jun 2014 07:17:54 +0000 (12:47 +0530)]
[FIX] purchase_analytic_plans: keep reference to analytic distribution

Purchase orders created with invoice policy 'Based on incoming shipments' were not keeping the reference to the account analytic distribution when invoiced. opw 607577

9 years agoMerge pull request #1340 from odoo-dev/saas-3-fix-website-snippet-button-css-chm
Christophe Matthieu [Thu, 24 Jul 2014 07:35:04 +0000 (09:35 +0200)]
Merge pull request #1340 from odoo-dev/saas-3-fix-website-snippet-button-css-chm

[FIX] website.snippet: display snippet editor button inline insead of 2 lines for the small boxes

9 years ago[FIX] gamification: why is there a button here ? do you need a button ? I don't think...
Martin Trigaux [Thu, 24 Jul 2014 06:50:48 +0000 (08:50 +0200)]
[FIX] gamification: why is there a button here ? do you need a button ? I don't think so...

9 years ago[FIX] website.snippet: display snippet editor button inline insead of 2 lines for...
Christophe Matthieu [Wed, 23 Jul 2014 14:21:53 +0000 (16:21 +0200)]
[FIX] website.snippet: display snippet editor button inline insead of 2 lines for the small boxes

9 years ago[MERGE] forward port of branch 7.0 up to 67cca3f
Martin Trigaux [Wed, 23 Jul 2014 14:23:22 +0000 (16:23 +0200)]
[MERGE] forward port of branch 7.0 up to 67cca3f

9 years ago[FIX] mail: display translated model name at record creation
Sandy Carter [Tue, 15 Jul 2014 20:17:36 +0000 (16:17 -0400)]
[FIX] mail: display translated model name at record creation

When a record is created, if it inherits from mail.thread, a message 'OBJECT created' is posted. 'created' is translated but the name of the model wasn't.
This fix uses the name of the linked ir.model which is already a translatable field.
lp:1262000, opw 611043

9 years ago[FIX] web: correct rev 680f955
Martin Trigaux [Wed, 23 Jul 2014 10:19:51 +0000 (12:19 +0200)]
[FIX] web: correct rev 680f955

Missing backport of commit f652402 for buffered dataset
Again, should not be forwardported

9 years ago[FIX] website_sale: translated terms payment status
Denis Ledoux [Wed, 23 Jul 2014 10:00:09 +0000 (12:00 +0200)]
[FIX] website_sale: translated terms payment status

Payment status (website_sale confirmation page) inject a status message, which was not set to be translatable. It should be the case.

9 years ago[FIX] stock: allow same serial number for different products
Hardik Ansodariya [Wed, 23 Jul 2014 08:03:40 +0000 (10:03 +0200)]
[FIX] stock: allow same serial number for different products

Bug lp:1222289, opw 597639

9 years ago[FIX] website_sale: _rec_name product.attribute.line
Denis Ledoux [Wed, 23 Jul 2014 06:56:36 +0000 (08:56 +0200)]
[FIX] website_sale: _rec_name product.attribute.line

Set the _rec_name for product.attribute.line model, as its column name wasn't defined, and therefore search on it wasn't possible (For instance, do an advanced search on product.product with "Product Attributes" "Contains" "Something" wasn't possible).

9 years ago[FIX] delivery: use unit of measure and not unit of stock to compute price of delivery
Martin Trigaux [Tue, 22 Jul 2014 14:38:52 +0000 (16:38 +0200)]
[FIX] delivery: use unit of measure and not unit of stock to compute price of delivery

The computation expects uom and it was wrongly passing uos qunatities.

9 years ago[MERGE] forward port of branch 7.0 up to 680f955
Martin Trigaux [Tue, 22 Jul 2014 11:39:15 +0000 (13:39 +0200)]
[MERGE] forward port of branch 7.0 up to 680f955

9 years ago[FIX] web: reload after wizard when record has been removed cause exception
Anaël Closson [Wed, 28 May 2014 14:01:47 +0000 (16:01 +0200)]
[FIX] web: reload after wizard when record has been removed cause exception

If an action unlink the current records (e.g. unreconcile on account.move.reconcile), trigger history_back to avoid errors when trying to reload inexistant record (opw 607883)
This is a partial backport of saas-4 code (rev c0db6ae, 162ad1c) and should not be forward ported.

9 years ago[FIX] project : do not show canceled projects in task
Dhs-odoo [Mon, 14 Jul 2014 09:53:39 +0000 (15:23 +0530)]
[FIX] project : do not show canceled projects in task

fixes #938, opw 610318

9 years ago[FIX] sale: only propose services for pay advances
Denis Ledoux [Fri, 18 Jul 2014 15:26:48 +0000 (17:26 +0200)]
[FIX] sale: only propose services for pay advances

When creating an invoice from a sale order, if the user choose to invoice a fixed price (deposit), he has the possibility to choose an advance product. As described in the help message, this product should be a service product. Therefore, we add a domain so only services are displayed in the dropdown list

9 years ago[FIX] account: better error message when regenarating opening entries (opw 606923)
Martin Trigaux [Wed, 4 Jun 2014 14:33:58 +0000 (16:33 +0200)]
[FIX] account: better error message when regenarating opening entries (opw 606923)

If we try to generate twice entries on the same fiscal year, we can get completly unrelated errors ("You can only reconcile journal items with the same partner").
With this, we make sure people will first cancel the entries before regeneraing the entries.

9 years ago[FIX] procurement: avoid to run multiple scheduler
Denis Ledoux [Fri, 18 Jul 2014 11:56:42 +0000 (13:56 +0200)]
[FIX] procurement: avoid to run multiple scheduler

Avoid to run the procurement scheduler multiple times in the same time, otherwise, they tend to interfere with each others

9 years ago[FIX] crm : propagate the lead_id when scheldule other phone calls
Jérome Maes [Fri, 18 Jul 2014 11:02:07 +0000 (13:02 +0200)]
[FIX] crm : propagate the lead_id when scheldule other phone calls

9 years ago[FIX] hr_timesheet: missing '&' in domain clause
TheCloneMaster [Fri, 18 Jul 2014 05:58:44 +0000 (23:58 -0600)]
[FIX] hr_timesheet: missing '&' in domain clause

To search the contracts for payroll, the domain is constructed with three clauses. Each of these clauses needs to start with a '&' to make sure they are correctly combined with the OR clause'

9 years ago[FIX] website_sale: make the 'Ship to a different address' always available
Martin Trigaux [Thu, 17 Jul 2014 14:09:52 +0000 (16:09 +0200)]
[FIX] website_sale: make the 'Ship to a different address' always available

In the backend the option 'Allow a different address for delivery and invoicing' will set the group sale.group_delivery_invoice_address to employees. However the public user is not an employee (and we don't want to change that) so does not get this group. As we don't have similar group mechanism for public user, we have no other choice than always displaying the option to have different address. opw 610118

9 years ago[FIX] ir_values: fallback when no condition
Martin Trigaux [Thu, 17 Jul 2014 12:22:20 +0000 (14:22 +0200)]
[FIX] ir_values: fallback when no condition

When searching for default values, if we set a condition (e.g. 'type=out_invoice'), fetch also the default values without any condition set. Thanks to the order by clause, the one with a condition have an higher priority than the one without and will not affect existing result.
This fixes default journal/currency on an invoice where the journal is retrieved in the onchange_company_id method (domain is forced). Without this patch only ir.values with a domain set will match, opw 610645

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] 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] 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 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 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] 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[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 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] 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[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 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 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 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