Commit Graph

91028 Commits

Author SHA1 Message Date
Olivier Dony 5552a3e868 [FIX] Update README for 8.0 2014-09-23 18:41:42 +02:00
Commandant Custo 7c70660404 [FIX] account: typo in conversion to new API 2014-09-23 14:26:47 +02:00
Simon Lejeune f299b40fe6 [FIX] report: windows: lower level of file opening/closing, which to find wkhtmltpdf
* Use of 'which' to find the wkhtmltopdf binary (allow the win32 service to find it)
* Use of mkstemp and manual close of the file descriptors
2014-09-23 14:07:03 +02:00
DEEP SILVER ACCESSORY e458be4a14 [FIX] Report: compatibility issues on Windows
This commit fixes two different issues specific to Windows:
* NamedTemporaryFile behavior, requiring a file to be closed before being
  accessed a second time
* Wkhtmltopdf crash when the document's dpi is inferor to 96
2014-09-23 14:07:03 +02:00
Olivier Dony 1c5b5e4290 [I18N] Update translations from Launchpad 8.0 branches
server: rev. 26 rev-id launchpad_translations_on_behalf_of_openerp-20140923072744-tkfs0yinu8msjh09
addons: rev. 39 rev-id launchpad_translations_on_behalf_of_openerp-20140923072715-5j7qvnuvmmb1zzy1
web: rev. 23 rev-id launchpad_translations_on_behalf_of_openerp-20140923072757-jvh9l6r2x0vfcyhb
2014-09-23 13:42:05 +02:00
sve-odoo 9065aea144 [FIX] l10n_be: Fix BS and P&L 2014-09-23 11:21:53 +02:00
Cedric Snauwaert fa561f5caf [FIX] wms: fix lookup of xmlid route_warehouse0_buy
Fixes #2610 courtesy of gurneyalex
2014-09-23 11:05:22 +02:00
Olivier Dony 4614fdf755 [FIX] bus: prevent error popups when longpolling requests are interrupted
1b9c404 modified the /longpolling/poll requests
to use openerp.session.rpc() instead of openerp.jsonRpc().
In order to properly disable error popups, an
explicit preventDefault() call is now required.
2014-09-22 19:14:57 +02:00
Martin Trigaux 152c5c2b56 [IMP] base: safer locking at user login
When a users connects, a lock is taken on the res_user table to modify the last login date. If another running transaction uses a foreign key to res.users (e.g. write_uid column), postgres may detect the update as a concurrent update and rollback the transaction.
In pg 9.3, the lock_strength parameter 'NO KEY' allows a weaker lock which is less likely to break another transaction.
Fixes #552
2014-09-22 18:18:41 +02:00
Martin Trigaux 506e397e4a [IMP] mail: avoid sending an email twice
In some specific conditions (e.g. admin logging during cron run, concurrent update), writing on the mail object may fail, triggering a rollback of the transaction.
As the write was done after the SMTP sendmail action, an email could be sent twice (state not correctly put, would be retried at next process of the email queue).
This patch provoke the error before the sendmail action and thus avoids sending the email.
Fixes #552
2014-09-22 18:16:48 +02:00
Christophe Simonis c6290988ce [FIX] models: only check existance of inverse_field for one2many fields 2014-09-22 17:05:07 +02:00
Jeremy Kersten 9ca58db6be [IMP] crm: make code of merge opportunities overloadable 2014-09-22 16:14:04 +02:00
Olivier Dony e133e5fc36 [FIX] website_twitter: display setup/debug info only for website editors, not visitors 2014-09-22 14:54:10 +02:00
Josse Colpaert 1d6c0b2148 Merge pull request #2603 from odoo-dev/8.0-wmsstaging10-jco
8.0 wmsstaging10 jco
2014-09-22 12:23:42 +02:00
Josse Colpaert ac2d50d27a [IMP] Assign all destination moves at once, add packaging 2014-09-22 11:29:39 +02:00
Josse Colpaert 277c870de7 [FIX] Previous move subtleties 2014-09-22 11:29:39 +02:00
Richard deMeester 86eeea12f0 [FIX] product: Put product_variant_count on template form view.
Was missing to be used in domain added at 92d8f15.
Fixes #2570
2014-09-22 11:04:00 +02:00
rmu-odoo a4a8a3ece4 [FIX] event: avoid double "Publish" button
The event.track view wa sextending the event.event view which was adding action buttons linked to the event.event object instead of the track.
This patch uses the general website view to avoid the confusion (and the risk of publishing an event instead a track).
2014-09-22 11:04:00 +02:00
Jérome Maes 76cee51709 [FIX] im_chat, im_livechat : fix loading covnersation history and is_in_session function 2014-09-22 10:41:11 +02:00
Josse Colpaert 911db9df93 Merge pull request #2501 from hmen89/8.0-fix-write-compute-cost
[FIX]stock_landed_costs: Fixed wrong costs on landed costs with many pro...
2014-09-20 09:28:19 +02:00
Christophe Simonis dcca9b52c7 [FIX] models: correct lazy loading of manual fields 2014-09-19 16:51:29 +02:00
Jay Patel 5258427d18 [FIX] website blog: open change cover wizard at second selection
Fixes #2470
2014-09-19 16:03:41 +02:00
Christophe Matthieu 5e07658c7d Merge pull request #2543 from odoo-dev/8.0-fix-website_sale-list-variants-chm
[FIX] website_sale: displayed price doesn't change for 'List View of Variants' customize template
2014-09-19 14:00:05 +02:00
Christophe Matthieu fa60849037 Merge pull request #2550 from odoo-dev/8.0-fix-default_code-chm
[FIX] product: Even when the product template has more than 1 variant, the default_code is displayed.
2014-09-19 13:59:27 +02:00
Mitesh Savani 6021b0fe8f [FIX] base_gengo, website_gengo: groups on the gengo key.
Basically the admin group can read the gengo key. When adding website_gengo that adds the
website groups, the groups allowed to access the key are updated.

This is done because in base_gengo the website groups are not necesssarily defined. Website
is not a dependency of base_gengo.
2014-09-19 13:28:29 +02:00
Jérome Maes 1b9c404e49 [FIX] bus, im_chat, im_livechat : use correct session to rpc call, little refactoring of im_livechat js, and prepare js code for Odoo Support. 2014-09-19 12:38:07 +02:00
Christophe Matthieu 92d8f15a18 [FIX] product: Even when the product template has more than 1 variant, the default_code is displayed. 2014-09-19 12:30:57 +02:00
ptr 130873f0f6 [FIX] web: form: quick create: name is now required to avoid creating records with a void name 2014-09-19 11:55:54 +02:00
yingliu4203 fb4db6c938 [FIX] Packaging: Wndows: wrong handler used when logging to file 2014-09-19 11:17:13 +02:00
Christophe Matthieu 8afa1b6062 [FIX] website_sale: displayed price doesn't change for 'List View of Variants' customize template 2014-09-19 11:07:33 +02:00
Denis Ledoux 29e08a272c [MERGE] forward port of branch saas-3 up to 5bd0249 2014-09-18 16:18:23 +02:00
Denis Ledoux 5bd0249515 [MERGE] forward port of branch 7.0 up to a218a9e 2014-09-18 16:05:34 +02:00
Denis Ledoux a218a9ed3f [FIX] kanban: wrong condition to reset the dataset index
The dataset index should be reset either if the dataset is empty or the index is greater than the records size
2014-09-18 15:56:23 +02:00
Raphaël Valyi a10da2aba8 [FIX] mrp_repair: pass context in product_id_change calls 2014-09-18 15:13:49 +02:00
Martin Trigaux 3d908c3379 [FIX] survey: typo in domain 2014-09-18 13:50:20 +02:00
MadeleineHero 2182acb445 [FIX] survey: display_mode is required if question type is simple_choice
Fixes #2461
2014-09-18 13:35:49 +02:00
Olivier Dony 990d05e78d [REL] Odoo 8.0 2014-09-18 12:11:18 +02:00
Martin Trigaux f22f98cf9e [FIX] stock_account: accept negative quantities on standard price
The qty_available available of a product can be negative (e.g. using the force availibility button on delivery order) and the generated account.move.line should be adapted (otherwise getting negative values in debit/credit entries).
Fixes #2475
2014-09-18 11:57:48 +02:00
Simon Lejeune 93845d683c [FIX] Package: split the version to not include the latest commit's hash included by the package script 2014-09-18 11:55:20 +02:00
Géry Debongnie 2d81f2cfdd [FIX] update autocomplete test
Autocompletion of many2one fields only accepts domains in the form of
arrays, not as strings.
2014-09-18 11:52:38 +02:00
Olivier Dony 53aa92d3c9 [I18N] Update translations from Launchpad branches 2014-09-18 11:47:16 +02:00
Simon Lejeune 012bc01c11 [FIX] Package: Debian: finally a correct Packages generation 2014-09-18 11:26:20 +02:00
Thibault Delavallée 7cad4baa84 [FIX] [CLEAN] Various: fixed / cleaned use of dict.fromkeys.
Indeed using fromkeys with a list / dict as argument leads to the creation
of shared list / dict. This could create some ugly side effects when
used in loops. This commit fixes or cleans this kind of statement to avoid
unwanted side effects.
2014-09-18 11:18:30 +02:00
Martin Trigaux f0c3856be2 [IMP] gamification: allow to select fields of inherited models 2014-09-18 11:12:15 +02:00
Martin Trigaux 423a9f3011 [ADD] base: list of inherited models on a ir.model
This field is needed to retrieve the list of inherited fields (instead of only the fields of a current model) of a model using domain such as ('model_id', 'in', model.inherited_model_ids) on ir.model.fields
2014-09-18 11:12:15 +02:00
Martin Trigaux 56b3db8219 [IMP] gamification: usability and shit
Challenge
- 'Reward as soon as every goal is reached' box checked by default (most of the time people want this behaviour, few special cases were do not)
- Click on challenge kanban opens goal list instead of challenge form
- Add button 'Start Challenge' clicking on statusbar is not intuitive

Badge
- When creates a challenge from badge view, set by default badge to 'For Every Succeding User' field
- replace filter 'Current' vs 'Passed' by 'Running' (in progress and done with not reached end date) vs 'Done' (done & failed without end date or end date passed)

Goal
- list of badge on employee form not the first tab
2014-09-18 11:12:15 +02:00
Raphael Collet 764c5acd81 [IMP] fields: reset decimal precision on new-style fields
When a decimal_precision record is created/modified, the float fields of the
models in the registry must be reset.  This was done on old-API columns only.
It is now handled by the new-API fields.
2014-09-18 11:11:19 +02:00
Martin Trigaux e31d25c867 [FIX] event: subscribe customer error
The onchange methods needs to work with browse records and address_get returns an id. Fixes #2484
2014-09-18 11:08:19 +02:00
Géry Debongnie e6a2d222d6 [FIX] correctly expand many2ones in autocompletion
The ManyToOneField widget evaluated the domain before doing a name_search,
but the domain should not be evaluated client side, because it can only
be static at that point. It caused crash in autocompletion because
some variables could not be found in the context (see stage_id in
project.task for example)
2014-09-18 11:04:01 +02:00
Denis Ledoux 8d773dcd23 [FIX] website_sale: only display payment method from the same company as the order 2014-09-18 10:51:57 +02:00