[FIX] website_sale: save the company in street and the street in street2.
authorJeremy Kersten <jke@odoo.com>
Tue, 7 Oct 2014 17:00:45 +0000 (19:00 +0200)
committerJeremy Kersten <jke@odoo.com>
Tue, 7 Oct 2014 17:00:45 +0000 (19:00 +0200)
commit8ff6299d9d5dcca01a71e548df6a638265be8b46
treecbabe0f6ce443532d5b43d0f2b4eda2af037e600
parent717895be1aae3b89eca3f694854700ae597b3c6a
[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
addons/website_event_sale/static/src/js/website.tour.event_sale.js
addons/website_sale/controllers/main.py
addons/website_sale/static/src/js/website_sale_tour_buy.js
addons/website_sale/views/templates.xml