[IMP] minor improvements

bzr revid: fp@tinyerp.com-20140101202753-mzs69dcgmskdwid5
This commit is contained in:
Fabien Pinckaers
2014-01-01 21:27:53 +01:00
parent 13a8cd9232
commit 63452ee58f
2 changed files with 4 additions and 3 deletions
@@ -39,6 +39,7 @@ class sale_quote(http.Controller):
# use SUPERUSER_ID allow to access/view order for public user
order = request.registry.get('sale.order').browse(request.cr, SUPERUSER_ID, order_id)
assert token == order.access_token, 'Access denied, wrong token!'
# TODO: if not order.template_id: return to the URL of the portal view of SO
values = {
'quotation': order,
}
@@ -189,7 +189,7 @@
<template id="product_recommendation">
<div class="container mt32" t-if="quotation.recommended_products()">
<h3>Customers who have bought this product also bought:</h3>
<div class='row mt16' style="margin-left: 15px !important;">
<div class='row mt16'>
<t t-foreach="quotation.recommended_products()" t-as="product">
<div class='col-md-2 thumbnail' style='width: 170px; margin-right: 16px;'>
<div class='mt16 text-center'>
@@ -211,8 +211,8 @@
<div t-field="line.website_description" class="oe_structure"/>
</section>
</t>
<section id="templateterms" class="tab-pane oe_section jumbotron">
<div class="container panel panel-default tab-pane oe_section">
<section id="templateterms" class="tab-pane">
<div class="container panel panel-default">
<div class="row panel-body">
<div class="text-center">
<h2><strong>Terms &amp; Conditions</strong></h2>