Thibault Delavallée [Wed, 3 Sep 2014 08:15:06 +0000 (10:15 +0200)]
[FIX] website_forum_doc: default stage for post + removed unused import + added toc_id field in post tree view
Martin Trigaux [Tue, 2 Sep 2014 14:24:26 +0000 (16:24 +0200)]
[IMP] website_forum: performance improvements
- avoid to browse on every question/answer, only the 20 most recent ones (need to manually update the view to see the real number of q&a)
- do not render hidden tabs (leakage of information and useless rendering)
- add related fields to speed up vote search (need to be stored to be efficient)
Martin Trigaux [Tue, 2 Sep 2014 13:08:07 +0000 (15:08 +0200)]
[FIX] crm: avoid constraint errors when merging partners
As for the _update_foreign_keys, the _update_reference_fields method may raise an unique constraint when merging two partners.
In such case, the new record is not relevant and can be removed.
Jérome Maes [Tue, 2 Sep 2014 14:20:52 +0000 (16:20 +0200)]
[FIX] im_chat : use direct sql query on im_search method for perfomance issue
and fix away status
Jérome Maes [Tue, 2 Sep 2014 14:19:50 +0000 (16:19 +0200)]
[FIX] im_chat : scroll down on opening conversation and add scroll bar on user list
Martin Trigaux [Tue, 2 Sep 2014 12:50:51 +0000 (14:50 +0200)]
Forward port of branch saas-5 up to 9a7f48a
Raphael Collet [Mon, 1 Sep 2014 09:43:33 +0000 (11:43 +0200)]
[IMP] models: prefetch fields with groups (those to which user has access)
Raphael Collet [Mon, 1 Sep 2014 09:39:03 +0000 (11:39 +0200)]
[IMP] models: do not prefetch too many records at once
Raphael Collet [Tue, 2 Sep 2014 10:02:23 +0000 (12:02 +0200)]
[IMP] fields: update inverse fields lazily for performance
When a relational field is assigned in an onchange, its inverse field is
updated in cache. Reading the current value of the inverse field may be
costly, for instance in the case of a one2many field with thousands of records
as a value. Instead, put in cache a SpecialValue that reads and updates the
field; it will be triggered only when it is accessed.
Martin Trigaux [Tue, 2 Sep 2014 11:59:55 +0000 (13:59 +0200)]
Forward port of branch saas-3 up to c3f5289
Martin Trigaux [Mon, 1 Sep 2014 14:28:56 +0000 (16:28 +0200)]
[FIX] fields: avoid prefetching of one2many fields
When reading a one2many field, the inverse mapping of the lines (matching m2o -> lines of corresponding record) was instantiating each line and then triggering the prefect of fields.
To improve the performances, the inverse mapping is done in sql to avoid triggering the prefetching.
Xavier Morel [Tue, 2 Sep 2014 08:53:04 +0000 (10:53 +0200)]
[ADD] initial theme guide + scaffolding
incomplete, incorrect, committed for testing
qdp-odoo [Tue, 2 Sep 2014 09:37:57 +0000 (11:37 +0200)]
[FIX] account, bank statement reconciliation: fixed use cases involving transactions made in a different currency than the company AND the statement ones
jas [Fri, 25 Jul 2014 06:18:15 +0000 (11:48 +0530)]
[FIX] survey: trace the partner_id taking the survey; if no token, set as the current user's partner.
Thibault Delavallée [Mon, 1 Sep 2014 08:14:08 +0000 (10:14 +0200)]
[FIX] website_sale: pay now button should be translatable
Jeremy Kersten [Tue, 2 Sep 2014 09:26:04 +0000 (11:26 +0200)]
[IMP] sales_team: Force a tree view in Sales team tab to avoid to show unnecessary informations like last login date
Martin Trigaux [Tue, 2 Sep 2014 09:25:02 +0000 (11:25 +0200)]
[IMP] gamification: improve 40e8437 to make only one global request
Jeremy Kersten [Tue, 2 Sep 2014 09:11:22 +0000 (11:11 +0200)]
[IMP] sales_team: remove widget many2many_kanban from "Team Members" tab. Need to fix the security check from many2many_kanban before to reuse-it. Was checking delete user, and not write sale_team when we were tyring to delete a sale_men (user) from member_ids.
qdp-odoo [Tue, 2 Sep 2014 08:52:11 +0000 (10:52 +0200)]
[FIX] l10n_be_coda: if there's no communication, feed the field with '/' instead of an empty string
qdp-odoo [Tue, 2 Sep 2014 08:42:28 +0000 (10:42 +0200)]
[FIX] account, bank statement reconciliation: payment and invoice in foreign currency use case fixed
Jeremy Kersten [Tue, 2 Sep 2014 07:48:50 +0000 (09:48 +0200)]
[FIX] crm: lead_to_opportunities, check that current active_id has not been already merged by another previous active_id. Else, we was trying to browse an lead which was already deleted by a previous merge in the same loop.
xmo-odoo [Tue, 2 Sep 2014 05:56:27 +0000 (07:56 +0200)]
Merge pull request #2113 from yvaucher/8.0-fix-ir_model-undefined-xml_id
fix typo on undeclared variable xml_id
Martin Trigaux [Mon, 1 Sep 2014 15:40:47 +0000 (17:40 +0200)]
[FIX] gamification: performance improvement
On a large database, thousands of badges may have been granted. This code used to prefetch all fields of the users and badge users. This was highly inefficient. Replace this code by SQL query.
Yannick Vaucher [Mon, 1 Sep 2014 14:26:55 +0000 (16:26 +0200)]
fix typo on undeclared variable xml_id
Denis Ledoux [Mon, 1 Sep 2014 14:10:40 +0000 (16:10 +0200)]
[FIX] web: no_create, if loose focus do not open quick_create
Christophe Simonis [Mon, 1 Sep 2014 13:49:26 +0000 (15:49 +0200)]
[FIX] http.py: session id is `sid` attribute
Xavier Morel [Mon, 1 Sep 2014 12:09:10 +0000 (14:09 +0200)]
[ADD] web client tutorial/training
needs fixes, and corresponding web client reference
Xavier Morel [Mon, 1 Sep 2014 09:54:34 +0000 (11:54 +0200)]
[ADD] openerp.http reference doc
* fix some docstrings so they can be autodoc'd
* intersphinx mapping (and links to) werkzeug and python
Xavier Morel [Fri, 29 Aug 2014 11:39:07 +0000 (13:39 +0200)]
[ADD] port security reference doc
Antony Lesuisse [Sun, 31 Aug 2014 17:22:52 +0000 (19:22 +0200)]
[FIX] website info view remove optional tag
Antony Lesuisse [Sun, 31 Aug 2014 14:56:44 +0000 (16:56 +0200)]
[MERGE] ir-ui-view split active and show_customize
Split the ternary field application in active and show_customize, all four
possible value are now needed for the customize theme popup.
Fabien Pinckaers [Sat, 30 Aug 2014 11:18:33 +0000 (13:18 +0200)]
[FIX] improving manifests
Denis Ledoux [Fri, 29 Aug 2014 18:54:15 +0000 (20:54 +0200)]
[MERGE] forward port of branch 7.0 up to 18d365c
Denis Ledoux [Fri, 29 Aug 2014 18:40:31 +0000 (20:40 +0200)]
"[REVERT][FIX] point_of_sale: field date of report.pos.order should be a datetime"
This reverts commit
97d097a2af8c3992d5108bd75b82fa8479d196cc.
As explained in the commit comments (on Github), this patch leads to an infinite loop in 7.0, the filter of the pos orders report using the '=' operator in its domain, which is not available for datetime fields, but is for date fields.
This should not be forward ported to newer release (saas-3)
qdp-odoo [Fri, 29 Aug 2014 17:13:41 +0000 (19:13 +0200)]
[FIX] account: fixes of bank statement reconciliation widget. Add of a partner_name field to hold the name of the counterparty in case it is not detected instead of merging it to the communication. Structured communication goes in the same communication field, while reference field holds the reference of the transaction (for whatever that means)"
Denis Ledoux [Fri, 29 Aug 2014 14:29:17 +0000 (16:29 +0200)]
[FIX] stock: display product variant name in the slip
Antony Lesuisse [Fri, 29 Aug 2014 13:52:09 +0000 (15:52 +0200)]
[FIX] crm lead fix search view
Denis Ledoux [Fri, 29 Aug 2014 13:46:36 +0000 (15:46 +0200)]
[FIX] l10n_ma: proper chart of account name
Jeremy Kersten [Fri, 29 Aug 2014 13:02:31 +0000 (15:02 +0200)]
[FIX] crm: onchage user_id, don't use the uid by default, but user the user_id. Else Saleteam are setted for current user who are editing and not salesman assigned. + Fix disintct name for attachment
Denis Ledoux [Fri, 29 Aug 2014 12:18:36 +0000 (14:18 +0200)]
[FIX] website_forum: convert answer to comment, use superuser
To browse the forum post, as the partner of the create_uid of the post is needed, which can't be read by portal users.
Thibault Delavallée [Fri, 29 Aug 2014 11:08:06 +0000 (13:08 +0200)]
[IMP] mail: various cleaning and fixes in the notification email links (wording, missing document name management)
Thibault Delavallée [Fri, 29 Aug 2014 10:58:55 +0000 (12:58 +0200)]
[FIX] mail: invite: name of the document was missing in the link to access the document, leading to 'Access False'.
Thibault Delavallée [Fri, 29 Aug 2014 09:15:34 +0000 (11:15 +0200)]
[FIX] mail: chatter: display blockquotes with normal font size (appearing for example when replying through thunderbird).
Thibault Delavallée [Fri, 29 Aug 2014 07:38:15 +0000 (09:38 +0200)]
[CLEAN] mail: remove unused import
Christophe Simonis [Fri, 29 Aug 2014 10:01:50 +0000 (12:01 +0200)]
[FIX] base, mail: access to ir.config_parameter is now handled by by
record rules.
Partial revert of commit
80017b04c2fefe895659f56e5e8d34bd59093e13.
Conflicts:
addons/web/static/src/js/chrome.js
Christophe Simonis [Fri, 29 Aug 2014 09:36:35 +0000 (11:36 +0200)]
[MERGE] forward port of branch saas-5 up to 24c25f5
Christophe Simonis [Fri, 29 Aug 2014 09:12:25 +0000 (11:12 +0200)]
[FIX] website_hr: give public group the right to read resource.resource records
xmo-odoo [Fri, 29 Aug 2014 07:34:58 +0000 (09:34 +0200)]
Merge pull request #2058 from andreparames/patch-1
[FIX] translations loading for selection fields in website
Raphael Collet [Fri, 29 Aug 2014 06:42:35 +0000 (08:42 +0200)]
[IMP] doc/howtos/backend: small fixes
Christophe Simonis [Thu, 28 Aug 2014 17:25:08 +0000 (19:25 +0200)]
[MERGE] forward port of branch saas-3 up to c914893
Christophe Simonis [Thu, 28 Aug 2014 17:07:11 +0000 (19:07 +0200)]
[MERGE] forward port of branch 7.0 up to 15ee4d8
Christophe Simonis [Thu, 28 Aug 2014 17:04:14 +0000 (19:04 +0200)]
[FIX] email_template: remove group restriction on field mail.compose.message.template_id
This was added as a security check, but access to this field is need by the wizard itself.
As non employee users can't read/create email templates, this will not be problematic
Christophe Simonis [Thu, 28 Aug 2014 16:32:11 +0000 (18:32 +0200)]
[FIX] mail: read ir.config_parameter with SUPERUSER_ID
Christophe Simonis [Thu, 28 Aug 2014 16:15:10 +0000 (18:15 +0200)]
[MERGE] forward port of branch 7.0 up to f65c913
Christophe Simonis [Thu, 28 Aug 2014 16:14:08 +0000 (18:14 +0200)]
[FIX] base: security: employee must have access to res.groups
andreparames [Thu, 28 Aug 2014 15:41:45 +0000 (16:41 +0100)]
[FIX] Load translations for selection fields
Selection fields in the new QWeb reports aren't being translated, because the context with the language isn't being passed.
Christophe Simonis [Thu, 28 Aug 2014 15:21:54 +0000 (17:21 +0200)]
[FIX] account: use method has_group() instead of browsing the group directly.
Christophe Simonis [Thu, 28 Aug 2014 15:17:10 +0000 (17:17 +0200)]
[FIX] hr_holidays: remove now invalid xml attribute "model" (introduced by last forward-port)
Jeremy Kersten [Thu, 28 Aug 2014 15:04:01 +0000 (17:04 +0200)]
[FIX] website_forum: fix asset.
Christophe Simonis [Thu, 28 Aug 2014 14:42:17 +0000 (16:42 +0200)]
[MERGE] forward port of branch saas-5 up to 7e117b1
Fabien Meghazi [Thu, 28 Aug 2014 14:05:58 +0000 (16:05 +0200)]
[IMP] pretty urls for /website/image
Christophe Simonis [Thu, 28 Aug 2014 14:21:27 +0000 (16:21 +0200)]
[MERGE] forward port of branch saas-3 up to ada9724
Christophe Simonis [Thu, 28 Aug 2014 14:12:55 +0000 (16:12 +0200)]
[MERGE] forward port of branch 7.0 up to 3509e15
Christophe Simonis [Thu, 28 Aug 2014 13:22:29 +0000 (15:22 +0200)]
[MERGE] last forward port of branch saas-4 up to a65a95f
Géry Debongnie [Thu, 28 Aug 2014 09:49:17 +0000 (11:49 +0200)]
[IMP] adjust web client height with announcement bar
when the user is not registered, the announcement bar messed up the
layout by adding a third scrollbar. This commit fixes the issue by
ajusting the height if necessary. The timeout is necessary to prevent
a scrollbar from appearing when the animation is running.
Géry Debongnie [Thu, 28 Aug 2014 09:28:04 +0000 (11:28 +0200)]
[FIX] css hack to make IE11 work
the stupid left menu was not displayed with IE11. This fix uses a
media query ignored by all (?) browsers but IE11.
Xavier Morel [Tue, 26 Aug 2014 12:59:43 +0000 (14:59 +0200)]
[ADD] views documentation
Xavier Morel [Mon, 25 Aug 2014 11:48:34 +0000 (13:48 +0200)]
[ADD] reinstate form guidelines
Raphael Collet [Thu, 28 Aug 2014 12:44:56 +0000 (14:44 +0200)]
[IMP] doc/howtos/backend: fix calendar view, improve search view, fix copy()
Thibault Delavallée [Thu, 28 Aug 2014 10:41:44 +0000 (12:41 +0200)]
[FIX] [IMP] mail: fixed mail sent to users being redirected to their partner profile
leading to potential issues.
Now the behavior is back to its previous version, posting on the user creates a private
discussion. Fixed management of model variable in message_post to avoid posting messages
on the mail.thread model.
Classic inbox writes on partner, with hr it writes on the employee profile, like previously.
Thibault Delavallée [Thu, 28 Aug 2014 09:29:19 +0000 (11:29 +0200)]
[FIX] website_forum: fixed (un)publish management on the profile. Partners are now also published by default. Better protection of displayed profile: only publis profiles with karma >= 1 are displayed on the forum, to avoid allowing external users to browse the user lists. Some cleaning / improvements in the bio edit form that was a bit buggy.
Thibault Delavallée [Wed, 27 Aug 2014 12:59:03 +0000 (14:59 +0200)]
[FIX] survey: in prepare_result, result_summary variable could be returned without being initialized (error in question.type maybe, but anyway should be more secure)
Jeremy Kersten [Thu, 28 Aug 2014 10:21:47 +0000 (12:21 +0200)]
[IMP] website_*forum,blog,instantclick,...: Move Js in assets
qdp-odoo [Thu, 28 Aug 2014 09:09:48 +0000 (11:09 +0200)]
[FIX] account: several fixes in bank statement reconciliation related to multi-currencies use cases where the statement is a foreign currency but receive a payment in the company currency
Jérome Maes [Tue, 26 Aug 2014 17:04:00 +0000 (19:04 +0200)]
[FIX] bus, im_chat : disabled realtime status notification, replace it with rpc calls and set random retry delay on bus (longpolling)
Jérome Maes [Wed, 27 Aug 2014 08:42:56 +0000 (10:42 +0200)]
[FIX] im_chat : fix the im_search method
Denis Ledoux [Wed, 27 Aug 2014 16:13:53 +0000 (18:13 +0200)]
[FIX] website_blog: controllers blog expects a date, not a datetime
Max Mumford [Wed, 27 Aug 2014 15:13:14 +0000 (17:13 +0200)]
[FIX] stock: missing quantity parameter from get_price_from_picking
Leonardo Donelli [Fri, 27 Jun 2014 15:30:16 +0000 (17:30 +0200)]
[IMP] report_sxw: missing parameter without_company for display_address
Fixes #811
Fabien Meghazi [Wed, 27 Aug 2014 14:54:25 +0000 (16:54 +0200)]
[IMP] Increase statics cache from 12 hours to 1 week
Denis Ledoux [Wed, 27 Aug 2014 14:40:19 +0000 (16:40 +0200)]
[FIX] portal_sale: portals are not allowed to see payments
Portal users are not allowed to read account.move.line model
Therefore, in the portal, if you let the payments in the invoice view, the portal user is warned that he is not allowed to see account.move.line
Raphael Collet [Wed, 27 Aug 2014 14:06:30 +0000 (16:06 +0200)]
[IMP] doc/howtos/backend: add section on wizards
Ravi Gohil [Wed, 6 Aug 2014 22:37:09 +0000 (04:07 +0530)]
[FIX] account: avoid date and cache issues
Explicitely refresh invoice browse_record(...) in order to have correct 'date' in account.move.
Use context_today() date instead of time.strftime() for date_invoice. (opw 611210)
Antoine Huvelle [Wed, 27 Aug 2014 12:25:32 +0000 (14:25 +0200)]
[IMP] stock: filter for procurement.type view
Shouldn't allow to select view in the location field. Otherwise you'll end having pickings composed of stock moves using view stock locations.
Raphaël Valyi [Tue, 26 Aug 2014 22:07:24 +0000 (19:07 -0300)]
[FIX] stock: moves link on product form opening wrong view
Fixes #2008
Fabien Meghazi [Wed, 27 Aug 2014 12:05:09 +0000 (14:05 +0200)]
[FIX] language and model converter redirections should use code=301
Thibault Delavallée [Wed, 27 Aug 2014 10:31:48 +0000 (12:31 +0200)]
[FIX] res_partner: Meetings button on form view was not correctly
filtering displayed meetings according to the selected partner.
Nicolas Seinlet [Wed, 27 Aug 2014 09:48:40 +0000 (11:48 +0200)]
[FIX] sale: on create, set taxes if product_id_change called
Thibault Delavallée [Wed, 27 Aug 2014 09:13:01 +0000 (11:13 +0200)]
[FIX] website_event: pager now takes into account the searches performed
by the user. Otherwise it was resetting the search to all events.
Thibault Delavallée [Wed, 27 Aug 2014 08:57:29 +0000 (10:57 +0200)]
[FIX] website_forum: fixed comment unlink action :
- fixed call to a wrong method
- fixed button display, now based on the standard way of managing karma (popup when
not having the required karma)
- fixed button display karma computation
- some css tweaking for this button
Thibault Delavallée [Wed, 27 Aug 2014 08:16:48 +0000 (10:16 +0200)]
[FIX] Survey: typo (en_US wording)
Raphael Collet [Wed, 27 Aug 2014 08:45:56 +0000 (10:45 +0200)]
[IMP] doc/howtos/backend: improve exercises on relational fields
Fabien Pinckaers [Tue, 26 Aug 2014 19:45:52 +0000 (21:45 +0200)]
[IMP] expl p
Fabien Pinckaers [Tue, 26 Aug 2014 19:40:18 +0000 (21:40 +0200)]
[IMP] Updated website urls on modules and info page
Denis Ledoux [Tue, 26 Aug 2014 16:28:56 +0000 (18:28 +0200)]
[IMP] account: Invoice analysis, filter year by default
For companies having a lot of invoice, not applying the year filter leads to a long reponse time
Denis Ledoux [Tue, 26 Aug 2014 16:10:14 +0000 (18:10 +0200)]
[FIX] resource: security, resource not readable by externals
Denis Ledoux [Tue, 26 Aug 2014 15:32:04 +0000 (17:32 +0200)]
[FIX] email_template: security, email_template no rights for externals
Raphael Collet [Tue, 26 Aug 2014 15:28:29 +0000 (17:28 +0200)]
[IMP] doc/howtos/backend: improve views, fix workflow
Martin Trigaux [Tue, 26 Aug 2014 12:45:00 +0000 (14:45 +0200)]
[FIX] account: name of bank statement is not required
At the confirmation of a bank statement, the name may not be set (e.g. generated by point of sale). This field is not requred so make a fallack on the statement line (which is required).
Martin Trigaux [Tue, 26 Aug 2014 12:31:42 +0000 (14:31 +0200)]
[FIX] point_of_sale: incorrect sequences for orders
A new ir.sequence is generated at pos.config creation for the orders. However it was not used as the type was not set. The fallback was done on the general sequence.
In addition to the sequences being shared, it was not possible to create a pos.order in multicompany (no sequence found for user company, name was null).
Same issue for the pos.order.line.
This patch generates correctly pos.order and pos.order.line sequences at pos.config creation.
Instead of using the pos.config sequence to generate session number (not what this field was intended to), use the existing sequence for pos.session.
Remove company_id value on default pos.session sequence to make sure it's shared between companies and correctly set the prefix.