Jeremy Kersten
b95b134285
[FIX] website_blog: use related to display the image from the author from a blog without that the partner is 'website_published'.
2014-10-28 14:12:39 +01:00
Alexis de Lattre
4ff1c7c8b9
[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).
2014-10-28 10:05:18 +01:00
Raphael Collet
8db5b84fc1
[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.
2014-10-28 09:12:31 +01:00
Fabien Meghazi
3e07eaa308
[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.
2014-10-27 17:55:08 +01:00
Xavier Morel
abfe20bff6
[ADD] doc: language switcher
2014-10-27 17:23:16 +01:00
Xavier Morel
4d2b24adcb
[ADD] Stripe-style APIDoc: content
2014-10-27 17:23:16 +01:00
Alexis de Lattre
eb8aad865e
[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
2014-10-27 17:17:31 +01:00
Alexis de Lattre
7508b7cd9c
[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
2014-10-27 17:08:09 +01:00
Raphael Collet
7b1ef7085a
[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.
2014-10-27 14:36:09 +01:00
Antonio Esposito
e9954cd9f9
[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
2014-10-27 14:28:23 +01:00
Josse Colpaert
b962c5810c
Merge pull request #3321 from odoo-dev/8.0-wmsmrpfixes-jco
...
[FIX] When extra move for consumption lines, copy lot and when producing...
2014-10-27 13:29:00 +01:00
Frederic van der Essen
230f55face
[FIX] web: cors rpc calls were missing the session cookie, resulting in new sessions being created for every call
2014-10-27 12:21:04 +01:00
Stéphane Bidoul
24ec228acc
[FIX] avoid leaving dangling account moves when deleting a bank statement
...
Fixes #3292
2014-10-27 10:58:11 +01:00
Christophe Matthieu
59cda06b00
[FIX] website.sale: Double / triple digits do not get displayed correctly on ecommerce quantity selector
2014-10-27 10:24:13 +01:00
Christophe Matthieu
c4ae1ef66d
[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
2014-10-27 10:24:13 +01:00
Christophe Matthieu
d8e67d647f
[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.
2014-10-27 10:24:13 +01:00
Christophe Matthieu
7ce3961693
[FIX] website: update jQuery.transfo lib + adapt code
2014-10-27 10:24:13 +01:00
Christophe Matthieu
3986e8c509
[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)
2014-10-27 10:24:13 +01:00
Christophe Matthieu
4a46fce95a
[FIX] website_sale: Postal Code is required during checkout for countries without postal codes; Zip must be not required.
2014-10-27 10:24:13 +01:00
Josse Colpaert
c589b49afa
[FIX] When extra move for consumption lines, copy lot and when producing more than produced, create extra move
2014-10-25 21:30:18 +02:00
Josse Colpaert
ae02468e0a
Merge pull request #3294 from odoo-dev/8.0-fixextrapack-jco
...
[FIX] Operation does not necessary have product for extra move
2014-10-24 19:58:48 +02:00
Josse Colpaert
3dff2877a1
[FIX] Operation does not necessary have product for extra move
2014-10-24 18:21:01 +02:00
Julien Legros
92183e59a7
[FIX] event_sale: event name carried over in invoice line
2014-10-24 17:57:08 +02:00
Julien Legros
5cbd5f13f8
[FIX] event_sale: event tickets carried over on duplication
2014-10-24 17:55:42 +02:00
Julien Legros
0780304656
[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.
2014-10-24 17:46:33 +02:00
Christophe Simonis
89eaa8a8a8
[MERGE] forward port of branch saas-3 up to 309ca4f
2014-10-24 17:25:19 +02:00
Jeremy Kersten
6e48c892dd
[ADD] web: add a route '/web/dbredirect' to ensure the connection to the right database via the get param db.
2014-10-24 17:19:55 +02:00
Christophe Simonis
309ca4fcf7
[MERGE] forward port of branch 7.0 up to d2fd05e
2014-10-24 16:52:10 +02:00
Samus CTO
d2fd05ef21
[IMP] config: Test that the config file is readable
...
Fixes #3237
cherry-pick of 8e72049
2014-10-24 16:48:27 +02:00
Simon Lejeune
440fb712cb
[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
2014-10-24 16:37:30 +02:00
Christophe Simonis
472291b35c
[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 2c4e370b76 and
33ce0e73db
2014-10-24 16:24:50 +02:00
Martin Trigaux
7ec7f1ba40
[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)
2014-10-24 15:36:58 +02:00
Jeremy Kersten
cd8bd872e8
[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')
2014-10-24 15:19:34 +02:00
Christophe Matthieu
23f9736372
[FIX] website_event_sale: display the discounted price in website.
...
Add price_reduce compute method on ticket and sale order line
2014-10-24 14:16:16 +02:00
Christophe Matthieu
1a5bfdc055
[FIX] website_mail: connected users can't follow a website document
2014-10-24 11:33:15 +02:00
Paulius Sladkevičius
83b4742b56
[FIX] Render of report shouldn't update context
...
With API 8 context is frozendict that don't support update
2014-10-23 17:33:37 +02:00
Christophe Simonis
ed925892b9
[MERGE] forward port of branch saas-3 up to 2c1bcfb
2014-10-23 16:52:37 +02:00
Denis Ledoux
2c1bcfb2c9
[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)
2014-10-23 16:40:53 +02:00
Simon Lejeune
6bd36a8613
[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.
2014-10-23 15:43:52 +02:00
David Monjoie
76824b4248
[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
2014-10-23 15:20:51 +02:00
Denis Ledoux
076fedb6a7
[FIX] crm_partner_assign: colors only if there is a stage on the lead
2014-10-23 15:07:40 +02:00
Cedric Snauwaert
44eed595df
[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.
2014-10-23 15:04:59 +02:00
Julien Legros
4ac4a0cfca
[MERGE] forward port of branch 7.0 up to 8e76938
2014-10-23 14:31:06 +02:00
Denis Ledoux
8521e701fa
[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.
2014-10-23 14:14:50 +02:00
Julien Legros
8e76938bec
[FIX] web: correct display of dropdown arrows in ie11
2014-10-23 14:13:54 +02:00
Christophe Simonis
562272d9a0
[MERGE] forward port of branch saas-3 up to c89d1a0
2014-10-23 13:08:44 +02:00
Martin Trigaux
d5235f7326
[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)
2014-10-23 12:38:31 +02:00
Géry Debongnie
ec7fd06ade
[FIX] remove wrong filter (account)
...
For some reason, a filter was made on the non-existing field 'categ_id'.
Result: crash crash boom.
2014-10-23 11:42:54 +02:00
ssh-odoo
ef8099424d
[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
2014-10-23 11:36:03 +02:00
David Monjoie
bf3251fd0a
[IMP] website_mail: actually render the html body of the template instead of escaping it
2014-10-23 11:26:43 +02:00