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
Raphael Collet
4a65b61f2f
[IMP] fields: remove unused imports
2014-10-23 10:35:27 +02:00
Raphael Collet
ba1369fbef
[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.
2014-10-23 10:28:13 +02:00
Raphael Collet
0873613767
[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.
2014-10-23 10:14:24 +02:00
Martin Trigaux
0bbb449d27
[FIX] project: use utc timezone in report
2014-10-23 08:58:37 +02:00
Denis Ledoux
c89d1a0c18
[MERGE] forward port of branch 7.0 up to b4d3701
2014-10-22 19:29:18 +02:00
Denis Ledoux
adf18765f6
[FIX] base: typo during forward port 0e4216361b
2014-10-22 19:27:00 +02:00
Denis Ledoux
0e4216361b
[MERGE] forward port of branch 7.0 up to 3a0af6a
2014-10-22 19:26:27 +02:00
Denis Ledoux
b4d370173c
[FIX] account_followup: use %s string formatting to avoid concat None values
2014-10-22 19:26:00 +02:00
Raphael Collet
8e6d5beb35
[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.
2014-10-22 16:22:39 +02:00