odoo/odoo.git
9 years ago[FIX] core: correct cron thread registry iteration
Christophe Simonis [Thu, 30 Oct 2014 10:05:07 +0000 (11:05 +0100)]
[FIX] core: correct cron thread registry iteration

Fixes #3387

9 years ago[FIX] account: indendation error in 82588fa
Olivier Dony [Wed, 29 Oct 2014 18:42:13 +0000 (19:42 +0100)]
[FIX] account: indendation error in 82588fa

The original tax should not be included if
it was found in the tax mapping, even
if it has no replacement.

Fixes #2261 (hopefully, this time)

9 years ago[MERGE] forward port of branch saas-3 up to 21b1203
Christophe Simonis [Wed, 29 Oct 2014 18:33:02 +0000 (19:33 +0100)]
[MERGE] forward port of branch saas-3 up to 21b1203

9 years ago[MERGE] forward port of branch 7.0 up to 43db726
Christophe Simonis [Wed, 29 Oct 2014 18:05:43 +0000 (19:05 +0100)]
[MERGE] forward port of branch 7.0 up to 43db726

9 years ago[FIX] l10n_fr: "passif" part of the "bilan" report
Simon Lejeune [Wed, 29 Oct 2014 17:45:25 +0000 (18:45 +0100)]
[FIX] l10n_fr: "passif" part of the "bilan" report

Report's model was full, but not the view. Leftover of rev 7e8dcc5600b61d68af
refactoring.

9 years ago[IMP] core: manage registries via an LRU.
Christophe Simonis [Wed, 29 Oct 2014 17:28:07 +0000 (18:28 +0100)]
[IMP] core: manage registries via an LRU.

When working with a large number of databases, the memory allocated to
registries wasn't limited, resulting to waste memory (especially in the
longpolling worker, which is not recycled).
The size of the LRU is depending on the soft limit configured for
workers.

9 years ago[FIX] web_calendar: cast the id into int. When you open a form view in a popup via...
Jeremy Kersten [Wed, 29 Oct 2014 16:43:44 +0000 (17:43 +0100)]
[FIX] web_calendar: cast the id into int. When you open a form view in a popup via the attr 'event_open_popup', in some cases the id is a string and so the popup is empty... FIX #545  PR #551

9 years ago[FIX] account: tax mapping logic was broken by 7508b7c
Olivier Dony [Tue, 28 Oct 2014 12:30:26 +0000 (13:30 +0100)]
[FIX] account: tax mapping logic was broken by 7508b7c

The original tax should not be applied
if at least one destination tax was
applied. It should only be applied if
explicitly included in target taxes.

(Re-)Fixes #2261

9 years ago[FIX] bus: useless setTimeout call
Andrea Stirpe [Wed, 29 Oct 2014 11:54:52 +0000 (12:54 +0100)]
[FIX] bus: useless setTimeout call

Partial backport of master fix eb52156
Solving javascript error after refresh in ie9 `Error: useless setTimeout call (missing quotes around argument?)`

9 years ago[FIX] website_sale: usability fixes in the checkout/address form
Simon Lejeune [Wed, 29 Oct 2014 12:31:52 +0000 (13:31 +0100)]
[FIX] website_sale: usability fixes in the checkout/address form

* `disabled` on the country select tag instead of `readonly`
* `create a new address` selected when the user set an invalid shipping
address and must correct it. Else the user was correcting the shipping
address but the option "ship to the same address" was selected.

9 years ago[FIX] website_sale: don't apply the company name as street logic in shipping address
Simon Lejeune [Wed, 29 Oct 2014 12:27:15 +0000 (13:27 +0100)]
[FIX] website_sale: don't apply the company name as street logic in shipping address

9 years ago[FIX] website_sale: remove spurious print
Simon Lejeune [Wed, 29 Oct 2014 12:25:43 +0000 (13:25 +0100)]
[FIX] website_sale: remove spurious print

9 years ago[ADD] doc: support for analytics keys
Xavier Morel [Wed, 29 Oct 2014 14:53:41 +0000 (15:53 +0100)]
[ADD] doc: support for analytics keys

9 years ago[FIX] purchase: translate purchaseorder and quotation reports
David Monjoie [Wed, 29 Oct 2014 09:56:48 +0000 (10:56 +0100)]
[FIX] purchase: translate purchaseorder and quotation reports

9 years ago[FIX] stock: UoS quantity in stock.picking
Mohammad Alhashash [Tue, 21 Oct 2014 19:12:58 +0000 (21:12 +0200)]
[FIX] stock: UoS quantity in stock.picking

Implements the UoS TODO items on stock.picking.do_partial() to fix #1432.
Add a new method _compute_uos_qty() on product.product to computes
product's invoicing quantity in UoS from quantity in UoM.

The created invoice will use the product_uos of the stock.move, meaning keeping
the quantity specified on the partial picking and the unit of measure of the
original stock.move (e.g. recieving 1 dozen from a 12 unit picking should either
get uos=dozen, uos_qty=1 or uos=unit, uos_qty=12, not a mix of both)

Fixes #1432, opw 611479

9 years ago[MERGE] forward port of branch 7.0 up to f4870f8
Denis Ledoux [Tue, 28 Oct 2014 16:58:50 +0000 (17:58 +0100)]
[MERGE] forward port of branch 7.0 up to f4870f8

9 years ago[FIX] sale: when invoicing on lines, set order in progress when all lines invoiced
Denis Ledoux [Tue, 28 Oct 2014 16:57:08 +0000 (17:57 +0100)]
[FIX] sale: when invoicing on lines, set order in progress when all lines invoiced

This fix is related to rev. b1df5aab6e529e9667bb97c96c9196e1a4e5e0ce

9 years agoMerge pull request #1678 from sebalix/8.0-fix-web_diagram
Frédéric Van der Essen [Tue, 28 Oct 2014 16:15:50 +0000 (17:15 +0100)]
Merge pull request #1678 from sebalix/8.0-fix-web_diagram

[FIX] 8.0 web_diagram, unlink connectors/transitions between nodes from the diagram view

9 years ago[FIX] add charset declaration to dashboard.sass so sassc stops freaking out
Xavier Morel [Tue, 28 Oct 2014 15:38:03 +0000 (16:38 +0100)]
[FIX] add charset declaration to dashboard.sass so sassc stops freaking out

9 years ago[FIX] account_analytic_plans: convert_ref method has been removed.
Denis Ledoux [Tue, 28 Oct 2014 15:19:26 +0000 (16:19 +0100)]
[FIX] account_analytic_plans: convert_ref method has been removed.

This issue is related to f4e350ca36668d13c9eb09fbf77c85df110ce40c

9 years ago[MERGE] forward port of branch 7.0 up to b1df5aa
Denis Ledoux [Tue, 28 Oct 2014 14:37:11 +0000 (15:37 +0100)]
[MERGE] forward port of branch 7.0 up to b1df5aa

9 years ago[FIX] sale: trigger all_lines signal when all lines are invoiced
Julien Legros [Tue, 28 Oct 2014 14:12:53 +0000 (15:12 +0100)]
[FIX] sale: trigger all_lines signal when all lines are invoiced

9 years ago[FIX] sql_db: don't log dsn with unmasked passwords
Florian Kisser [Thu, 7 Aug 2014 10:33:03 +0000 (12:33 +0200)]
[FIX] sql_db: don't log dsn with unmasked passwords

The dsn may contain the connection password of the database when not accessed from a psycopg connection object.
Replace the unfiltered logs to use cxn.dsn avoiding password leakage in logs.
Fixes #1433

9 years ago[FIX] website_blog: use related to display the image from the author from a blog...
Jeremy Kersten [Tue, 28 Oct 2014 13:12:39 +0000 (14:12 +0100)]
[FIX] website_blog: use related to display the image from the author from a blog without that the partner is 'website_published'.

9 years agoRevert "[FIX] mail: read more show original message"
Denis Ledoux [Tue, 28 Oct 2014 12:43:25 +0000 (13:43 +0100)]
Revert "[FIX] mail: read more show original message"

This reverts commit 0790682296e43989e4e232189009c3ba380e32ba.

This fix is not yet ready. See PR #3295

9 years ago[MERGE] forward port of branch 7.0 up to 00ec786
Denis Ledoux [Tue, 28 Oct 2014 12:40:17 +0000 (13:40 +0100)]
[MERGE] forward port of branch 7.0 up to 00ec786

9 years ago[FIX] account: partner balance general totals
Denis Ledoux [Tue, 28 Oct 2014 12:18:22 +0000 (13:18 +0100)]
[FIX] account: partner balance general totals

General totals were not computed at all, due to the condition "if not self.ids" which was always true as self.ids wasn't set.

Besides, a parameter allows to display only partner with balance greater than 0, which was completely ignored by the totals computation methods: The totals always included all partners, even those having balance equals to 0

9 years ago[FIX] hr_timesheet_invoice: warning in report generation
Antonio Esposito [Mon, 27 Oct 2014 12:00:18 +0000 (13:00 +0100)]
[FIX] hr_timesheet_invoice: warning in report generation

When generating the report 'Timesheet Profit', got a warning "The domain term '('user_id', '=', [...])' should use the 'in' or 'not in' operator."
This warning is due to the use of the '=' operator to compare the field 'user_id' while the reports sends a list of ids.
Fallback to still accept a single id in case of customised reports.

9 years ago[IMP] l10n_fr: remove dependency on l10n_fr_rib
Alexis de Lattre [Mon, 27 Oct 2014 22:35:25 +0000 (23:35 +0100)]
[IMP] l10n_fr: remove dependency on l10n_fr_rib

The RIB (relevé d’identité bancaire) is no longer used in France since 1st of August 2014 (replaced by SEPA).

9 years ago[FIX] fields: inherited fields should get 'string' from their parent field
Raphael Collet [Thu, 23 Oct 2014 09:14:52 +0000 (11:14 +0200)]
[FIX] fields: inherited fields should get 'string' from their parent field

Because some parameters of a field may be determined during its setup, we have
to update the corresponding column after the setup, and recompute _all_columns
to make it consistent.

9 years ago[FIX] sale_margin: cost price uom
Martin Trigaux [Mon, 27 Oct 2014 17:02:59 +0000 (18:02 +0100)]
[FIX] sale_margin: cost price uom

When computing the cost price to display, take the uom into account. The cost of 1 Unit or 1 dozen should not be the same. opw 599727

9 years ago[FIX] Regression in image resize helper (Fixes #2529)
Fabien Meghazi [Mon, 27 Oct 2014 16:55:08 +0000 (17:55 +0100)]
[FIX] Regression in image resize helper (Fixes #2529)

Commit 57ad514b makes the function preserve the aspect ration of the
original picture. Error of mine because the expected behavior was to
lose it for kanban view purpose.

For backward compatibility sake, this commit will keep the old behavior
by default.

9 years ago[ADD] doc: language switcher
Xavier Morel [Mon, 27 Oct 2014 15:41:42 +0000 (16:41 +0100)]
[ADD] doc: language switcher

9 years ago[ADD] Stripe-style APIDoc: content
Xavier Morel [Mon, 20 Oct 2014 05:47:14 +0000 (07:47 +0200)]
[ADD] Stripe-style APIDoc: content

9 years ago[FIX] Error in excel export when sheet name > 31 characters
Alexis de Lattre [Mon, 27 Oct 2014 11:28:48 +0000 (12:28 +0100)]
[FIX] Error in excel export when sheet name > 31 characters

XLWT only accepts sheet names smaller than 31 characters because that's the
excel limit.

Fixes #2548
Fixes #3318

9 years ago[FIX] account: fiscal position may map single tax to multiple taxes
Alexis de Lattre [Mon, 27 Oct 2014 11:14:19 +0000 (12:14 +0100)]
[FIX] account: fiscal position may map single tax to multiple taxes

(This is a regression in Odoo 8)

It should now work when a fiscal position replaces 1 tax with
several taxes (for example : Fiscal position "Intra-EU B2B" in l10n_fr)

Fixes #2261, manual merge of PR #3316

9 years ago[FIX] stock: forbid adding new lines when processing picking
Ravi Gohil [Thu, 9 Oct 2014 11:21:29 +0000 (16:51 +0530)]
[FIX] stock: forbid adding new lines when processing picking

Source and destination locations are required and not displayed in the form view.
Adding new items when recieving a picking can not be easily guessed as we can put different locations for each line, using default locations may not be the expected result.
Instead should modify the original picking or create new one.
Fixes #2074, opw 612768

9 years ago[IMP] fields: reduce the number of attributes on _column instances
Raphael Collet [Mon, 27 Oct 2014 13:08:08 +0000 (14:08 +0100)]
[IMP] fields: reduce the number of attributes on _column instances

This is a memory optimization: instead of setting all attributes on all
instances, set them with their default value on the class, and only set
specific ones on instances.  This reduces the memory footprint of around 14Mb
per registry with modules crm, sale, purchase and stock installed.

9 years ago[FIX] Fix for Issue 2716: Hide 'Print' button for the report 'Timesheet Profit'
Antonio Esposito [Mon, 27 Oct 2014 11:13:18 +0000 (12:13 +0100)]
[FIX] Fix for Issue 2716: Hide 'Print' button for the report 'Timesheet Profit'

The report 'Profit Timesheet' shouldn't be directly displayed in the views related to the model 'account.analytic.line' but only from the reporting menu. In facts the report requires a popup to specify the report parameters.

Fixes #2716

9 years ago[FIX] product_visible_discount: use on_change result for product value
Martin Trigaux [Mon, 27 Oct 2014 12:45:53 +0000 (13:45 +0100)]
[FIX] product_visible_discount: use on_change result for product value

At the end of the onchange call product_id_change, the uom may have changed (e.g. if product in different category).
To compute the quantity, we need to use the new uom and not the first one (that may be Unit, default value)

9 years agoMerge pull request #3321 from odoo-dev/8.0-wmsmrpfixes-jco
Josse Colpaert [Mon, 27 Oct 2014 12:29:00 +0000 (13:29 +0100)]
Merge pull request #3321 from odoo-dev/8.0-wmsmrpfixes-jco

[FIX] When extra move for consumption lines, copy lot and when producing...

9 years ago[FIX] account: limit search for fields_view_get to one result
Denis Ledoux [Mon, 27 Oct 2014 12:23:16 +0000 (13:23 +0100)]
[FIX] account: limit search for fields_view_get to one result

+ use ir.model.data get_object_reference method for better performance (cached result)

opw-616616

9 years ago[FIX] mail: read more show original message
Denis Ledoux [Sat, 25 Oct 2014 12:26:52 +0000 (14:26 +0200)]
[FIX] mail: read more show original message

Instead of html cleaned html, to allow display blockquotes

opw-614729

9 years ago[FIX] web: cors rpc calls were missing the session cookie, resulting in new sessions...
Frederic van der Essen [Mon, 27 Oct 2014 11:28:47 +0000 (12:28 +0100)]
[FIX] web: cors rpc calls were missing the session cookie, resulting in new sessions being created for every call

9 years ago[FIX] web: cors rpc calls were missing the session cookie, resulting in new sessions...
Frederic van der Essen [Mon, 27 Oct 2014 11:21:04 +0000 (12:21 +0100)]
[FIX] web: cors rpc calls were missing the session cookie, resulting in new sessions being created for every call

9 years agoForward port of branch 7.0 up to rev 8abd003
Martin Trigaux [Mon, 27 Oct 2014 11:03:01 +0000 (12:03 +0100)]
Forward port of branch 7.0 up to rev 8abd003

9 years ago[FIX] product: reference in test
Martin Trigaux [Mon, 27 Oct 2014 10:41:23 +0000 (11:41 +0100)]
[FIX] product: reference in test

9 years agoForward port of branch 7.0 up to 42bf0a5
Martin Trigaux [Mon, 27 Oct 2014 10:21:41 +0000 (11:21 +0100)]
Forward port of branch 7.0 up to 42bf0a5

9 years ago[FIX] avoid leaving dangling account moves when deleting a bank statement
Stéphane Bidoul [Sat, 25 Oct 2014 13:19:20 +0000 (15:19 +0200)]
[FIX] avoid leaving dangling account moves when deleting a bank statement

Fixes #3292

9 years ago[FIX] website.sale: Double / triple digits do not get displayed correctly on ecommerc...
Christophe Matthieu [Mon, 29 Sep 2014 08:32:00 +0000 (10:32 +0200)]
[FIX] website.sale: Double / triple digits do not get displayed correctly on ecommerce quantity selector

9 years ago[FIX] account.fiscal.position: Fix get_fiscal_position for auto apply:
Christophe Matthieu [Mon, 29 Sep 2014 10:26:13 +0000 (12:26 +0200)]
[FIX] account.fiscal.position: Fix get_fiscal_position for auto apply:

First match a fiscal position for the given country, then for a country
group containing the country. If none found, search a fiscal position
without country nor country group

9 years ago[FIX] website_sale_options: only one optional product is added to the cart and the...
Christophe Matthieu [Mon, 29 Sep 2014 14:12:57 +0000 (16:12 +0200)]
[FIX] website_sale_options: only one optional product is added to the cart and the quantity of the optional product don't change in the cart when we click on more or less. Fix the number of items displayed in the modal options.

9 years ago[FIX] website: update jQuery.transfo lib + adapt code
Christophe Matthieu [Tue, 30 Sep 2014 09:44:51 +0000 (11:44 +0200)]
[FIX] website: update jQuery.transfo lib + adapt code

9 years ago[FIX] product: is_product_variant is all time false. result: can not change ean becau...
Christophe Matthieu [Mon, 29 Sep 2014 15:12:49 +0000 (17:12 +0200)]
[FIX] product: is_product_variant is all time false. result: can not change ean because the field is hidden in the view. Need to overwrite the function field on product.product to have the real value (true for product.product)

9 years ago[FIX] website_sale: Postal Code is required during checkout for countries without...
Christophe Matthieu [Mon, 29 Sep 2014 14:04:03 +0000 (16:04 +0200)]
[FIX] website_sale: Postal Code is required during checkout for countries without postal codes; Zip must be not required.

9 years ago[FIX] When extra move for consumption lines, copy lot and when producing more than...
Josse Colpaert [Sat, 25 Oct 2014 19:30:18 +0000 (21:30 +0200)]
[FIX] When extra move for consumption lines, copy lot and when producing more than produced, create extra move

9 years agoMerge pull request #3294 from odoo-dev/8.0-fixextrapack-jco
Josse Colpaert [Fri, 24 Oct 2014 17:58:48 +0000 (19:58 +0200)]
Merge pull request #3294 from odoo-dev/8.0-fixextrapack-jco

[FIX] Operation does not necessary have product for extra move

9 years ago[FIX] Operation does not necessary have product for extra move
Josse Colpaert [Fri, 24 Oct 2014 16:21:01 +0000 (18:21 +0200)]
[FIX] Operation does not necessary have product for extra move

9 years ago[FIX] event_sale: event name carried over in invoice line
Julien Legros [Fri, 24 Oct 2014 15:57:08 +0000 (17:57 +0200)]
[FIX] event_sale: event name carried over in invoice line

9 years ago[FIX] event_sale: event tickets carried over on duplication
Julien Legros [Fri, 24 Oct 2014 15:55:42 +0000 (17:55 +0200)]
[FIX] event_sale: event tickets carried over on duplication

9 years ago[FIX] mail: append messages at the right place
Julien Legros [Fri, 24 Oct 2014 14:40:25 +0000 (16:40 +0200)]
[FIX] mail: append messages at the right place

e6790ba introduced a bug where messages were always appended at the end
of the thread, potentially displaying them in the wrong order.

9 years ago[MERGE] forward port of branch saas-3 up to 309ca4f
Christophe Simonis [Fri, 24 Oct 2014 15:25:19 +0000 (17:25 +0200)]
[MERGE] forward port of branch saas-3 up to 309ca4f

9 years ago[FIX] product_visible_discount: discount with different unit of measures
Martin Trigaux [Fri, 24 Oct 2014 14:07:55 +0000 (16:07 +0200)]
[FIX] product_visible_discount: discount with different unit of measures

The computation of the price without pricelist should take care of the unit of measure.
e.g. if computing discount for objects in dozen (on a product with price in unit), returned unit price should be (price*12) where 12 is the factor to go from dozen to unit.
Otherwise the compared prices (with and without pricelist) would not use the same unit of measure and the comparaison would be inconsistent. (opw 599727)

9 years ago[FIX] product: pricelist, uom and price_surcharge
Martin Trigaux [Thu, 23 Oct 2014 15:14:19 +0000 (17:14 +0200)]
[FIX] product: pricelist, uom and price_surcharge

The price_surcharge attribute must be computed based on the reference unit of measure (divided by the factor).
This is to make sure than 12 units and 1 dozen have the same price after pricelist computation (opw 599727).

Added test checking the correctness of pricelist computation based on unit of measures.

9 years ago[ADD] web: add a route '/web/dbredirect' to ensure the connection to the right databa...
Jeremy Kersten [Fri, 24 Oct 2014 15:01:49 +0000 (17:01 +0200)]
[ADD] web: add a route '/web/dbredirect' to ensure the connection to the right database via the get param db.

9 years ago[MERGE] forward port of branch 7.0 up to d2fd05e
Christophe Simonis [Fri, 24 Oct 2014 14:52:10 +0000 (16:52 +0200)]
[MERGE] forward port of branch 7.0 up to d2fd05e

9 years ago[IMP] config: Test that the config file is readable
Samus CTO [Wed, 22 Oct 2014 09:40:09 +0000 (11:40 +0200)]
[IMP] config: Test that the config file is readable

Fixes #3237

cherry-pick of 8e72049

9 years ago[FIX] Report: use ir.config 'report.url' key as base url if it exists
Simon Lejeune [Thu, 23 Oct 2014 09:13:08 +0000 (11:13 +0200)]
[FIX] Report: use ir.config 'report.url' key as base url if it exists

Browse ir.config 'report.url' with superuser as
the user may want to restrict access of this key to the public

9 years ago[FIX] When using "--stop-after-init", set the return code correctly. A non zero retur...
Christophe Simonis [Mon, 6 May 2013 10:30:54 +0000 (12:30 +0200)]
[FIX] When using "--stop-after-init", set the return code correctly. A non zero return code reflect the number of databases that fail to load/update

Backport of 2c4e370b766db6280d38a4d3535e07de604b1922 and
33ce0e73dba7c23d004a278f61943be8052e7f37

9 years ago[FIX] web: avoid incoherent actual_mode after refresh
Martin Trigaux [Fri, 24 Oct 2014 13:36:58 +0000 (15:36 +0200)]
[FIX] web: avoid incoherent actual_mode after refresh

When accessing an existing record in form mode directly (enter the url or refresh a page), the daterecord has not been initialized yet. This means that the value of actual_mode will be set to 'edit' before loading the current record (method _actualize_mode() called from do_show()).
This was problematic for one2many fields that we loaded in edit mode, showing add/delete icons/buttons in readonly views. (opw 607910)

9 years ago[IMP] res_country: add relation from country to group_country. The purpose of this...
Jeremy Kersten [Fri, 24 Oct 2014 09:59:23 +0000 (11:59 +0200)]
[IMP] res_country: add relation from country to group_country. The purpose of this patch is to allow in domain (model.country_id.country_group_ids, '=', 'Europe')

9 years ago[FIX] website_event_sale: display the discounted price in website.
Christophe Matthieu [Fri, 24 Oct 2014 12:16:16 +0000 (14:16 +0200)]
[FIX] website_event_sale: display the discounted price in website.

Add price_reduce compute method on ticket and sale order line

9 years ago[FIX] website_mail: connected users can't follow a website document
Christophe Matthieu [Fri, 24 Oct 2014 09:33:15 +0000 (11:33 +0200)]
[FIX] website_mail: connected users can't follow a website document

9 years ago[FIX] Render of report shouldn't update context
Paulius Sladkevičius [Tue, 21 Oct 2014 15:50:28 +0000 (18:50 +0300)]
[FIX] Render of report shouldn't update context

With API 8 context is frozendict that don't support update

9 years ago[MERGE] forward port of branch saas-3 up to 2c1bcfb
Christophe Simonis [Thu, 23 Oct 2014 14:52:37 +0000 (16:52 +0200)]
[MERGE] forward port of branch saas-3 up to 2c1bcfb

9 years ago[FIX] calendar: avoid to pass ids as string to unlink and write methods
Denis Ledoux [Thu, 23 Oct 2014 14:40:53 +0000 (16:40 +0200)]
[FIX] calendar: avoid to pass ids as string to unlink and write methods

opw-616532: if the event is associated somehow to a workflow, an assert is done to check that element of the ids list are (int, long)

9 years ago[FIX] account: tax report: translate account.tax.code according to context
Simon Lejeune [Thu, 23 Oct 2014 13:41:48 +0000 (15:41 +0200)]
[FIX] account: tax report: translate account.tax.code according to context

As get_lines is called from the template, use a partial to embed the original context.

9 years ago[FIX] website_sale: check the first product variant radio button in variants list...
David Monjoie [Thu, 23 Oct 2014 12:40:29 +0000 (14:40 +0200)]
[FIX] website_sale: check the first product variant radio button in variants list by default to avoid users to click on Add to Cart without choosing any variant

9 years ago[FIX] crm_partner_assign: colors only if there is a stage on the lead
Denis Ledoux [Thu, 23 Oct 2014 13:05:55 +0000 (15:05 +0200)]
[FIX] crm_partner_assign: colors only if there is a stage on the lead

9 years ago[FIX] web: remove enforceFocus method from bootstrap modal since it is conflicting...
Cedric Snauwaert [Thu, 23 Oct 2014 09:49:07 +0000 (11:49 +0200)]
[FIX] web: remove enforceFocus method from bootstrap modal since it is conflicting with other non bootstrap element

This method trigger the focus event when clicking inside the modal, causing a blur event on other widgets resulting in unwanted problem. Typical case is for the jquery datetimepicker where we try to open a select element which will close right after.

9 years ago[MERGE] forward port of branch 7.0 up to 8e76938
Julien Legros [Thu, 23 Oct 2014 12:31:06 +0000 (14:31 +0200)]
[MERGE] forward port of branch 7.0 up to 8e76938

9 years ago[FIX] website_sale: right number of products in the page
Denis Ledoux [Thu, 23 Oct 2014 12:12:39 +0000 (14:12 +0200)]
[FIX] website_sale: right number of products in the page

The goal is to fill the page with at least 20 products and to fill all grid lines
Thus, the page should be filled with products until there are 20 products and all lines of the grid are full.

9 years ago[FIX] web: correct display of dropdown arrows in ie11
Julien Legros [Thu, 23 Oct 2014 11:45:11 +0000 (13:45 +0200)]
[FIX] web: correct display of dropdown arrows in ie11

9 years ago[MERGE] forward port of branch saas-3 up to c89d1a0
Christophe Simonis [Thu, 23 Oct 2014 11:08:44 +0000 (13:08 +0200)]
[MERGE] forward port of branch saas-3 up to c89d1a0

9 years ago[IMP] website: google maps url
Martin Trigaux [Thu, 23 Oct 2014 10:38:31 +0000 (12:38 +0200)]
[IMP] website: google maps url

Use the protocol as the current page to avoid warning with mixed content (loading map in http inside an https page)

9 years ago[FIX] remove wrong filter (account)
Géry Debongnie [Thu, 23 Oct 2014 09:42:54 +0000 (11:42 +0200)]
[FIX] remove wrong filter (account)

For some reason, a filter was made on the non-existing field 'categ_id'.
Result: crash crash boom.

9 years ago[IMP] [TEST] website_forum: security fixes + tests
ssh-odoo [Fri, 19 Sep 2014 07:25:19 +0000 (12:55 +0530)]
[IMP] [TEST] website_forum: security fixes + tests

- fixed voting, karma check could be avoided
- fixed posting comments, now correctly checking karma (not for
notifications)
- fixed bootstraping of users, now not allowed to ask questions by default;
added validation email that gives the first karma points required to
participate
- added tests

9 years ago[IMP] website_mail: actually render the html body of the template instead of escaping it
David Monjoie [Wed, 22 Oct 2014 13:38:11 +0000 (15:38 +0200)]
[IMP] website_mail: actually render the html body of the template instead of escaping it

9 years ago[IMP] fields: remove unused imports
Raphael Collet [Thu, 23 Oct 2014 08:35:27 +0000 (10:35 +0200)]
[IMP] fields: remove unused imports

9 years ago[IMP] fields: infer required=True on related fields
Raphael Collet [Thu, 23 Oct 2014 07:46:04 +0000 (09:46 +0200)]
[IMP] fields: infer required=True on related fields

One can infer related=True on a non-stored related field if all fields on the
path are related.  This cannot be done if the related field is stored: when you
create a record, the database row is created first, and the related field is
computed and stored afterwards.  Making the field required in that case would
trigger a non-null constraint violation.

9 years ago[IMP] fields: initialized computed fields to a null value instead of a failed one
Raphael Collet [Wed, 22 Oct 2014 15:00:23 +0000 (17:00 +0200)]
[IMP] fields: initialized computed fields to a null value instead of a failed one

This should ease compute methods that assign a list to "update" a
one2many/many2many field.  With a failed value, the update crashes.

9 years ago[FIX] project: use utc timezone in report
Martin Trigaux [Tue, 21 Oct 2014 13:15:50 +0000 (15:15 +0200)]
[FIX] project: use utc timezone in report

9 years ago[MERGE] forward port of branch 7.0 up to b4d3701
Denis Ledoux [Wed, 22 Oct 2014 17:29:18 +0000 (19:29 +0200)]
[MERGE] forward port of branch 7.0 up to b4d3701

9 years ago[FIX] base: typo during forward port 0e4216361bf13cc0feb6f8d8200af80f343d066d
Denis Ledoux [Wed, 22 Oct 2014 17:27:00 +0000 (19:27 +0200)]
[FIX] base: typo during forward port 0e4216361bf13cc0feb6f8d8200af80f343d066d

9 years ago[MERGE] forward port of branch 7.0 up to 3a0af6a
Denis Ledoux [Wed, 22 Oct 2014 17:26:27 +0000 (19:26 +0200)]
[MERGE] forward port of branch 7.0 up to 3a0af6a

9 years ago[FIX] account_followup: use %s string formatting to avoid concat None values
Denis Ledoux [Wed, 22 Oct 2014 17:25:23 +0000 (19:25 +0200)]
[FIX] account_followup: use %s string formatting to avoid concat None values

9 years ago[IMP] fields: reuse column objects when possible, instead of recreating them
Raphael Collet [Wed, 22 Oct 2014 10:49:12 +0000 (12:49 +0200)]
[IMP] fields: reuse column objects when possible, instead of recreating them

This is a memory optimization: it reduces the memory footprint of each
registry.  We have observed a reduction of 10Mb on a database with modules crm,
sale, purchase, stock.

9 years ago[FIX] ir_action: update context to get the real binary, else we have a traceback...
Jeremy Kersten [Wed, 22 Oct 2014 14:20:05 +0000 (16:20 +0200)]
[FIX] ir_action: update context to get the real binary, else we have a traceback when we edit/view an ir_action_client where param is a binary field. Because we do safe_eval from the length and not from the binary

9 years agoMerge pull request #3235 from odoo-dev/8.0-doc-website-template-optional-chm
Christophe Matthieu [Wed, 22 Oct 2014 14:14:30 +0000 (16:14 +0200)]
Merge pull request #3235 from odoo-dev/8.0-doc-website-template-optional-chm

[FIX] doc website: application field does not exists on ir.ui.view.

9 years ago[FIX] product.uom: safer handling of factor/factor_inv in UI
Martin Trigaux [Thu, 9 Oct 2014 11:37:06 +0000 (13:37 +0200)]
[FIX] product.uom: safer handling of factor/factor_inv in UI

Add readonly attribute to avoid sending both factor and factor_inv value to the backend when saving.
This was possible if the user switched between uom_type to fill the two fields.