odoo/odoo.git
9 years ago[FIX] ir_model: always setup models before calling _auto_init()
Raphael Collet [Thu, 6 Nov 2014 14:16:02 +0000 (15:16 +0100)]
[FIX] ir_model: always setup models before calling _auto_init()

9 years ago[FIX] account_voucher: getting default invoice crashes
Raphael Collet [Thu, 13 Nov 2014 11:42:18 +0000 (12:42 +0100)]
[FIX] account_voucher: getting default invoice crashes

Fixes #3524.

9 years ago[FIX] website_sale: browse category to slugify. Because slug of an id will generate...
Jeremy Kersten [Thu, 13 Nov 2014 08:21:46 +0000 (09:21 +0100)]
[FIX] website_sale: browse category to slugify. Because slug of an id will generate a tb 'need more than 1 value to unpack'

9 years ago[FIX] mail_group: use default picture disc if not mimetype has been defined (else tb)
Jeremy Kersten [Wed, 12 Nov 2014 16:30:45 +0000 (17:30 +0100)]
[FIX] mail_group: use default picture disc if not mimetype has been defined (else tb)

9 years ago[FIX] addons: incorrect new-api invocation of method write() with context
Raphael Collet [Thu, 13 Nov 2014 11:30:26 +0000 (12:30 +0100)]
[FIX] addons: incorrect new-api invocation of method write() with context

This fixes #3411.

9 years agoMerge pull request #3601 from odoo-dev/8.0-wmsstagingx-jco
Josse Colpaert [Thu, 13 Nov 2014 11:24:01 +0000 (12:24 +0100)]
Merge pull request #3601 from odoo-dev/8.0-wmsstagingx-jco

WMS STAGING X
- scheduler cursor and company_id
- digits in transfer wizard
 - delivery putting carrier on picking from sale and correctly invoicing it
- inventory import: imported lines should not be deleted
- average price correction for twice same product / variants
- recreate picking from sale order
- manual purchase order: picking type by default should depend on user's company

9 years ago[FIX] point_of_sale: I see a chrome receipt and I want it painted black ;)
Frederic van der Essen [Thu, 13 Nov 2014 11:03:11 +0000 (12:03 +0100)]
[FIX] point_of_sale: I see a chrome receipt and I want it painted black ;)

9 years ago[IMP] Update comments for inventory from import
Josse Colpaert [Thu, 13 Nov 2014 10:49:27 +0000 (11:49 +0100)]
[IMP] Update comments for inventory from import

9 years ago[IMP] When an inventory has lines already, don't delete them, that way we can import...
Josse Colpaert [Fri, 24 Oct 2014 15:50:31 +0000 (17:50 +0200)]
[IMP] When an inventory has lines already, don't delete them, that way we can import them

[IMP] Put the theoretical quantity when importing an inventory

9 years ago[FIX] super of scheduler / delivery method and phantom boms / average price
Josse Colpaert [Tue, 4 Nov 2014 16:28:43 +0000 (17:28 +0100)]
[FIX] super of scheduler / delivery method and phantom boms / average price
[FIX] super of scheduler should have same params + use_new_cursor should be passed to procure orderpoint confirm

[IMP] Make sure the delivery works when doing phantom boms

[FIX] This should update the average price properly when having multiple moves with the same product

[FIX] Average price should take into account the quantities of all variants

[FIX] Make sure purchase picking type in other company works

[IMP] Views of quants and destination locations of moves

9 years ago[FIX] Method should pass the correct objects for adding the line for the delivery...
Josse Colpaert [Thu, 6 Nov 2014 10:40:04 +0000 (11:40 +0100)]
[FIX] Method should pass the correct objects for adding the line for the delivery method when invoicing based on shipments

9 years ago[FIX] #3153 Digits in wizard should be those of moves,... / Recreate delivery order...
Josse Colpaert [Wed, 5 Nov 2014 10:45:04 +0000 (11:45 +0100)]
[FIX] #3153 Digits in wizard should be those of moves,... / Recreate delivery order from sale / Delivery method on delivery order

[IMP] Provide better purchase order picking type

[IMP] Possibly a better product uos handling in the sale order line

[FIX] Recreate of delivery order when sales order in shipping exception

[FIX] Delivery method should be passed to delivery order

9 years ago[IMP] l10n_pl: backport of fd86b7a to 8.0
grzegorz-openglobe [Wed, 24 Sep 2014 09:35:10 +0000 (11:35 +0200)]
[IMP] l10n_pl: backport of fd86b7a to 8.0

[IMP] l10n_pl: some corrections in Polish CoA

PLN as default currency
Many improvements in taxes and fiscal positions
Fixes #825

9 years ago[FIX] hr_timehseet: restrict access right
Martin Trigaux [Thu, 13 Nov 2014 10:26:44 +0000 (11:26 +0100)]
[FIX] hr_timehseet: restrict access right

Fix error while moving it at ca209eb

9 years ago[FIX] hr_timesheet(_sheet): access rights on report
Rucha Dave [Mon, 10 Nov 2014 05:57:20 +0000 (11:27 +0530)]
[FIX] hr_timesheet(_sheet): access rights on report

hr.timesheet.report was moved from hr_timesheet_sheet to hr_timesheet but not the ir.model.access
Avoid warning "The model hr.timesheet.report has no access rules, consider adding one."
Fixes #3319

9 years ago[FIX] account: give "Invoice" users access to "Invoice Analysis" Report.
Christophe Simonis [Wed, 12 Nov 2014 18:25:50 +0000 (19:25 +0100)]
[FIX] account: give "Invoice" users access to "Invoice Analysis" Report.

This access is required in order to display the amount invoiced on partner form

9 years ago[FIX] account.invoice report: show customer description of payment term
Olivier Dony [Wed, 12 Nov 2014 17:50:38 +0000 (18:50 +0100)]
[FIX] account.invoice report: show customer description of payment term

The payment term description (note) is meant
to be shown to customers. Restore it in the
default invoice report, as it was in 7.0.
If empty, assume the payment term is meant
to be hidden from customer, and do not show
anything.
By default the description includes the name
of the payment term, so no need to keep both.

9 years ago[FIX] stock: do not try to upper undefined picking name
Denis Ledoux [Wed, 12 Nov 2014 11:18:26 +0000 (12:18 +0100)]
[FIX] stock: do not try to upper undefined picking name

opw-617750

9 years ago[FIX] crm: Pending calls are also "To Do"
Yajo [Fri, 7 Nov 2014 12:54:49 +0000 (13:54 +0100)]
[FIX] crm: Pending calls are also "To Do"

9 years ago[FIX] payment_*: typo, cliking -> clicking
hiekmann [Mon, 10 Nov 2014 16:17:07 +0000 (16:17 +0000)]
[FIX] payment_*: typo, cliking -> clicking

9 years ago[FIX] point_of_sale: use 'Product Price' decimal precision for product prices
Frederic van der Essen [Tue, 11 Nov 2014 18:32:52 +0000 (19:32 +0100)]
[FIX] point_of_sale: use 'Product Price' decimal precision for product prices

9 years ago[FIX] point_of_sale: some pos order fields were missing the proper decimal precision
Frederic van der Essen [Tue, 11 Nov 2014 17:00:24 +0000 (18:00 +0100)]
[FIX] point_of_sale: some pos order fields were missing the proper decimal precision

9 years ago[FIX] point_of_sale: decimal precision was hardcoded to 2 in various places
Frederic van der Essen [Tue, 11 Nov 2014 16:41:20 +0000 (17:41 +0100)]
[FIX] point_of_sale: decimal precision was hardcoded to 2 in various places

9 years ago[FIX] point_of_sale: correctly handle the rounding when the unit's rounding is set...
Frederic van der Essen [Tue, 11 Nov 2014 15:18:27 +0000 (16:18 +0100)]
[FIX] point_of_sale: correctly handle the rounding when the unit's rounding is set to zero

9 years ago[FIX] website_forum: avoid access error when closing spam/abuse questions
Olivier Dony [Mon, 10 Nov 2014 15:20:23 +0000 (16:20 +0100)]
[FIX] website_forum: avoid access error when closing spam/abuse questions

Logging the user login is not necessary, but
accessing it might cause access errors. Logging
the UID is equivalent anyway, so let's not bother.

9 years ago[FIX] /web/binary/{image,saveas}: use request.registry instead of deprecated `request...
Olivier Dony [Mon, 10 Nov 2014 14:05:19 +0000 (15:05 +0100)]
[FIX] /web/binary/{image,saveas}: use request.registry instead of deprecated `request.session.model`

This makes the controllers work also for
public users, e.g. in the frontend.

9 years ago[FIX] point_of_sale: when loading models with a specified id, use read instead of...
Frederic van der Essen [Mon, 10 Nov 2014 10:46:46 +0000 (11:46 +0100)]
[FIX] point_of_sale: when loading models with a specified id, use read instead of search_read, to prevent inactive records from being skipped

9 years ago[FIX] Packaging: Debian: ignore root Makefile
Simon Lejeune [Mon, 10 Nov 2014 10:49:02 +0000 (11:49 +0100)]
[FIX] Packaging: Debian: ignore root Makefile

Commit 388732dfa6a1 introduced a makefile at the root of the project, and
dh_auto_build is using this file instead of setup.py. Explicitely tell
debhelper to not use the makefile.

9 years ago[FIX] stock_picking_wave: Missing _description
Commandant Custo [Sun, 9 Nov 2014 09:01:13 +0000 (10:01 +0100)]
[FIX] stock_picking_wave: Missing _description

9 years ago[FIX] account: recompute date_due
Martin Trigaux [Fri, 7 Nov 2014 16:39:57 +0000 (17:39 +0100)]
[FIX] account: recompute date_due

Add on_change to recompute the due date when the invoice date is modified (it was only done when modified the partner_id field
Fixes #3413

9 years ago[ADD] doc: guide to the new API
Xavier Morel [Fri, 7 Nov 2014 13:42:33 +0000 (14:42 +0100)]
[ADD] doc: guide to the new API

Raw API documentation is not sufficient for people to learn the working
principles of the API, especially when they already know the old one. And some
things have changed since the opendays so the presentations don't reflect the
current state of affairs.

Closes #3483

9 years ago[REF] account_anglo_saxon: refactor anglo saxon move lines
Nick Booker [Fri, 7 Nov 2014 13:25:04 +0000 (14:25 +0100)]
[REF] account_anglo_saxon: refactor anglo saxon move lines

So that we can customise the real-time stock journal items made during sale invoice postings for certain companies who account for it slightly differently.

9 years ago[FIX] kanban view background is correctly set (web_kanban)
Géry Debongnie [Fri, 7 Nov 2014 13:21:01 +0000 (14:21 +0100)]
[FIX] kanban view background is correctly set (web_kanban)

the .oe_background_grey class only changed part of the kanban background
when it was scrolled.  This makes sure that the full table has a grey
background.

9 years ago[FIX] allow word wrapping in stripe-style code examples
Xavier Morel [Fri, 7 Nov 2014 13:13:15 +0000 (14:13 +0100)]
[FIX] allow word wrapping in stripe-style code examples

9 years ago[ADD] ZeroClipboard-based "copy" button on snippets
Xavier Morel [Fri, 7 Nov 2014 13:00:49 +0000 (14:00 +0100)]
[ADD] ZeroClipboard-based "copy" button on snippets

Also fix ruby setup code, some of its bits were actually Python and didn't
quite work when pasted into irb...

9 years ago[FIX] mail: _fields['type'].selection is a callable
Denis Ledoux [Fri, 7 Nov 2014 11:34:04 +0000 (12:34 +0100)]
[FIX] mail: _fields['type'].selection is a callable

This revert partially the rev. f2e4a10e1a58c932f9a989e642771f5ae75d756a

  File "/home/odoo/src/odoo/8.0/addons/mail/mail_mail.py", line 76, in default_get
      if context and context.get('default_type') and context.get('default_type') not in self._fields['type'].selection:
      TypeError: argument of type 'function' is not iterable

9 years ago[FIX] mrp: The attribute on bom lines is not filtered in function of the selected...
Christophe Matthieu [Thu, 6 Nov 2014 17:09:52 +0000 (18:09 +0100)]
[FIX] mrp: The attribute on bom lines is not filtered in function of the selected product template

9 years ago[FIX] product: name_get of product.attribute.value
Christophe Matthieu [Thu, 6 Nov 2014 17:44:19 +0000 (18:44 +0100)]
[FIX] product: name_get of product.attribute.value

name was confusing for bom and product if the value of the attribute is display without the attribute name
added key in context to keep the previous behaviour (e.g. in product view where the attribute name is present)

9 years ago[IMP] doc-ws: prepend setup code when copying from a snippet
Xavier Morel [Fri, 7 Nov 2014 10:27:37 +0000 (11:27 +0100)]
[IMP] doc-ws: prepend setup code when copying from a snippet

9 years ago[FIX] product: pricelist shouldn't convert uom when not needed or incompatible uom...
David Monjoie [Thu, 6 Nov 2014 12:20:44 +0000 (13:20 +0100)]
[FIX] product: pricelist shouldn't convert uom when not needed or incompatible uom types

Otherwise the Search More view will crash for example for sale order line because it will fetch the price of all products and then try to convert uoms for pricelist rule application without checking uom compatibility

9 years ago[FIX] project: access task without project
Martin Trigaux [Thu, 6 Nov 2014 17:05:28 +0000 (18:05 +0100)]
[FIX] project: access task without project

Allow access to task without a project defined if the user is follower.
Fixes #3450

9 years ago[FIX] models: do not copy translations of fields that are not copied
Raphael Collet [Thu, 6 Nov 2014 15:16:00 +0000 (16:16 +0100)]
[FIX] models: do not copy translations of fields that are not copied

Fixes #3272.

9 years ago[FIX] fields: fix the translations of the labels of inherited fields
Raphael Collet [Thu, 6 Nov 2014 15:00:58 +0000 (16:00 +0100)]
[FIX] fields: fix the translations of the labels of inherited fields

9 years ago[MERGE] forward port of branch saas-3 up to c8df9fc
Denis Ledoux [Thu, 6 Nov 2014 15:30:33 +0000 (16:30 +0100)]
[MERGE] forward port of branch saas-3 up to c8df9fc

9 years ago[MERGE] forward port of branch 7.0 up to ae99a93
Denis Ledoux [Thu, 6 Nov 2014 15:30:00 +0000 (16:30 +0100)]
[MERGE] forward port of branch 7.0 up to ae99a93

9 years ago[FIX] web: many2many_binary widget upload
Denis Ledoux [Thu, 6 Nov 2014 15:26:32 +0000 (16:26 +0100)]
[FIX] web: many2many_binary widget upload

once widget extended with ReinitializeFieldMixin, the event binding with the binary file input and the on_file_change method can be done in initialize_content instead of start

This fix is related to d36c8b5c9bf7ab9215bc63db6ee49bec5e5b225b

9 years ago[IMP] point_of_sale: add a zero default margin when printing a receipt from the browser.
Frederic van der Essen [Thu, 6 Nov 2014 15:02:50 +0000 (16:02 +0100)]
[IMP] point_of_sale: add a zero default margin when printing a receipt from the browser.

9 years ago[FIX] calendar: gantt view argument
Martin Trigaux [Thu, 6 Nov 2014 14:32:57 +0000 (15:32 +0100)]
[FIX] calendar: gantt view argument

There is no 'date' field.
Fixes #3496

9 years ago[FIX] account_voucher: multicompany compatibility
Torvald B. Bringsvor [Wed, 5 Nov 2014 22:55:50 +0000 (23:55 +0100)]
[FIX] account_voucher: multicompany compatibility

When the company or the journal is changed, change the period accordingly to make sure to always keep coherant values.

9 years ago[MERGE] forward port of branch saas-3 up to 22f2728
Denis Ledoux [Thu, 6 Nov 2014 14:03:43 +0000 (15:03 +0100)]
[MERGE] forward port of branch saas-3 up to 22f2728

9 years ago[MERGE] forward port of branch 7.0 up to d36c8b5
Denis Ledoux [Thu, 6 Nov 2014 13:56:45 +0000 (14:56 +0100)]
[MERGE] forward port of branch 7.0 up to d36c8b5

9 years ago[FIX] web: FieldMany2ManyBinaryMultiFiles must extend ReinitializeFieldMixin
Denis Ledoux [Thu, 6 Nov 2014 13:49:25 +0000 (14:49 +0100)]
[FIX] web: FieldMany2ManyBinaryMultiFiles must extend ReinitializeFieldMixin

The add attachment button should be displayed while being in edit mode, but not in view mode
As the widget depends on the form actual mode, the widget should be re-rendered each time the actual mode changes

This is the point of the ReinitializeFieldMixin class

9 years ago[FIX] fix wrong filter in search view (account/sale)
celm1990 [Fri, 31 Oct 2014 01:54:34 +0000 (20:54 -0500)]
[FIX] fix wrong filter in search view (account/sale)

the field section_id is created in addon sale, but used in the account
reporting views.  This commit moves the search view definition
in the correct file.

9 years ago[FIX] account_asset: moves should use the depreciation line date
Julien Legros [Thu, 6 Nov 2014 10:47:38 +0000 (11:47 +0100)]
[FIX] account_asset: moves should use the depreciation line date

9 years ago[IMP] fields: improve _determine_default() and add test for inherited fields
Raphael Collet [Thu, 6 Nov 2014 08:59:41 +0000 (09:59 +0100)]
[IMP] fields: improve _determine_default() and add test for inherited fields

9 years ago[FIX] purchase_requisition: field date_start does not exist on purchase_requisition...
Cedric Snauwaert [Thu, 6 Nov 2014 08:53:00 +0000 (09:53 +0100)]
[FIX] purchase_requisition: field date_start does not exist on purchase_requisition model so we should not use it in filters

fixes #2838

9 years ago[MERGE] forward port of branch saas-3 up to ec27773
Christophe Simonis [Wed, 5 Nov 2014 20:46:42 +0000 (21:46 +0100)]
[MERGE] forward port of branch saas-3 up to ec27773

9 years ago[FIX] project: missing translations
Miku Laitinen [Sun, 2 Nov 2014 12:25:15 +0000 (14:25 +0200)]
[FIX] project: missing translations

The labels for fields 'use_tasks', 'partner_id', 'date_start' had no valid string (autogenerated or unrelated).
Make the selections of the field privacy_visibility translatable.
Fixes #3435

9 years ago[IMP] point_of_sale: add product description and product sale description to the...
Frederic van der Essen [Wed, 5 Nov 2014 20:17:12 +0000 (21:17 +0100)]
[IMP] point_of_sale: add product description and product sale description to the search engine

9 years ago[MERGE] forward port of branch 7.0 up to 3e3e35e
Christophe Simonis [Wed, 5 Nov 2014 20:10:15 +0000 (21:10 +0100)]
[MERGE] forward port of branch 7.0 up to 3e3e35e

9 years ago[FIX] web,web_kanban: correct radial-gradient usage
Christophe Simonis [Wed, 5 Nov 2014 18:17:02 +0000 (19:17 +0100)]
[FIX] web,web_kanban: correct radial-gradient usage

9 years ago[MERGE] forward port of branch saas-3 up to d36eee9
Christophe Simonis [Wed, 5 Nov 2014 18:34:53 +0000 (19:34 +0100)]
[MERGE] forward port of branch saas-3 up to d36eee9

9 years ago[FIX] point_of_sale: the order should not be displayed in the print screen, and the...
Frederic van der Essen [Wed, 5 Nov 2014 19:02:49 +0000 (20:02 +0100)]
[FIX] point_of_sale: the order should not be displayed in the print screen, and the order should not reprint itself automatically after the first time we go on the print screen

9 years ago[MERGE] forward port of branch 7.0 up to 65d92da
Christophe Simonis [Wed, 5 Nov 2014 18:34:18 +0000 (19:34 +0100)]
[MERGE] forward port of branch 7.0 up to 65d92da

9 years ago[IMP] *: one Makefile to rules them all.
Christophe Simonis [Wed, 5 Nov 2014 18:15:14 +0000 (19:15 +0100)]
[IMP] *: one Makefile to rules them all.

Create one unique generic Makefile to compile sass files.

9 years ago[FIX] base: incorrect code and locale for Bosnian
Olivier Dony [Wed, 5 Nov 2014 18:09:23 +0000 (19:09 +0100)]
[FIX] base: incorrect code and locale for Bosnian

Stems from prebiblical commit f083aa2.

Fixes #3480

9 years ago[MERGE] forward port of branch saas-3 up to 48ffbb6
Christophe Simonis [Wed, 5 Nov 2014 18:00:51 +0000 (19:00 +0100)]
[MERGE] forward port of branch saas-3 up to 48ffbb6

9 years ago[MERGE] forward port of branch 7.0 up to cb91966
Christophe Simonis [Wed, 5 Nov 2014 17:58:07 +0000 (18:58 +0100)]
[MERGE] forward port of branch 7.0 up to cb91966

9 years ago[REVERT] 056c06570c741fab1515978a957766b0a77bd80a and a5cf71973916f3e9b6ea578a614c76b...
Julien Legros [Wed, 5 Nov 2014 17:24:40 +0000 (18:24 +0100)]
[REVERT] 056c06570c741fab1515978a957766b0a77bd80a and a5cf71973916f3e9b6ea578a614c76b0b34689d8

9 years ago[FIX] website: correct padding of footer
Christophe Simonis [Wed, 5 Nov 2014 15:12:38 +0000 (16:12 +0100)]
[FIX] website: correct padding of footer

9 years ago[IMP] sale_order_dates: quotation views (backport of b5e9e11)
Lionel Sausin (Numérigraphe) [Fri, 31 Oct 2014 13:21:14 +0000 (14:21 +0100)]
[IMP] sale_order_dates: quotation views (backport of b5e9e11)

Add the same fields on the quotation tree view than on the sale order tree view.

9 years ago[FIX] account_asset: asset depreciation should use the correct dates
Julien Legros [Wed, 5 Nov 2014 16:38:50 +0000 (17:38 +0100)]
[FIX] account_asset: asset depreciation should use the correct dates

fix a5cf71973916f3e9b6ea578a614c76b0b34689d8

9 years ago[IMP] safe_eval allow math
Antony Lesuisse [Wed, 5 Nov 2014 16:25:41 +0000 (17:25 +0100)]
[IMP] safe_eval allow math

9 years ago[FIX] doc: typo missed when merging contribution
Xavier Morel [Wed, 5 Nov 2014 16:12:46 +0000 (17:12 +0100)]
[FIX] doc: typo missed when merging contribution

9 years ago[FIX] longpolling/gevent: automatically restart worker when killed
Olivier Dony [Wed, 5 Nov 2014 13:28:59 +0000 (14:28 +0100)]
[FIX] longpolling/gevent: automatically restart worker when killed

Whenever the longpolling/gevent worker dies, it
should be automatically restarted by the prefork
server, just like it happens for HTTP workers.

9 years ago[FIX] longpolling/gevent: log errors occurring in main loop
Olivier Dony [Wed, 5 Nov 2014 13:36:19 +0000 (14:36 +0100)]
[FIX] longpolling/gevent: log errors occurring in main loop

9 years ago[FIX] forum: closing spam/offensive questions should give author karma penalty
Olivier Dony [Tue, 4 Nov 2014 18:03:17 +0000 (19:03 +0100)]
[FIX] forum: closing spam/offensive questions should give author karma penalty

This is a partial patch for issue #3460, pending more
improvements and refinements in master.

Currently the karma penalty is hardcoded to 5*downvote penalty,
which may or may not be sufficient to prevent posting, depending
on the other karma levels.

9 years ago[FIX] account_asset: move lines should use the depreciation line date
Julien Legros [Wed, 5 Nov 2014 15:56:44 +0000 (16:56 +0100)]
[FIX] account_asset: move lines should use the depreciation line date

opw-616843

9 years ago[IMP] doc: various improvements to website tutorial
hiekmann [Wed, 5 Nov 2014 11:54:10 +0000 (11:54 +0000)]
[IMP] doc: various improvements to website tutorial

closes #3476
closes #3477
closes #3479

9 years ago[IMP] account: (over)due payments report
Martin Trigaux [Wed, 5 Nov 2014 14:49:15 +0000 (15:49 +0100)]
[IMP] account: (over)due payments report

The report includes all due payments, not only the one after the maturity date.
The maturity date is displayed in the report so no confusion is possible for payments below the maturity date.
Fixes #3064

9 years agoRevert "[FIX] mrp: chain product move and MO locations"
Denis Ledoux [Wed, 5 Nov 2014 12:51:52 +0000 (13:51 +0100)]
Revert "[FIX] mrp: chain product move and MO locations"

This reverts commit 61a8971db510dbb0e087bba09858fe8b94c7b16d.

This rev. is from a 7.0 forward port b4d602fdd3379a0310ec0b9a56f9b88226

This is no longer needed in 8.0, with the new WMS

9 years ago[MERGE] forward port of branch saas-3 up to c666030
Denis Ledoux [Wed, 5 Nov 2014 12:40:30 +0000 (13:40 +0100)]
[MERGE] forward port of branch saas-3 up to c666030

9 years ago[MERGE] forward port of branch 7.0 up to cd69dee
Denis Ledoux [Wed, 5 Nov 2014 12:39:41 +0000 (13:39 +0100)]
[MERGE] forward port of branch 7.0 up to cd69dee

9 years ago[FIX] web: inhibit on change flag when validating editable list
Denis Ledoux [Wed, 5 Nov 2014 12:36:20 +0000 (13:36 +0100)]
[FIX] web: inhibit on change flag when validating editable list

To valid all editable list line, we iterate on the lines and set the editor form with the line value, using set_value.
The _inhibit_on_change_flag should be set to True to avoid triggering on changes events

opw-617395

9 years ago[FIX] ir_qweb: contact widget: use name_get instead of display_name
Simon Lejeune [Wed, 5 Nov 2014 12:37:56 +0000 (13:37 +0100)]
[FIX] ir_qweb: contact widget: use name_get instead of display_name

display_name field is overidden in res.partner in order to pop the context
key leading to show the address, and we want the address.

9 years ago[FIX] mrp: chain product move and MO locations
Julien Legros [Tue, 4 Nov 2014 17:07:59 +0000 (18:07 +0100)]
[FIX] mrp: chain product move and MO locations

When validating a SO containing a `make to stock` + `manufacture` product
(with bom + orderpoint), we have the following stock moves:
* Product move
* Manufacturing order
Selling 1 such product would yield 2 as incoming quantity, an
inconsistency that this commit solves by setting the location_id of the
product move to the MO's location_dest_id (in the same fashion that
the create_pickings method does in an mts/buy case)

opw-616229

9 years ago[FIX] product: pricelists based on the supplier prices now return first supplier...
David Monjoie [Mon, 3 Nov 2014 16:20:15 +0000 (17:20 +0100)]
[FIX] product: pricelists based on the supplier prices now return first supplier price if partner not in suppliers instead of returning 0

Without this, sale pricelists cannot be based on supplier prices as the partner is never a supplier so the price would be 0
Note: behavior change ok with fp

9 years ago[FIX] Report: get_pdf: don't miss main elements when parsing html
Simone Orsi [Wed, 5 Nov 2014 10:47:10 +0000 (11:47 +0100)]
[FIX] Report: get_pdf:  don't miss main elements when parsing html

Main elements can have more than one class, thus can be ignored by the previous
naive xpath. This patch brings a stronger xpath.

9 years ago[IMP] models: improve _mapped_func(), and add parameter 'reverse' in sorted()
Raphael Collet [Tue, 4 Nov 2014 16:02:00 +0000 (17:02 +0100)]
[IMP] models: improve _mapped_func(), and add parameter 'reverse' in sorted()

9 years ago[FIX] ir_qweb, website_blog: Allow to pass inline style as an option for the widget...
Jeremy Kersten [Wed, 5 Nov 2014 10:11:26 +0000 (11:11 +0100)]
[FIX] ir_qweb, website_blog: Allow to pass inline style as an option for the widget image. And change some img from blog to use this widget

9 years ago[MERGE] forward port of branch saas-3 up to c11451c
Denis Ledoux [Wed, 5 Nov 2014 09:29:51 +0000 (10:29 +0100)]
[MERGE] forward port of branch saas-3 up to c11451c

9 years ago[MERGE] forward port of branch 7.0 up to 9a37e5a
Denis Ledoux [Wed, 5 Nov 2014 09:29:27 +0000 (10:29 +0100)]
[MERGE] forward port of branch 7.0 up to 9a37e5a

9 years ago[FIX] web: regard the view_list has valid if not yet loaded
Denis Ledoux [Wed, 5 Nov 2014 09:26:57 +0000 (10:26 +0100)]
[FIX] web: regard the view_list has valid if not yet loaded

This fix is related to df845940ed52040ef92b1b5759306c556fa38e66

Fixes #3469

9 years ago[IMP] point_of_sale: show traceback when there is a posbox error
Frederic van der Essen [Tue, 4 Nov 2014 22:10:20 +0000 (23:10 +0100)]
[IMP] point_of_sale: show traceback when there is a posbox error

9 years ago[MERGE] forward port of branch saas-3 up to f7a76cb
Denis Ledoux [Tue, 4 Nov 2014 17:05:58 +0000 (18:05 +0100)]
[MERGE] forward port of branch saas-3 up to f7a76cb

9 years ago[MERGE] forward port of branch 7.0 up to be7c894
Denis Ledoux [Tue, 4 Nov 2014 16:54:48 +0000 (17:54 +0100)]
[MERGE] forward port of branch 7.0 up to be7c894

9 years ago[FIX] web_kanban: wrong condition to reset the dataset index
Denis Ledoux [Tue, 4 Nov 2014 16:45:53 +0000 (17:45 +0100)]
[FIX] web_kanban: wrong condition to reset the dataset index

This is related to rev. a218a9ed3f6c965820f2ebdf76ee0e6c89c59a0c

The condition is good, but not in the right place: It should be done once all read_slice (all columns records) are fetched, not at each read_slice end

9 years ago[FIX] mail: partners with missing/invalid emails must not halt notifications to others
Manuel Vázquez Acosta [Fri, 3 Oct 2014 13:19:30 +0000 (09:19 -0400)]
[FIX] mail: partners with missing/invalid emails must not halt notifications to others

9 years ago[IMP] models: improve query generation for _write() and _store_set_values()
Raphael Collet [Tue, 4 Nov 2014 15:27:36 +0000 (16:27 +0100)]
[IMP] models: improve query generation for _write() and _store_set_values()

9 years ago[FIX] web: keep pager in popup list view
Martin Trigaux [Tue, 4 Nov 2014 16:17:45 +0000 (17:17 +0100)]
[FIX] web: keep pager in popup list view

When an action opens records in list (or other) mode in a popup (target:new), the pager should be kept. It can be removed in form view.
Fixes #742