Commit Graph

91039 Commits

Author SHA1 Message Date
Raphael Collet 1f15055de3 [FIX] fields: a function field with fnct_search should be searchable 2014-09-24 18:41:20 +02:00
Cedric Snauwaert aa6af7608a [FIX] css: overflow-x: auto should be on modal-body 2014-09-24 17:40:21 +02:00
Simon Lejeune 176404dd14 [FIX] Report: attachment_use need attachment 2014-09-24 17:33:00 +02:00
Simon Lejeune 5936a5c4a6 [FIX] Report: attachment and attachment_use: fix logic
Previously, attachment and attachment_use were only functionnal when used
simultaneously. The code did not consider the fact that the user may want
an historic of all the printed reports. This commit allow the use of
attachment without attachment_use.

It also tell explicitely qweb to generate the branding (used to separate
reports from a unique html when printing multiple reports). Before, it was
functional only when website was installed, because we forced 'editable' that
only has meaning in website.
2014-09-24 16:48:39 +02:00
Raphael Collet 24f26c0eeb [FIX] ir_models: fix registry when we add/remove/modify a custom model/field 2014-09-24 15:30:37 +02:00
Jeremy Kersten 9696d76aec [FIX] google_calendar: browse user as SUPERUSER_ID to be able to write/update google_calendar info on user 2014-09-24 15:30:11 +02:00
Mitesh Savani e6790ba87d [FIX] mail: position of show more message button 2014-09-24 12:56:40 +02:00
Simon Lejeune fd432b6725 [FIX] web: base.css: visible overflow for oe_view_manager_body on media print 2014-09-24 11:41:04 +02:00
Tony 64851ae8fe [FIX] survey: wrong record passed to action_survey_resent
The method action_survey_resent expects a survey.user_input instead of a hr.evaluation.interview record.
2014-09-24 11:12:44 +02:00
Grzegorz Krukar bcf3bca87b [FIX] product: typo in field string 2014-09-24 09:44:10 +02:00
Olivier Dony b74d830eb2 [I18N] Update translation templates with latest term changes 2014-09-23 19:13:50 +02:00
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