[FIX] sale/edi: paypal payment should be possible as soon as SO is not draft
Most companies won't mind if customers pay too early. Even if the amount is not 100% correct, it can be adjusted later, and it's better than missing a revenue opportunity. bzr revid: odo@openerp.com-20121024125957-oo8r9zmazzdonhd7
This commit is contained in:
parent
88dcca513f
commit
21b56902b7
|
@ -51,7 +51,7 @@
|
|||
% endif
|
||||
</p>
|
||||
|
||||
% if object.order_policy in ('prepaid','manual') and object.company_id.paypal_account and object.state not in ('draft', 'sent'):
|
||||
% if object.order_policy in ('prepaid','manual') and object.company_id.paypal_account and object.state != 'draft':
|
||||
<%
|
||||
comp_name = quote(object.company_id.name)
|
||||
order_name = quote(object.name)
|
||||
|
|
Loading…
Reference in New Issue