Commit Graph
103405 Commits
Author SHA1 Message Date
Lucas Perais (lpe) ea2568b19c [FIX] website_portal_sale: image on a portal SO should always be displayed
before this commit, when a portal SO was done with a product that hasn't been "website_published", a placeholder was displayed instead of the image
After this commit, the correct product image is displayed in base64 (always image_small though)

OPW 760880

Closes #18709
2017-08-08 10:35:08 +02:00
qdp-odoo 792a402126 [FIX] account: fix tax_ids computation on aml creation from invoice.
In case of a tax affecting subsequent taxes, the tax_ids field was wrongly set which led to errors in VAT reports. OPW 757072.
2017-08-08 10:29:57 +02:00
Odoo Translation Bot af7eb04fc7 [I18N] Update translation terms from Transifex 2017-08-06 00:32:12 +02:00
Jairo Llopis e43d73c35a [FIX] base: preserve context when cancelling module install
Closes #18597
2017-08-04 14:47:45 +02:00
Lucas Perais (lpe) 8749410b10 [FIX] website: correctly renders iframe for videos
Before this commit, the iframe tags were sanitized as the should, but never spawn back from JS.
Now, the iframe is actually created

opw 750830

Closes #18643
2017-08-03 09:29:14 +02:00
Nicolas Martinelli 4f5b0463ae [FIX] mrp: cost report
The unit price on the cost report should not be rounded using the
product UoM.

opw-760299
2017-08-01 18:18:51 +02:00
Christophe Simonis 587668797e [MERGE] forward port branch saas-6 up to b3ddbbd4ba 2017-08-01 16:05:13 +02:00
Christophe Simonis b3ddbbd4ba [MERGE] forward port branch 8.0 up to 40197b38e5 2017-08-01 15:44:24 +02:00
Christophe Simonis e2826028ab [FIX] website_slides: only query google api if info is missing
With demo data, avoid doing requests on external service for
information we can provide.
2017-08-01 15:39:02 +02:00
Nicolas Lempereur 40197b38e5 [FIX] web: typo css class 69925ca6
opw-760956
closes #18601
2017-08-01 14:05:21 +02:00
Nicolas Lempereur 69925ca6f0 [FIX] web: display prev/next arrow after grouping
On a list view, if we group records the arrows and changing page
feature are disabled. But if then we removed the grouping, the arrows
never reappeared.

note: not necessary as of 9.0 it was already solved in 1280bf251

opw-760956
closes #18596
2017-08-01 13:56:26 +02:00
Odoo Translation Bot bbd4e7e292 [I18N] Update translation terms from Transifex 2017-08-01 02:40:08 +02:00
Goffin Simon 6fe846ec2f [FIX] purchase: Wrong scheduled date for backorder
Fine tuning of this commit:7333f5e

When the PO lines were not ordered according to the scheduled date,
the scheduled date of the picking was wrong when delivering.

opw:752192
2017-07-31 10:28:24 +02:00
Goffin Simon 3bda87a8d3 [FIX] point_of_sale: Default lang when creating a partner
When creating a partner in Sales app, the default language is the language
of the user. The same behavior is expected in the POS.

opw:752739
2017-07-31 09:38:06 +02:00
Odoo Translation Bot 6493dc9837 [I18N] Update translation terms from Transifex 2017-07-30 00:32:09 +02:00
Christophe Simonis a6d30abccd [FIX] website_slides: set title when creating link tracker of slide
Avoid the link tracker to querying the slide to get it.
2017-07-29 17:03:24 +02:00
Christophe Simonis b054902655 [MERGE] forward port branch saas-6 up to 683a7cb029 2017-07-28 16:23:27 +02:00
Christophe Simonis 683a7cb029 [MERGE] forward port branch 8.0 up to 1644b92fd8 2017-07-28 16:18:08 +02:00
Thibault Francois 1644b92fd8 [FIX] account format error message correctly
Cherry-Pick of a04c1a2ac5244fe2fd3098fc22c59d336e352981
2017-07-28 16:15:35 +02:00
Olivier Dony 586b97e17b [FIX] crm: correct duplicate record ID
Introduced by a8c5b7810f

+ spellchecking
2017-07-28 11:19:37 +02:00
Christophe Simonis e6b91eb55a [FIX] core: werkzeug 0.12 compatibility
Since werkzeug 0.12, the `BaseWSGIServer.__init__` method expect the
socket to be bound to determine the effective port it listen to [1].
Stop pretend to bind the socket and close it directly after use.

[1] see pallets/werkzeug@1fc28cbb30
2017-07-27 13:40:19 +02:00
Christophe Simonis 48c478513f [IMP] core: log address we listen on in multi-worker mode 2017-07-27 13:39:08 +02:00
Nicolas Martinelli da0eb25221 [FIX] l10n_be: VAT-IN-V81-12-EU
The tax 'VAT-IN-V81-12-EU' should be a group of taxes, similarly to
'VAT-IN-V81-06-EU' and 'VAT-IN-V81-21-EU'.

opw-752879
2017-07-26 13:20:55 +02:00
Odoo Translation Bot 34bc9b4983 [I18N] Update translation terms from Transifex 2017-07-25 11:46:16 +02:00
Lucas Perais (lpe) 890152cb6b [FIX] website_sale, website_sale_options: fix modal prices
Backport of 8bd56bb466

OPW 744943

Closes #18416
2017-07-25 09:09:30 +02:00
Pierre Masereel e2a255717f [FIX] stock: MTO move status
When we validate a SO with an MTO product, then an RFQ and a delivery
picking are created. The status of the delivery picking is in state
'confirmed', but should be 'waiting' as the delivery waits for a
specific delivery input.

The problem is caused by the unreserve method, which is called in the
'procurement_jit' module. This method only checks that a move has
ancestors to determine if the move should be in waiting or in confirmed,
which is not the case for our delivery move because the RFQ has not been
validated yet so there is not ancestors yet.

To fix this issue, we check the 'procure_method' of the move, and if it
is in 'make_to_order' we put it in 'waiting' instead of 'confirmed'.

We also fixed the function recalculate_move_state that could cause the
same problem.
2017-07-24 10:53:36 +02:00
Goffin Simon 7333f5e9b8 [FIX] purchase: Wrong scheduled date for backorder
Steps to reproduce:
-Create a PO with two lines L1 and L2
-L1 has product P with qty=10 for a scheduled date=23/07/2017
-L2 has product P with qty=10 for a scheduled date=30/07/2017
-Confirm the PO

When delivering 5P of L1, the scheduled date of the picking is the
right date which is 23/07/2017
But when delivering the other 5P of L1, the scheduled date of the
second picking was 30/07/2017 instead of 23/07/2017.

opw:752192
2017-07-20 13:44:43 +02:00
Martin Trigaux a03eb9a3e8 [IMP] sale: add test on pricelist dates
Commit 60d46345 fixed issue #18303 that was surprisingly unnoticed for two years
Adding tests to make sure it does not happen again.
2017-07-20 10:21:03 +02:00
jeffery chen fan 60d4634544 [FIX] sale: use date_order for pricelist selection
The date of the sale order was ignored when selecting th eappropriate pricelist
rule.

Fixes #18303
Closes #18308
2017-07-19 16:30:39 +02:00
Vincent Adriaensen 1e3e3b4bbe [CLA] signature for vincentadriaensen
Done at #18332
2017-07-19 13:34:34 +02:00
Nicolas Martinelli 41433debdb [FIX] account: leap year
If the end of the accounting period is set to the 28-29th of February,
crashes may occur in date computation.

opw-752939
2017-07-19 12:58:05 +02:00
qsm-odoo 9494161e23 [FIX] website_quote: increase robustess of menu generation
On online quotations, a left menu is automatically generated on page
load by searching for the <h1/> and <h2/> elements in the page. This
also considered the empty ones which do not make sense and were
breaking the menu's layout. Ideally, there should not be any empty
title in the page.

opw-752764
2017-07-19 09:25:11 +02:00
Christophe Simonis ba294a397e [MERGE] forward port branch saas-6 up to 3228694bdd 2017-07-18 19:18:59 +02:00
Christophe Simonis 3228694bdd [FIX] mass_mailing: only track shorten links
It may happen that some mails attached to a mailing contains non
shorten links.
2017-07-18 18:36:21 +02:00
Josse Colpaert 274432ecac [FIX] stock: force orderpoint deactivation
Deactivating product should not be working when you still have active
orderpoints.

Closes #16954
2017-07-18 09:48:02 +02:00
Goffin Simon fea5057425 [FIX] account: Unlinking payment term
When unlinking payment terms, the ir.property records linked to
the fields "property_payment_term_id" and "property_supplier_payment_term_id"
were not deleted.

opw:749459
2017-07-17 12:56:57 +02:00
Nicolas Martinelli 6331cd1ff5 [FIX] base: QWeb monetary format
- Set the currency precision to 0.05
- Print any QWeb report displaying amounts, e.g. the GL

The amounts are displayed with 1 digit precision instead of 2.

The formula used to compute the decimal places is actually wrong. The
correct one can be found in method `_decimal_places`. Anyway, we can use
directly the field.

opw-752283
2017-07-14 15:27:48 +02:00
Yenthe V.G 13a3e76a48 [FIX] web_planner: remove second URL reference
Introduced at 77e18a48

Closes #17327
2017-07-14 13:42:46 +02:00
Nicolas Martinelli 3e8ba4905c [FIX] crm: expected closing
The "exp. closing" dashboard button takes into account the won
opportunities. It shouldn't.

Backport of 9d2f48dc7f

opw-751165
opw-744940
2017-07-13 08:35:40 +02:00
Nicolas Martinelli b1b8392591 [FIX] sales_team, crm: expected closing
On the CRM dashboard, the shortcut 'exp. closing' is the same than the
'overdue' shortcut. However, the number of opportunities in these
categories is computed differently (see method
`retrieve_sales_dashboard`).

We introduce a new filter "Overdue Opportunities" which reflects this
difference.

Backport of 9d2f48dc7f

opw-704173
opw-751165
2017-07-13 08:34:20 +02:00
Sylvain LE GAL 4001aaf2c4 [FIX] l10n_fr_certification : fix string_to_hash computation
- use datas of all lines, and not only the last lines.
- removed useless 'move_id' field from account.move.line

Was PR #18175. Courtesy of Sylvain Legal
2017-07-12 09:58:34 +02:00
Christophe Simonis 479facb783 [MERGE] forward port branch saas-6 up to e26d85e836 2017-07-10 15:07:43 +02:00
Christophe Simonis e26d85e836 [MERGE] forward port branch 8.0 up to 49407e46cb 2017-07-10 14:58:37 +02:00
Joren Van Onder 49407e46cb [FIX] sale_margin: convert standard_price to SO currency before using 2017-07-07 16:01:36 -07:00
Invitu 7102fcfc4f [FIX] point_of_sale: also clone orderline price
Otherwise during e.g. bill splitting of an orderline which had it's
price overridden you end up with the original price again.

Fixes #17810
Closes #17811
2017-07-07 16:00:38 -07:00
Christophe Simonis 9cc799f511 [MERGE] forward port branch saas-6 up to 9a79b7b818 2017-07-07 13:59:13 +02:00
Christophe Simonis 9a79b7b818 [MERGE] forward port branch 8.0 up to 63ad8b9597 2017-07-07 13:56:47 +02:00
Richard Mathot 63ad8b9597 [FIX] tools: prevent crashes with Pillow >= 4.2.0
From Pillow 4.2, it is forbidden to save RGBA images as JPEG
( https://github.com/python-pillow/Pillow/commit/e4d6223c944cf44c468cc65a560b94dfcf351a62 )

A crash was occurring when loading demo JPGs as
image_resize_and_sharpen() was silently changing image mode to RGBA.
Now we ensure that we return the original image mode.

We also avoid crashes when converting from PNG to JPG
2017-07-07 10:11:40 +02:00
Raphael Collet a1f1f85be2 [FIX] workflow: insertion of duplicates in many2many relation 2017-07-07 09:47:04 +02:00
qdp-odoo 1fda216887 [FIX] l10n_fr_certification: set auto_install to False
Due to recent decision by the French government this might not be mandatory for french companies
2017-07-06 17:01:33 +02:00