Skip to content
Permalink
Browse files

[IMP] sale, sale_management: code improvement after rebase

  • Loading branch information...
pla-odoo committed May 15, 2019
1 parent e8cff92 commit 4fb60b0147a059c7360c80aeae5e196821d1cdaf
Showing with 3 additions and 3 deletions.
  1. +3 −3 addons/sale_management/views/sale_portal_templates.xml
@@ -22,7 +22,7 @@

<xpath expr="//section[@id='details']//t[@t-if='not line.display_type']" position="inside">
<td class="text-center" t-if="display_remove">
<a href="#" t-att-data-order-id="sale_order.id" t-att-data-unlink='1' t-att-data-token="sale_order.access_token" t-att-data-line-id="line.id" class="mb8 js_update_line_json d-print-none" t-if="line.sale_order_option_ids" aria-label="Remove" title="Remove">
<a t-att-href="sale_order.get_portal_url(suffix='/update_line/%s' % line.id, query_string='&amp;unlink=True')" class="mb8 js_update_line_json d-print-none" t-if="line.sale_order_option_ids" aria-label="Remove" title="Remove">
<span class="fa fa-trash-o"></span>
</a>
</td>
@@ -84,7 +84,7 @@

<div class="input-group-prepend d-print-none">
<span class="input-group-text">
<a href="#" t-att-data-order-id="sale_order.id" t-att-data-remove='1' t-att-data-line-id="line.id" t-att-data-token="sale_order.access_token" class="js_update_line_json" aria-label="Remove one" title="Remove one">
<a t-att-href="sale_order.get_portal_url(suffix='/update_line/%s' % line.id, query_string='&amp;remove=True')" class="mb8 js_update_line_json" aria-label="Remove one" title="Remove one">
<span class="fa fa-minus"/>
</a>
</span>
@@ -93,7 +93,7 @@
<input type="text" class="js_quantity form-control bg-white" t-att-data-id="line.id" t-att-value="line.product_uom_qty" readonly="1"/>
<div class="input-group-append d-print-none">
<span class="input-group-text">
<a href="#" t-att-data-order-id="sale_order.id" t-att-data-token="sale_order.access_token" t-att-data-line-id="line.id" class="js_update_line_json" aria-label="Add one" title="Add one">
<a t-att-href="sale_order.get_portal_url(suffix='/update_line/%s' % line.id)" class="mb8 js_update_line_json" aria-label="Add one" title="Add one">
<span class="fa fa-plus"/>
</a>
</span>

0 comments on commit 4fb60b0

Please sign in to comment.
You can’t perform that action at this time.