[FIX] sale_payment: able to pay sale order from portal
Revision on https://github.com/odoo/odoo/commit/eefe879a37aba221bda84adfd880fb7876955920 Changes in the portal payment are wrong, it stops user to pay sale order from portal.
This commit is contained in:
committed by
Yannick Tivisse
parent
a04a97cec5
commit
359769aa8b
@@ -49,7 +49,7 @@
|
||||
</div>
|
||||
</xpath>
|
||||
<xpath expr="//div[@id='portal_sign']" position="after">
|
||||
<div class="row" t-if="not invoices and order.state in ('sent') and portal_confirmation == 'pay'" id="portal_pay">
|
||||
<div class="row" t-if="not invoices and order.state in ('sent', 'sale') and portal_confirmation == 'pay' and order.payment_tx_id.state != 'done'" id="portal_pay">
|
||||
<div class="col-md-offset-3 col-md-6">
|
||||
<div t-if="pms or s2s_acquirers or form_acquirers" id="payment_method" class="text-left col-md-13">
|
||||
<h4 class="mb24">Pay with</h4>
|
||||
|
||||
Reference in New Issue
Block a user