Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Coopdevs OCB mirror
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coopdevs
Odoo
Coopdevs OCB mirror
Commits
330bf5ec
Commit
330bf5ec
authored
9 years ago
by
Jérome Maes
Browse files
Options
Downloads
Patches
Plain Diff
[FIX] website_portal_sale : use correct controller to get product thumbnail
parent
e36ec606
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
addons/website_portal_sale/views/templates.xml
+5
-5
5 additions, 5 deletions
addons/website_portal_sale/views/templates.xml
with
5 additions
and
5 deletions
addons/website_portal_sale/views/templates.xml
+
5
−
5
View file @
330bf5ec
...
...
@@ -31,7 +31,7 @@
</thead>
<t
t-foreach=
"quotations"
t-as=
"quotation"
>
<tr
t-att-class=
"'hidden to_hide' if quotation.state!='sent' and quotation_index > 4 else ''"
>
<td>
<td>
<a
t-att-href=
"'/my/orders/'+str(quotation.id)"
><t
t-esc=
"quotation.name"
/></a>
</td>
<td><span
t-field=
"quotation.validity_date"
/></td>
...
...
@@ -96,7 +96,7 @@
</t>
</template>
<template
id=
"invoices"
name=
"Invoices and Payments"
>
<template
id=
"invoices"
name=
"Invoices and Payments"
>
<h3
class=
"page-header"
>
Your Invoices and Payments
</h3>
<t
t-if=
"not invoices"
>
<p>
There are currently no invoices for your account.
</p>
...
...
@@ -175,10 +175,10 @@
<div
class=
"col-md-12"
>
<h4>
<t
t-if=
"order.state == 'sent'"
>
Quotation
Quotation
</t>
<t
t-if=
"order.state != 'sent'"
>
Order
Order
</t>
<span
t-esc=
"order.name"
/>
</h4>
...
...
@@ -250,7 +250,7 @@
<t
t-foreach=
"order.order_line"
t-as=
"ol"
>
<div
class=
"row orders_vertical_align"
>
<div
class=
"col-md-1 text-center"
>
<img
t-att-src=
"'/web
_editor
/image/product.product/%s/image_small/48x48' % ol.product_id.id"
/>
<img
t-att-src=
"'/web/image/product.product/%s/image_small/48x48' % ol.product_id.id"
/>
</div>
<div
id=
'product_name'
class=
"col-md-5"
>
<span
t-esc=
"ol.product_id.name"
/>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment