mirror of
https://github.com/bringout/oca-ocb-sale.git
synced 2026-04-28 01:52:04 +02:00
19.0 vanilla
This commit is contained in:
parent
79f83631d5
commit
73afc09215
6267 changed files with 1534193 additions and 1130106 deletions
|
|
@ -0,0 +1,33 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="sale_order_portal_content_inherit_website_sale" name="Orders Followup Products Links" inherit_id="sale.sale_order_portal_content">
|
||||
<div name="sol_table" position="attributes">
|
||||
<attribute name="class" remove="table-responsive" separator=" "/>
|
||||
</div>
|
||||
<span name="span_product_name" position="replace">
|
||||
<a t-if="line.product_id.website_published" t-att-href="line.product_id.website_url" class="d-block text-wrap" style="max-width: 35vw">
|
||||
<span t-field="line.name" />
|
||||
</a>
|
||||
<t t-if="not line.product_id.website_published">
|
||||
<span t-field="line.name" class="d-block text-wrap" style="max-width: 35vw"/>
|
||||
</t>
|
||||
</span>
|
||||
</template>
|
||||
|
||||
<template id="sale_order_re_order_btn" inherit_id="sale.sale_order_portal_template" name="Sale Order Order Again">
|
||||
<div id="print_invoice_sidebar_button" position="after">
|
||||
<t t-if="sale_order.with_user(request.env.user).sudo()._is_reorder_allowed()">
|
||||
<button
|
||||
id="reorder_sidebar_button"
|
||||
class="btn btn-secondary o_wsale_reorder_button oe_website_sale"
|
||||
t-att-data-sale-order-id="sale_order.id"
|
||||
>
|
||||
<i class="fa fa-rotate-right me-1"/>
|
||||
Order Again
|
||||
</button>
|
||||
</t>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue