Commit Graph

119 Commits

Author SHA1 Message Date
Goffin Simon a617fd29ae [FIX] website_sale: discount display in e-commerce
Each time the quantity of a product is changed, the price must
be updated according to the pricelist of the user.
When the price given by the pricelist is less then the unit price
of the product, the reduction of the price must be displayed.

A not stored computed field is added in model "sale.order.line"
to compute the discounted price because when the module
product_visible_discount is installed the price unit of a SO line
is the full price of the product and the discount related to the pricelist
is written in percent in the field discount(function "product_id_change"
in addons/product_visible_discount/product_visible_discount.py).

opw:660178
2015-12-22 10:21:07 +01:00
Goffin Simon 26189bf67a [FIX] website_sale, website_sale_options: optional_product_ids
The field optional_product_ids is not in the model "product.template" if
the module website_sale_options is not installed.

opw:654273
2015-11-13 13:05:33 +01:00
Goffin Simon 4324891529 [FIX] website_sale: add to cart with optional products
When clicking on button "add_to_cart" for a product with several options,
 the user must be redirected to the product page. In this way, the user can
 choose the options, he wants to buy with the product before adding the product
 in the cart.

 opw:653356
2015-11-04 09:44:11 +01:00
Goffin Simon cf87d9b5a3 [FIX] website_sale, website_sale_options: product_variant_ids in website_sale.modal
To show the website_sale.modal, the product_variant_ids must be in the DOM
because all the prices are computed with the product_variant_ids.
From commit 0ff26cf

opw:650167
2015-10-01 09:25:51 +02:00
Denis Ledoux ed214a6681 [FIX] website, website_sale: alternative for images
Images should have an alternative
(the "alt" attribute") in order
to be W3C compliant (accessibility).

opw-648135
2015-08-27 15:46:14 +02:00
Goffin Simon 669948569b [FIX] website_sale: alternative products
Display correctly the alternative products

opw:643934
2015-07-08 09:11:01 +02:00
Goffin Simon 0ff26cf7cd [FIX] website_sale: quick add in the cart
If the product to quick add in the cart has several variants, the button cart
redirects the user to the page of this product. If "attribute_value_ids" is not
in the DOM when clicking on the button cart, the product is immediately added in
the cart.

Closes #6714

opw:639897
2015-05-26 13:33:04 +02:00
David Monjoie e66efbd9f6 [FIX] website_sale: search button didn't work on product page
You can't move elements which needs website_sale js outside of the element with class oe_website_sale
2015-04-24 09:54:42 +02:00
David Monjoie 9fdf06a0f6 [FIX] website_sale: fixed display of variant informations in cart
Prior to this, even if your suggested or optional products were variants,
only the name of the template was shown.
Fixed GitHub issue 2746 and opw 614776
2015-04-20 12:31:52 +02:00
Goffin Simon 08d69774b0 [FIX] website_sale: Pricelist witn min qty
Each time a product is added in the cart, the qty of this product must be checked to
adjust the price if there is a rule (with min qty) in the partner's pricelist.

opw:630049
2015-04-10 10:57:37 +02:00
Nicolas Martinelli 64ab5638fc [FIX] website_sale: currency of the coupon taken into account to display the amount
1) Activate pricelist + multi currency - Main currency is EUR
2) Create a pricelist in USD (named "test"), no specific rule is applied.
3) Go to website < shop < select a product < buy it.
4) On the page /shop/cart go to customize and make sure "coupon code" is ticked
5) Enter "test" in the coupon code field

--> The prices are changed according to the exchange rate of the currency of the pricelist.

This is not correct: the coupon should only affect the amount according to the discount,
not convert the amount in the currency of the pricelist. In the specific example, the price
displayed should not be affected.

opw: 630670
2015-04-02 15:13:29 +02:00
Anton Chepurov a70ea6d03b [FIX][#5182] speed up product form loading
removes obsolete (and faulty) check
2015-03-24 12:58:25 +02:00
Christophe Matthieu f9d8493ee9 [FIX] website_sale: In the shopping cart + in the shopping summary (order in front end), the internal reference should not be displayed 2015-02-16 16:59:52 +01:00
Christophe Matthieu 414175cb30 [FIX] website_sale: the cart and modal in ecomerce are not responsive for phone 2015-02-16 16:33:01 +01:00
Christophe Matthieu 72c418e6dd [FIX] website_sale: wrong line details in pdf invoice, the invoice line name does not contains the product name 2015-02-16 10:32:39 +01:00
Denis Ledoux c62be6167a [FIX] website_sale: price overlapping product name
In ecommerce products list view, if the product name was
shorter than the product price, than,
the product price overlapped the product description

Besides, this display: inline-block; has no useful utility
(at least not known), and it should be set in a CSS property
anyway
2015-02-12 16:40:14 +01:00
Fabrice Henrion 319e99f82c [FIX] Terminology consistency 2015-01-12 14:58:55 +01:00
Christophe Matthieu d9e0997ffd [FIX] website_sale: the price per line display a wrong reduction if the tax is include 2014-12-22 15:16:36 +01:00
Christophe Matthieu b0ae5eac57 [FIX] website_sale: compute base price from default company currency to user currency to display the good lst_price or price extra 2014-12-19 11:59:45 +01:00
Simon Lejeune a03e5c42ec [FIX] website_sale: usability fixes in the checkout/address form
* `disabled` on the country select tag instead of `readonly`
* `create a new address` selected when the user set an invalid shipping
address and must correct it. Else the user was correcting the shipping
address but the option "ship to the same address" was selected.
2014-10-29 16:06:10 +01:00
Christophe Matthieu 4a46fce95a [FIX] website_sale: Postal Code is required during checkout for countries without postal codes; Zip must be not required. 2014-10-27 10:24:13 +01:00
Christophe Matthieu 23f9736372 [FIX] website_event_sale: display the discounted price in website.
Add price_reduce compute method on ticket and sale order line
2014-10-24 14:16:16 +02:00
David Monjoie 76824b4248 [FIX] website_sale: check the first product variant radio button in variants list by default to avoid users to click on Add to Cart without choosing any variant 2014-10-23 15:20:51 +02:00
Denis Ledoux 38668fd404 [FIX] website_sale*: handle no delivery methods in website
Display a user friendly message instead of crashing when there is not delivery method available for a specific order
2014-10-08 15:38:16 +02:00
Jeremy Kersten 8ff6299d9d [FIX] website_sale: save the company in street and the street in street2.
The old behaviour was not better, because when we print the invoice, the order was ugly:
    Name
    Street
    Company name
    Country

Now we will have:
    Name
    Company name
    Street
    Country

This patch is not retro-compatible:
   Old partners will see the address in company name and vice-versa.
   Need to update view and switch street field and street2 field
2014-10-07 19:00:45 +02:00
Denis Ledoux 6d509c0c6b [REF] website*: set spinner style in class, instead of inline
This fix is related to:
8298cf6510
51e399d9ac
9056c58cb8
2014-10-02 20:33:53 +02:00
Wolfgang Taferner 51e399d9ac [FIX] website_sale: shopping cart quantity width (qty > 9) 2014-10-02 18:45:14 +02:00
Denis Ledoux 8298cf6510 [FIX] website_sale: too tiny quantity input (if qty > 9) 2014-10-02 10:58:14 +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
Fabien Meghazi 8d08e06758 [FIX] Bundlification remains (Fixes #2463) 2014-09-17 14:50:12 +02:00
Fabien Meghazi 847093a4b0 [REM] unused class attribute 2014-09-16 22:27:52 +02:00
Fabien Meghazi bc5e6fa2cb [ADD] Helper for /website/image (allows to use aggressive cache) 2014-09-16 19:54:59 +02:00
Fabien Meghazi 6402bcbd92 [IMP] Move website_sale_tracking.js in front-end bundle 2014-09-16 19:54:59 +02:00
Christophe Matthieu a57ebb2c58 [FIX] website_sale: The product breadcrumbs in shop not working. Internal Server Error appears 2014-09-10 13:24:56 +02:00
Christophe Matthieu c9a134b541 [FIX] website_sale: customer write on public user and the sale order is apply to public user if the public user is active=True; the checkout layout display state_id field twice 2014-09-04 13:31:44 +02:00
Antony Lesuisse 2d296cb779 [MERGE] ir-ui-view split active and show_customize
Split the ternary field application in active and show_customize, all four
possible value are now needed for the customize theme popup.
2014-08-31 16:56:44 +02:00
Christophe Simonis 8046b7367d [MERGE] forward port of branch saas-5 up to 7e117b1 2014-08-28 16:51:11 +02:00
Fabien Meghazi 5e6e1303e3 [IMP] pretty urls for /website/image 2014-08-28 16:37:38 +02:00
Martin Trigaux 231a478ca9 [FIX] website_sale: pager in product list
Keep the reference to category and search view in pager.
Update the search template to include form and keep correct reference to the category (as a slug and not a parameter).
Fixes #688
2014-08-25 17:43:03 +02:00
Fabien Pinckaers 1e4501076d [FIX] bad link 2014-08-20 10:31:25 +02:00
Fabien Pinckaers f43e349d85 [IMP] Footer message according to installed apps 2014-08-12 13:06:08 +02:00
Denis Ledoux 1bb219907f [MERGE] forward port of branch saas-5 up to 655a5b9 2014-08-04 16:56:10 +02:00
Christophe Matthieu ce7212d5d7 [FIX] website_sale: everytime you want to change both billing & delivery address, any change creates duplicates in the backend 2014-08-01 17:11:20 +02:00
Christophe Matthieu 87a20d1cc3 [FIX] website_sale: can't click on confirm order in mobile view 2014-07-31 15:22:51 +02:00
Olivier Dony ef53a831c6 [MERGE] Forward-port saas-5 up to a5f7891 2014-07-23 16:58:00 +02:00
Denis Ledoux a5f7891b68 [MERGE] forward port of branch saas-4 up to 5739aebfb1 2014-07-23 13:18:30 +02:00
Denis Ledoux 49c203d6b9 [FIX] website_sale: do not set t-field in option
t-field in option input (select > option) is not supported
2014-07-17 17:22:43 +02:00
Christophe Simonis f654a7719b [MERGE] forward port of branch saas-5 up to 73d39a0 2014-07-10 22:49:53 +02:00
Jeremy Kersten 8eb97cc082 [IMP] website_sale: Add google analytics on checkout process 2014-07-09 17:45:40 +02:00
Christophe Matthieu 928f4fbf76 merge from 8.0 2014-07-09 16:10:08 +02:00