Commit Graph

90621 Commits

Author SHA1 Message Date
Jeremy Kersten 8f006ed94e [FIX] Website_gengo: check API key with SUPERUSER_ID since private_key is really private 2014-09-03 11:55:00 +02:00
Thibault Delavallée 64b888669b [FIX] website_forum_doc: fixed last commit, wrong branch pushed (missing code review) 2014-09-03 11:47:47 +02:00
Jeremy Kersten 858f4cecde [IMP] survey: display sum for numerical answers 2014-09-03 11:06:50 +02:00
Jérome Maes 4b304b59ef [FIX] im_chat : forget part of sql request, and fix ambiguous column name 2014-09-03 11:01:00 +02:00
Thibault Delavallée 04d95c6a1a [FIX] website_forum_doc: default stage for post + removed unused import + added toc_id field in post tree view 2014-09-03 10:39:30 +02:00
Martin Trigaux 78fa861936 [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)
2014-09-03 08:44:48 +02:00
Martin Trigaux 8d23a3a86c [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.
2014-09-03 08:44:33 +02:00
Jérome Maes 210a40a79f [FIX] im_chat : use direct sql query on im_search method for perfomance issue
and fix away status
2014-09-02 18:58:34 +02:00
Jérome Maes 7ca76c8ed7 [FIX] im_chat : scroll down on opening conversation and add scroll bar on user list 2014-09-02 18:52:27 +02:00
Martin Trigaux e95aeb659c Forward port of branch saas-5 up to 9a7f48a 2014-09-02 14:50:51 +02:00
Raphael Collet f2f1f3465d [IMP] models: prefetch fields with groups (those to which user has access) 2014-09-02 14:11:11 +02:00
Raphael Collet 4f11ff379a [IMP] models: do not prefetch too many records at once 2014-09-02 14:11:11 +02:00
Raphael Collet e7b8e107f1 [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.
2014-09-02 14:07:03 +02:00
Martin Trigaux 9a7f48a0e2 Forward port of branch saas-3 up to c3f5289 2014-09-02 13:59:55 +02:00
Martin Trigaux 4a10295823 [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.
2014-09-02 13:34:57 +02:00
Xavier Morel eab52acccd [ADD] initial theme guide + scaffolding
incomplete, incorrect, committed for testing
2014-09-02 12:43:17 +02:00
qdp-odoo 98801be77f [FIX] account, bank statement reconciliation: fixed use cases involving transactions made in a different currency than the company AND the statement ones 2014-09-02 11:37:57 +02:00
jas d7ef283f53 [FIX] survey: trace the partner_id taking the survey; if no token, set as the current user's partner. 2014-09-02 11:31:03 +02:00
Thibault Delavallée 2ad607feec [FIX] website_sale: pay now button should be translatable 2014-09-02 11:31:03 +02:00
Jeremy Kersten 4d148ace4b [IMP] sales_team: Force a tree view in Sales team tab to avoid to show unnecessary informations like last login date 2014-09-02 11:26:04 +02:00
Martin Trigaux b707719891 [IMP] gamification: improve 40e8437 to make only one global request 2014-09-02 11:25:02 +02:00
Jeremy Kersten ecbcf85e08 [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. 2014-09-02 11:11:22 +02:00
qdp-odoo df54691ea2 [FIX] l10n_be_coda: if there's no communication, feed the field with '/' instead of an empty string 2014-09-02 10:52:11 +02:00
qdp-odoo 2a1f447d06 [FIX] account, bank statement reconciliation: payment and invoice in foreign currency use case fixed 2014-09-02 10:42:28 +02:00
Jeremy Kersten 54bb165096 [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. 2014-09-02 09:48:50 +02:00
xmo-odoo 9c2f093611 Merge pull request #2113 from yvaucher/8.0-fix-ir_model-undefined-xml_id
fix typo on undeclared variable xml_id
2014-09-02 07:56:27 +02:00
Martin Trigaux 40e843761f [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.
2014-09-01 17:40:47 +02:00
Yannick Vaucher bdfa970d3d fix typo on undeclared variable xml_id 2014-09-01 16:26:55 +02:00
Denis Ledoux c3f52899dd [FIX] web: no_create, if loose focus do not open quick_create 2014-09-01 16:10:40 +02:00
Christophe Simonis 0f122cc50c [FIX] http.py: session id is `sid` attribute 2014-09-01 15:49:26 +02:00
Xavier Morel 9c339d8df3 [ADD] web client tutorial/training
needs fixes, and corresponding web client reference
2014-09-01 14:16:15 +02:00
Xavier Morel cccd3c888f [ADD] openerp.http reference doc
* fix some docstrings so they can be autodoc'd
* intersphinx mapping (and links to) werkzeug and python
2014-09-01 14:16:14 +02:00
Xavier Morel afcb89ab3a [ADD] port security reference doc 2014-09-01 14:16:13 +02:00
Antony Lesuisse 4c61ce6060 [FIX] website info view remove optional tag 2014-08-31 19:22:52 +02:00
Antony Lesuisse 2d296cb779 [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.
2014-08-31 16:56:44 +02:00
Fabien Pinckaers 1564a66dd6 [FIX] improving manifests 2014-08-30 13:18:33 +02:00
Denis Ledoux d1f634942b [MERGE] forward port of branch 7.0 up to 18d365c 2014-08-29 20:54:15 +02:00
Denis Ledoux 18d365ce05 "[REVERT][FIX] point_of_sale: field date of report.pos.order should be a datetime"
This reverts commit 97d097a2af.

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)
2014-08-29 20:40:31 +02:00
qdp-odoo cbc52f80eb [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)" 2014-08-29 19:13:41 +02:00
Denis Ledoux 6b11e929a4 [FIX] stock: display product variant name in the slip 2014-08-29 16:30:10 +02:00
Antony Lesuisse 25b4d8a089 [FIX] crm lead fix search view 2014-08-29 15:57:29 +02:00
Denis Ledoux 8044a37b3a [FIX] l10n_ma: proper chart of account name 2014-08-29 15:46:36 +02:00
Jeremy Kersten e186de5006 [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 2014-08-29 15:02:31 +02:00
Denis Ledoux a8d667eeb7 [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.
2014-08-29 14:18:36 +02:00
Thibault Delavallée fd4f6efe1b [IMP] mail: various cleaning and fixes in the notification email links (wording, missing document name management) 2014-08-29 13:22:51 +02:00
Thibault Delavallée c51c908e85 [FIX] mail: invite: name of the document was missing in the link to access the document, leading to 'Access False'. 2014-08-29 13:08:10 +02:00
Thibault Delavallée 28317e8003 [FIX] mail: chatter: display blockquotes with normal font size (appearing for example when replying through thunderbird). 2014-08-29 13:08:10 +02:00
Thibault Delavallée 6954fe972f [CLEAN] mail: remove unused import 2014-08-29 13:08:10 +02:00
Christophe Simonis 0c05a376d5 [FIX] base, mail: access to ir.config_parameter is now handled by by
record rules.

Partial revert of commit 80017b04c2.

Conflicts:
	addons/web/static/src/js/chrome.js
2014-08-29 12:01:50 +02:00
Christophe Simonis 1d2fe3330c [MERGE] forward port of branch saas-5 up to 24c25f5 2014-08-29 11:36:35 +02:00