odoo/odoo.git
9 years ago[IMP] website_sale: confirm quotation only when the payment is done, not directly...
Thibault Delavallée [Wed, 3 Sep 2014 11:21:23 +0000 (13:21 +0200)]
[IMP] website_sale: confirm quotation only when the payment is done, not directly when hitting 'pay now'.

9 years ago[FIX] purchase: payment_term_id twice in the view
Denis Ledoux [Mon, 29 Sep 2014 08:48:25 +0000 (10:48 +0200)]
[FIX] purchase: payment_term_id twice in the view

+ replace widget selection by options no_open no_create

9 years ago[FIX] website: restore compatibility with RC1 templates for commit 77c41cc5cb64a95178...
Olivier Dony [Mon, 29 Sep 2014 08:18:11 +0000 (10:18 +0200)]
[FIX] website: restore compatibility with RC1 templates for commit 77c41cc5cb64a951789d251b445f05e42cf1b997

9 years ago[REVERT] tests added in forward port e2e60bf4eb89d92e883e8520771523c1c0377fd3
Denis Ledoux [Fri, 26 Sep 2014 20:23:46 +0000 (22:23 +0200)]
[REVERT] tests added in  forward port e2e60bf4eb89d92e883e8520771523c1c0377fd3

This is related to the revert 333852e19dd3d5174e07e29f9d8f6c087b2c09f6

9 years ago[MERGE] forward port of branch saas-3 up to 39bb45a
Denis Ledoux [Fri, 26 Sep 2014 19:58:06 +0000 (21:58 +0200)]
[MERGE] forward port of branch saas-3 up to 39bb45a

9 years ago[MERGE] forward port of branch 7.0 up to 333852e
Denis Ledoux [Fri, 26 Sep 2014 19:32:40 +0000 (21:32 +0200)]
[MERGE] forward port of branch 7.0 up to 333852e

9 years agoRevert "[FIX] product,float_utils: perform ceiling via float_round with new rounding_...
Denis Ledoux [Fri, 26 Sep 2014 19:21:06 +0000 (21:21 +0200)]
Revert "[FIX] product,float_utils: perform ceiling via float_round with new rounding_method UP"

This reverts commit d4972ffdb6b9356a524eef1dbc11f455ff4473f2.

Seems to break some cases, at least in _product_reserve from stock/stock.py

Actual use case:

SELECT product_uom, sum(product_qty) AS product_qty FROM stock_move WHERE location_dest_id=%s AND location_id<>%s AND product_id=3645 AND state='done' GROUP BY product_uom;
returning 1 | 6

SELECT product_uom,-sum(product_qty) AS product_qty FROM stock_move WHERE location_id=%s AND location_dest_id<>%s AND product_id=%s AND state in ('done', 'assigned') GROUP BY product_uom;
returning 1 | -6

results += cr.dictfetchall()
    total = 0.0
    results2 = 0.0
    for r in results:
        amount = uom_obj._compute_qty(cr, uid, r['product_uom'], r['product_qty'], context.get('uom', False))
        results2 += amount
        total += amount
Total = 1, amount = -5

It should actually be
Total = 0, amount = -6

9 years ago[IMP] account: use float_compare for taxes
Martin Trigaux [Fri, 26 Sep 2014 14:55:41 +0000 (16:55 +0200)]
[IMP] account: use float_compare for taxes

Avoiding some python float representation errors

9 years ago[FIX] website: 'Display Editor Bar on Website' group stopped working at commit a2ef04...
Christophe Matthieu [Thu, 25 Sep 2014 13:32:25 +0000 (15:32 +0200)]
[FIX] website: 'Display Editor Bar on Website' group stopped working at commit a2ef044c477

The Edit button never appeared anymore for these users.
The idea was that they should see an edit button with
limited editing capabilities depending on their other
access rights.
For example, someone with only Sales Manager access and
'Display Editor Bar on Website'
would be able to edit online quotes from the website_quote
module, but not change the actual website pages or menus,
for instance.

9 years ago[FIX] website_sale: avoid subscribing the website user (Public) to all shop orders
Olivier Dony [Fri, 26 Sep 2014 13:09:29 +0000 (15:09 +0200)]
[FIX] website_sale: avoid subscribing the website user (Public) to all shop orders

Especially as this user does not have a valid email, which
could prevent notifications to reach other followers.

9 years ago[MERGE] forward port of branch 7.0 up to cac6a26
Denis Ledoux [Fri, 26 Sep 2014 14:06:22 +0000 (16:06 +0200)]
[MERGE] forward port of branch 7.0 up to cac6a26

9 years ago[FIX] project_mrp: task description duplicated + product name translation
Denis Ledoux [Fri, 26 Sep 2014 14:05:16 +0000 (16:05 +0200)]
[FIX] project_mrp: task description duplicated + product name translation

9 years ago[FIX] website_sale: auto-confirm free orders upon cart validation
Olivier Dony [Fri, 26 Sep 2014 11:03:43 +0000 (13:03 +0200)]
[FIX] website_sale: auto-confirm free orders upon cart validation

Orders are normally confirmed when the payment transaction
is processed, but there is no transaction for free orders.
This caused them to stay in draft until manually cancelled.

9 years ago[FIX] im_odoo_support : fix event triggered to bind event on dropdown usermenu item.
Jérome Maes [Fri, 26 Sep 2014 12:27:12 +0000 (14:27 +0200)]
[FIX] im_odoo_support : fix event triggered to bind event on dropdown usermenu item.

9 years ago[FIX] base: correct non-copy of `login_date` + adapt tests
Christophe Simonis [Fri, 26 Sep 2014 11:54:37 +0000 (13:54 +0200)]
[FIX] base: correct non-copy of `login_date` + adapt tests

9 years ago[MERGE] forward port of branch saas-3 up to fe8106f
Christophe Simonis [Fri, 26 Sep 2014 10:53:59 +0000 (12:53 +0200)]
[MERGE] forward port of branch saas-3 up to fe8106f

9 years ago[MERGE] forward port of branch 7.0 up to af37b30
Christophe Simonis [Fri, 26 Sep 2014 10:33:17 +0000 (12:33 +0200)]
[MERGE] forward port of branch 7.0 up to af37b30

9 years ago[ADD] im_odoo_support : add the module for the live odoo support from all instances...
Jérome Maes [Fri, 26 Sep 2014 09:43:12 +0000 (11:43 +0200)]
[ADD] im_odoo_support : add the module for the live odoo support from all instances. This sets the bus and im_chat module auto installable.

9 years ago[FIX] im_chat, im_livechat : fix the loading history for anonymous user and remove...
Jérome Maes [Thu, 25 Sep 2014 14:30:50 +0000 (16:30 +0200)]
[FIX] im_chat, im_livechat : fix the loading history for anonymous user and remove useless search_user_status rpc call.

9 years ago[FIX] fix context problem in graph view
Géry Debongnie [Fri, 26 Sep 2014 09:38:06 +0000 (11:38 +0200)]
[FIX] fix context problem in graph view

The group_by query expects the context to have group_by_no_leaf = true,
so we can not just blindly forward the context to the groupby query.
This is a defensive way to fix the problem, to avoid other possible
crashes.  But the context shouldn't have group_by_no_leaf anyway,
it does not make sense to explicitely do that in the action

9 years ago[FIX] cron: doall false by default
Denis Ledoux [Fri, 26 Sep 2014 08:17:50 +0000 (10:17 +0200)]
[FIX] cron: doall false by default

As in most cases, we do not want this doall

9 years agoModify General Ledger report to be printed on landscape if set in wizard.
Fekete Mihai [Fri, 26 Sep 2014 06:54:31 +0000 (09:54 +0300)]
Modify General Ledger report to be printed on landscape if set in wizard.

9 years ago[FIX] res_users: do not copy login_date when duplicating users
Denis Ledoux [Thu, 25 Sep 2014 15:00:34 +0000 (17:00 +0200)]
[FIX] res_users: do not copy login_date when duplicating users

9 years ago[FIX] payment: transaction formview display issue
Simon Lejeune [Thu, 25 Sep 2014 14:58:53 +0000 (16:58 +0200)]
[FIX] payment: transaction formview display issue

Using group without defining the col attribute will let the form
renderer choose the right display to avoid screwing up the layout

9 years ago[FIX] Error when installing module document
Ronak Baxi [Wed, 3 Sep 2014 11:31:15 +0000 (17:01 +0530)]
[FIX] Error when installing module document

9 years ago[FIX] website_sale: free carts were not confirmed
Denis Ledoux [Thu, 25 Sep 2014 14:24:59 +0000 (16:24 +0200)]
[FIX] website_sale: free carts were not confirmed

9 years ago[FIX] account_voucher: use resolve_2many_commands() instead of buggy-hand-written...
Raphael Collet [Thu, 25 Sep 2014 12:57:53 +0000 (14:57 +0200)]
[FIX] account_voucher: use resolve_2many_commands() instead of buggy-hand-written function

9 years ago[FIX] account_voucher: do not unlink records in onchange method
Raphael Collet [Thu, 25 Sep 2014 12:30:22 +0000 (14:30 +0200)]
[FIX] account_voucher: do not unlink records in onchange method

The method recompute_voucher_lines() is used by several onchange methods of
account.voucher.  It used to unlink() the voucher lines before recomputing new
voucher lines.  As a side effect, if you edit a voucher and discard your
changes, your voucher has lost its lines, although you did not save your
changes!  Moreover, the call to unlink() is invalidating the record cache,
which screws up completely the onchange() method.

So, instead of unlinking the existing lines, the onchange generates commands
[(2, id), ...] to remove the existing lines only when saving the changes.

9 years ago[MERGE] forward port of branch 7.0 up to 5f6d324
Denis Ledoux [Thu, 25 Sep 2014 13:10:37 +0000 (15:10 +0200)]
[MERGE] forward port of branch 7.0 up to 5f6d324

9 years ago[FIX] payment_ogone: last commit
Martin Trigaux [Thu, 25 Sep 2014 13:07:07 +0000 (15:07 +0200)]
[FIX] payment_ogone: last commit

9 years ago[FIX] paymnet_ogon: add missing SHA OUT keys
Wolfgang Taferner [Sat, 20 Sep 2014 17:18:42 +0000 (19:18 +0200)]
[FIX] paymnet_ogon: add missing SHA OUT keys

The SHA OUT list was incomplete and therefore SHASIGN was not matching anymore
List of keys from https://viveum.v-psp.com/Ncol/Viveum_e-Com-BAS_EN.pdf

9 years ago[FIX] crm: merge the phonecalls during an opportunities merge
Simon Lejeune [Thu, 25 Sep 2014 11:40:45 +0000 (13:40 +0200)]
[FIX] crm: merge the phonecalls during an opportunities merge

9 years ago[FIX] portal_sale: force empty context
Christophe Simonis [Thu, 25 Sep 2014 09:51:15 +0000 (11:51 +0200)]
[FIX] portal_sale: force empty context

The context was removed by 1933e926.

9 years ago[IMP] website_sale : avoid duplicated order lines
Jamin Shah [Wed, 24 Sep 2014 07:06:42 +0000 (12:36 +0530)]
[IMP] website_sale : avoid duplicated order lines

Add line id to while calling _cart_update() from sale_get_order()
The missing line_id parametre was making the _cart_find_product_line() call to fail as it was linked to an option while searching for lines without options (making the method recreate new lines).
Fixes #2573

9 years ago[FIX] website: prevent t-field on selection fields
Ajay Patel [Fri, 5 Sep 2014 09:47:58 +0000 (15:17 +0530)]
[FIX] website: prevent t-field on selection fields

This quick fix avoids a buggy behaviour in version 8.0 that could
confuse users.

A future version should implement properly selection fields in t-field.

(closes #2490)

(cherry picked from commit fe3cac30e4c5c132da1de02576d4aa325979ccd9)

9 years ago[IMP] models: when checking for data in a table, do not use column 'id'
Raphael Collet [Wed, 24 Sep 2014 13:41:09 +0000 (15:41 +0200)]
[IMP] models: when checking for data in a table, do not use column 'id'

Replace the query "SELECT min(id) FROM xxx" by "SELECT 1 FROM xxx LIMIT 1".
Both requests are as efficient, and the second one does not crash if column
'id' is missing.

9 years ago[FIX] fields: a function field with fnct_search should be searchable
Raphael Collet [Wed, 24 Sep 2014 09:12:44 +0000 (11:12 +0200)]
[FIX] fields: a function field with fnct_search should be searchable

9 years ago[FIX] css: overflow-x: auto should be on modal-body
Cedric Snauwaert [Wed, 24 Sep 2014 13:38:14 +0000 (15:38 +0200)]
[FIX] css: overflow-x: auto should be on modal-body

9 years ago[FIX] Report: attachment_use need attachment
Simon Lejeune [Wed, 24 Sep 2014 15:33:00 +0000 (17:33 +0200)]
[FIX] Report: attachment_use need attachment

9 years ago[IMP] crm: remove TODO posted by past me
Martin Trigaux [Wed, 24 Sep 2014 15:19:22 +0000 (17:19 +0200)]
[IMP] crm: remove TODO posted by past me

9 years ago[FIX] product: _compute_qty: first round before ceiling, to avoid pathological cases
Cedric Snauwaert [Wed, 24 Sep 2014 14:09:28 +0000 (16:09 +0200)]
[FIX] product: _compute_qty: first round before ceiling, to avoid pathological cases

Fixes problem when we try to sell 12 units of a product and change it to 1 dozen,
the algorithm was then trying to recompute the original amount and was getting
12,0000048 as a result which was then passed to the ceiling method, getting 13.0!

See also previous commit and issue #1125, PR #1126

9 years ago[FIX] product,float_utils: perform ceiling via float_round with new rounding_method UP
Cedric Snauwaert [Tue, 23 Sep 2014 15:39:14 +0000 (17:39 +0200)]
[FIX] product,float_utils: perform ceiling via float_round with new rounding_method UP

Modified product ceiling() to use float_round() with special mode
for rounding UP (away from zero), avoiding pathological cases where
float representations errors were ceiling to the superior unit.

Also added correspding tests for rounding_method=UP

Fixes issue #1125, and replaces PR #1126.

9 years agoForward port of branch 7.0 up to 1933e92
Martin Trigaux [Wed, 24 Sep 2014 15:10:14 +0000 (17:10 +0200)]
Forward port of branch 7.0 up to 1933e92

9 years ago[INP] portal_sale: remove buggy context
Martin Trigaux [Wed, 24 Sep 2014 15:00:24 +0000 (17:00 +0200)]
[INP] portal_sale: remove buggy context

Even if this should never be used in normal portal environment, if a user with enough access rights tries to create an invoice, this would crash. We don't need context here (opw 612591).

9 years ago[FIX] Report: attachment and attachment_use: fix logic
Simon Lejeune [Wed, 24 Sep 2014 14:41:26 +0000 (16:41 +0200)]
[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.

9 years ago[IMP] stock: Optimize stock_move.setlast_tracking()
Guewen Baconnier [Tue, 16 Sep 2014 13:21:07 +0000 (15:21 +0200)]
[IMP] stock: Optimize stock_move.setlast_tracking()

When setlast_tracking is called on a large number of moves in a picking
(e.g.  when splitting moves in a picking), the time to complete grows
exponentially.  The reason is that it loops over all the moves of
a picking, even if it keeps only the last tracking.

The method now uses a search() with a limit so it doesn't need to browse
all the moves.

Added test to check the behaviour of setlast_tracking
Fixes #2448

9 years ago[FIX] crm: correct open lead or opportunity view from calls
Ravi Gohil [Mon, 9 Jun 2014 09:28:30 +0000 (14:58 +0530)]
[FIX] crm: correct open lead or opportunity view from calls

When opening a lead/opportunity from the phonecalls view, we did not open the correct view (always the lead).
This will use the type of the crm.lead to determine which view should be used, opw 608493.

9 years ago[FIX] ir_models: fix registry when we add/remove/modify a custom model/field
Raphael Collet [Wed, 24 Sep 2014 09:28:28 +0000 (11:28 +0200)]
[FIX] ir_models: fix registry when we add/remove/modify a custom model/field

9 years ago[FIX] google_calendar: browse user as SUPERUSER_ID to be able to write/update google_...
Jeremy Kersten [Wed, 24 Sep 2014 13:30:11 +0000 (15:30 +0200)]
[FIX] google_calendar: browse user as SUPERUSER_ID to be able to write/update google_calendar info on user

9 years ago[IMP] stock: do not generate empty backorders
Martin Trigaux [Wed, 24 Sep 2014 12:34:14 +0000 (14:34 +0200)]
[IMP] stock: do not generate empty backorders

If every line of a partial delivery is at zero, do not generate empty backorders (opw 608680)

9 years ago[FIX] point_of_sale: invoice not created in backend
dhr-odoo [Tue, 1 Jul 2014 11:20:59 +0000 (16:50 +0530)]
[FIX] point_of_sale: invoice not created in backend

Missing arguments that lead to the invoice not created in the backend (opw 609470).

9 years ago[MERGE] forward port of branch 7.0 up to 5c2fb12
Denis Ledoux [Wed, 24 Sep 2014 11:10:47 +0000 (13:10 +0200)]
[MERGE] forward port of branch 7.0 up to 5c2fb12

9 years ago[FIX] web_calendar: reset dataset index if search result empty
Denis Ledoux [Wed, 24 Sep 2014 11:07:26 +0000 (13:07 +0200)]
[FIX] web_calendar: reset dataset index if search result empty

9 years ago[FIX] mail: position of show more message button
Mitesh Savani [Tue, 26 Aug 2014 04:49:38 +0000 (10:19 +0530)]
[FIX] mail: position of show more message button

9 years ago[FIX] web: base.css: visible overflow for oe_view_manager_body on media print
Simon Lejeune [Wed, 24 Sep 2014 09:38:25 +0000 (11:38 +0200)]
[FIX] web: base.css: visible overflow for oe_view_manager_body on media print

9 years ago[FIX] survey: wrong record passed to action_survey_resent
Tony [Wed, 24 Sep 2014 02:59:43 +0000 (10:59 +0800)]
[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.

9 years agoForward port of 7.0 up to rev 4a064b9
Martin Trigaux [Wed, 24 Sep 2014 08:35:28 +0000 (10:35 +0200)]
Forward port of 7.0 up to rev 4a064b9

9 years ago[FIX] stock: error on stock.partial.move creation
Martin Trigaux [Wed, 24 Sep 2014 08:27:40 +0000 (10:27 +0200)]
[FIX] stock: error on stock.partial.move creation

The stock_partial_move wizard removes the required attribute for the field picking_id on a stock.partial.move. This means that we could get moves without picking_id and the previous line was failing ('NoneType' object has no attribute 'currency_id'). opw 614531

9 years ago[FIX] product: typo in field string
Grzegorz Krukar [Tue, 23 Sep 2014 21:41:21 +0000 (23:41 +0200)]
[FIX] product: typo in field string

9 years ago[I18N] Update translation templates with latest term changes
Olivier Dony [Tue, 23 Sep 2014 17:13:50 +0000 (19:13 +0200)]
[I18N] Update translation templates with latest term changes

9 years ago[MERGE] forward port of branch 7.0 up to 9c77f79
Denis Ledoux [Tue, 23 Sep 2014 17:01:11 +0000 (19:01 +0200)]
[MERGE] forward port of branch 7.0 up to 9c77f79

9 years ago[FIX] widget html: rendering issue in mail composer on Firefox
Denis Ledoux [Tue, 23 Sep 2014 16:53:17 +0000 (18:53 +0200)]
[FIX] widget html: rendering issue in mail composer on Firefox
The cleditor width does not include the margins. Setting 100% will make the editable area too large (104%) on Firefox (opw 611700).
This issue was already fixed in newer releases, from commit 9247c37de7d67beb479905e218656665dc12391f
Nevertheless, it introduced a new issue: while editing the form, the content of widgets html which were located in hidden notebook pages weren't displayed when displaying the page content.
opw-614448

9 years ago[FIX] Update README for 8.0
Olivier Dony [Tue, 23 Sep 2014 16:41:42 +0000 (18:41 +0200)]
[FIX] Update README for 8.0

9 years ago[FIX] account: typo in conversion to new API
Commandant Custo [Tue, 23 Sep 2014 12:26:47 +0000 (14:26 +0200)]
[FIX] account: typo in conversion to new API

9 years ago[FIX] report: windows: lower level of file opening/closing, which to find wkhtmltpdf
Simon Lejeune [Fri, 19 Sep 2014 09:13:55 +0000 (11:13 +0200)]
[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

9 years ago[FIX] Report: compatibility issues on Windows
DEEP SILVER ACCESSORY [Tue, 16 Sep 2014 15:25:48 +0000 (17:25 +0200)]
[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

9 years ago[I18N] Update translations from Launchpad 8.0 branches
Olivier Dony [Tue, 23 Sep 2014 11:42:05 +0000 (13:42 +0200)]
[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

9 years ago[FIX] l10n_be: Fix BS and P&L
sve-odoo [Tue, 23 Sep 2014 09:21:53 +0000 (11:21 +0200)]
[FIX] l10n_be: Fix BS and P&L

9 years ago[FIX] wms: fix lookup of xmlid route_warehouse0_buy
Cedric Snauwaert [Tue, 23 Sep 2014 08:27:42 +0000 (10:27 +0200)]
[FIX] wms: fix lookup of xmlid route_warehouse0_buy

Fixes #2610 courtesy of gurneyalex

9 years ago[FIX] bus: prevent error popups when longpolling requests are interrupted
Olivier Dony [Mon, 22 Sep 2014 17:13:41 +0000 (19:13 +0200)]
[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.

9 years ago[IMP] base: safer locking at user login
Martin Trigaux [Mon, 22 Sep 2014 15:56:51 +0000 (17:56 +0200)]
[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

9 years ago[IMP] mail: avoid sending an email twice
Martin Trigaux [Mon, 22 Sep 2014 15:48:11 +0000 (17:48 +0200)]
[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

9 years ago[FIX] models: only check existance of inverse_field for one2many fields
Christophe Simonis [Mon, 22 Sep 2014 15:05:07 +0000 (17:05 +0200)]
[FIX] models: only check existance of inverse_field for one2many fields

9 years ago[FIX] website_blog: portal users should not be able to read unpublished blog posts
Denis Ledoux [Mon, 22 Sep 2014 14:33:09 +0000 (16:33 +0200)]
[FIX] website_blog: portal users should not be able to read unpublished blog posts

9 years ago[IMP] crm: make code of merge opportunities overloadable
Jeremy Kersten [Mon, 22 Sep 2014 14:14:04 +0000 (16:14 +0200)]
[IMP] crm: make code of merge opportunities overloadable

9 years ago[FIX] account_voucher: import invoices, sign according to transaction type
Denis Ledoux [Mon, 22 Sep 2014 13:58:24 +0000 (15:58 +0200)]
[FIX] account_voucher: import invoices, sign according to transaction type

9 years ago[FIX] auth_ldap: remove unused sql column
Denis Ledoux [Mon, 22 Sep 2014 13:00:53 +0000 (15:00 +0200)]
[FIX] auth_ldap: remove unused sql column

9 years ago[FIX] website_twitter: display setup/debug info only for website editors, not visitors
Olivier Dony [Mon, 22 Sep 2014 12:35:13 +0000 (14:35 +0200)]
[FIX] website_twitter: display setup/debug info only for website editors, not visitors

9 years ago[FIX] account_voucher: convertion rate of purchase receipt
Martin Trigaux [Mon, 22 Sep 2014 10:16:46 +0000 (12:16 +0200)]
[FIX] account_voucher: convertion rate of purchase receipt

The conversion of currencies in vouchers are made based on payment_rate_currency_id field (instead of usual currency_id).
This field was not present in the purchase view and not correctly set when we change the journal (and thus the currency) which was leading to rates of 1. With a rate of 1, the amount is equal to the currency amount (which is rarely correct). opw 611254

9 years agoMerge pull request #2603 from odoo-dev/8.0-wmsstaging10-jco
Josse Colpaert [Mon, 22 Sep 2014 10:23:42 +0000 (12:23 +0200)]
Merge pull request #2603 from odoo-dev/8.0-wmsstaging10-jco

8.0 wmsstaging10 jco

9 years ago[IMP] Assign all destination moves at once, add packaging
Josse Colpaert [Fri, 19 Sep 2014 07:35:23 +0000 (09:35 +0200)]
[IMP] Assign all destination moves at once, add packaging

9 years ago[FIX] Previous move subtleties
Josse Colpaert [Thu, 18 Sep 2014 13:50:41 +0000 (15:50 +0200)]
[FIX] Previous move subtleties

9 years ago[FIX] correctly forward context in graph view
Géry Debongnie [Mon, 22 Sep 2014 09:18:41 +0000 (11:18 +0200)]
[FIX] correctly forward context in graph view

the new graph view silently ignored the context when doing its rpc
read_group.  Usually, it's not really a problem, which is why it is only
now being fixed, but some models actually use the context in read_group.
(for ex, account_entries_report)

9 years ago[FIX] product: Put product_variant_count on template form view.
Richard deMeester [Mon, 22 Sep 2014 06:39:30 +0000 (16:39 +1000)]
[FIX] product: Put product_variant_count on template form view.

Was missing to be used in domain added at 92d8f15.
Fixes #2570

9 years ago[FIX] event: avoid double "Publish" button
rmu-odoo [Wed, 3 Sep 2014 11:59:27 +0000 (17:29 +0530)]
[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).

9 years ago[FIX] im_chat, im_livechat : fix loading covnersation history and is_in_session function
Jérome Maes [Mon, 22 Sep 2014 08:41:11 +0000 (10:41 +0200)]
[FIX] im_chat, im_livechat : fix loading covnersation history and is_in_session function

9 years agoMerge pull request #2501 from hmen89/8.0-fix-write-compute-cost
Josse Colpaert [Sat, 20 Sep 2014 07:28:19 +0000 (09:28 +0200)]
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...

9 years ago[FIX] models: correct lazy loading of manual fields
Christophe Simonis [Fri, 19 Sep 2014 14:51:29 +0000 (16:51 +0200)]
[FIX] models: correct lazy loading of manual fields

9 years ago[FIX] website blog: open change cover wizard at second selection
Jay Patel [Wed, 17 Sep 2014 06:47:37 +0000 (12:17 +0530)]
[FIX] website blog: open change cover wizard at second selection

Fixes #2470

9 years agoForward port of 7.0 up to rev 9b87d6f
Martin Trigaux [Fri, 19 Sep 2014 13:28:02 +0000 (15:28 +0200)]
Forward port of 7.0 up to rev 9b87d6f

9 years ago[FIX] purchase: keep fallback behaviour that was removed at rev 8973217
Martin Trigaux [Fri, 19 Sep 2014 12:29:43 +0000 (14:29 +0200)]
[FIX] purchase: keep fallback behaviour that was removed at rev 8973217

If no valid invocie is found on the purchase order line, use the price and currency of the line (coherent with help message)

9 years agoMerge pull request #2543 from odoo-dev/8.0-fix-website_sale-list-variants-chm
Christophe Matthieu [Fri, 19 Sep 2014 12:00:05 +0000 (14:00 +0200)]
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

9 years agoMerge pull request #2550 from odoo-dev/8.0-fix-default_code-chm
Christophe Matthieu [Fri, 19 Sep 2014 11:59:27 +0000 (13:59 +0200)]
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.

9 years ago[FIX] base_gengo, website_gengo: groups on the gengo key.
Mitesh Savani [Fri, 1 Aug 2014 11:39:09 +0000 (17:09 +0530)]
[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.

9 years ago[FIX] bus, im_chat, im_livechat : use correct session to rpc call, little refactoring...
Jérome Maes [Fri, 19 Sep 2014 09:35:26 +0000 (11:35 +0200)]
[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.

9 years ago[FIX] product: Even when the product template has more than 1 variant, the default_co...
Christophe Matthieu [Fri, 19 Sep 2014 10:30:57 +0000 (12:30 +0200)]
[FIX] product: Even when the product template has more than 1 variant, the default_code is displayed.

9 years ago[FIX] web: form: quick create: name is now required to avoid creating records with...
ptr [Fri, 19 Sep 2014 05:18:01 +0000 (10:48 +0530)]
[FIX] web: form: quick create: name is now required to avoid creating records with a void name

9 years ago[IMP] stock: display translated selection value in message
Martin Trigaux [Fri, 19 Sep 2014 09:34:41 +0000 (11:34 +0200)]
[IMP] stock: display translated selection value in message

When a user tried to delete a done or canceled picking, the error messages used to display the key of the selection field ('done' or 'cancel') which was surprising in other languages than English. This patch takes the string value of the selection field, keeping the context to get the translated value (opw 613068)

9 years ago[FIX] Packaging: Wndows: wrong handler used when logging to file
yingliu4203 [Wed, 10 Sep 2014 02:28:33 +0000 (19:28 -0700)]
[FIX] Packaging: Wndows: wrong handler used when logging to file

9 years ago[FIX] website_sale: displayed price doesn't change for 'List View of Variants' custom...
Christophe Matthieu [Fri, 19 Sep 2014 09:07:33 +0000 (11:07 +0200)]
[FIX] website_sale: displayed price doesn't change for 'List View of Variants' customize template