Commit Graph

90747 Commits

Author SHA1 Message Date
Denis Ledoux ff0f92acfa [MERGE] forward port of branch 7.0 up to 7307227 2014-09-03 18:26:53 +02:00
Denis Ledoux 73072272de [FIX] mrp: do not reset back stock moves to confirm
For instance, setting a BOM Phantom with:
Finished product: stockable, MTO Manufacture
Components: stockable, MTS, Buy. Inventory set to 1000
Stock moves of components are directly set to assigned once the procurement confirmed thanks to JIT
The stock moves should not be set back to confirmed after they have been assigned
2014-09-03 18:25:19 +02:00
antonylesuisse 5065b38159 Merge pull request #2134 from odoo-dev/8.0-improve-packaging3-sle
v8 packaging by sle
2014-09-03 16:40:52 +02:00
Xavier Morel 958f9106dd [ADD] support for canonical urls in technical doc
* canonical_root setting is the path to the root of the canonical sphinx doc,
  if not set no canonical link is generated, must end with "/"
* canonical_branch defines the canonical branch to which to redirect, defaults
  to master

also various side-fixes:

* disabled permalinks in sphinx instead of hiding them via CSS
* improved generation of github links, removed _app global and setting of
  linkcode_resolve in conf.py
2014-09-03 16:34:52 +02:00
Denis Ledoux 05683f05b5 [FIX] website_forum_doc: forum.documentation.stage readable by all 2014-09-03 15:56:04 +02:00
Denis Ledoux 00ea919699 [FIX] payment_paypal: avoid json decode error
with post.pop('custom', '{}'), if the key 'custom' is not there, it will return '{}', but if the key is there, but the value is equivalent to False, the json decode will fail.
2014-09-03 15:19:26 +02:00
Xavier Morel f00bf9a461 [ADD] github links from doc 2014-09-03 14:53:41 +02:00
Xavier Morel c0373318d9 [IMP] display sibling documents in affixed menu 2014-09-03 14:53:40 +02:00
Simon Lejeune 67036feff4 [FIX] Windows packaging: AGPL license 2014-09-03 14:03:38 +02:00
Denis Ledoux 6b8764c2ef [FIX] pad: fullscreen pad behind the top nav bar 2014-09-03 12:30:15 +02:00
Fabien Meghazi 40d4b6b49f [FIX] Website translation pairing bug
I think we could get rid of the .trim() calls (for performance sake)
but I don't want to break anything so I'll leave them.
2014-09-03 12:09:31 +02:00
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
Olivier Dony c0d838ddb3 [IMP] web: extra comments to explain commit 57b4860
Added some cryptic comments so we remember a bit
why we have a complicated dance with on_close.
Basically we do not want to reload the
original form view until the last popup is closed,
in the case where several wizard (steps) are opened
one after the other.
2014-09-02 19:44:21 +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
Denis Ledoux c77c3f934c [FIX] account_payment: lin2bank correct fallback condition 2014-09-02 18:43:22 +02:00
Stéphane Wirtel 1ff7ed2758 [IMP] Optimize the schedulers of the calendar, fetchmail and base_action_rules modules
Disable the the crons when they'd have nothing to do, re-enable them when a
task is (probably) introduced
2014-09-02 18:32:27 +02:00
Denis Ledoux 57b48602fb [FIX] web: chain close action on wizard confirm
If a wizard has several steps, or laucnh a second wizard, the view from where has been loaded the initial wizard is finally reloaded
2014-09-02 17:32:37 +02:00
Simon Lejeune 73de0138de [FIX] Windows packaging: correct Makefile.version writing and remove useless lib installation 2014-09-02 17:25:18 +02:00
Martin Trigaux e95aeb659c Forward port of branch saas-5 up to 9a7f48a 2014-09-02 14:50:51 +02:00
Simon Lejeune 30d987ed30 [REF] Package.py: refactoring including cleanup, lint, and use of docker to test unix releases 2014-09-02 14:13:01 +02:00
Simon Lejeune 29132669a1 [REF][FIX]: Windows packaging: lint, cleanup and make it work
setup.nsi: make it build and use postgresql 9.3
win32_se*: lint and simplified
Makefile: only one mode
2014-09-02 14:13:01 +02:00
Simon Lejeune 7db12dc47b [ADD] RedHat: defined the dependencies and added a post-install script to create the odoo user, the odoo configuration file, ... 2014-09-02 14:13:01 +02:00
Simon Lejeune f668f9c6cd [FIX] Debian: updated informations and dependencies, refactored debhelpers scripts to allow easy name change, simplified debhelper rules 2014-09-02 14:13:01 +02:00
Simon Lejeune 2cf4051a15 [REF] Debian: renamed debhelpers scripts to not contain openerp in their filenames anymore, removed run_all_with_tests.sh script 2014-09-02 14:13:00 +02:00
Simon Lejeune 735924878f [REF] setup: cleanup and linting of setup.py, reworked MANIFEST, added requirements.txt 2014-09-02 14:13:00 +02:00
Simon Lejeune d9b739e8f6 [REF] Renamed files whose names contained whitespaces 2014-09-02 14:13:00 +02:00
Simon Lejeune 7e41903110 [FIX] config.py: do not use appsdir to define the user's data dir when he has no home directory on unix
Force it to be '/var/lib/(appname)' in this case
2014-09-02 14:13:00 +02:00
Simon Lejeune f2598ecdce [REF] Packaging: moved all the windows-related files into an unique win32 directory + cleanup 2014-09-02 14:13:00 +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