diff options
| author | Olivier Dony <odo@openerp.com> | 2012-10-24 14:59:57 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2012-10-24 14:59:57 +0200 |
| commit | 21b56902b7eb7ad4eabb2b3be97ca42384d12fdc (patch) | |
| tree | 77f74fc33d6a59827b4bb511aeaf94e48c94e499 /addons | |
| parent | 88dcca513f005fd5d3366e2895d75a48b8058aaf (diff) | |
[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
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/sale/edi/sale_order_action_data.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/sale/edi/sale_order_action_data.xml b/addons/sale/edi/sale_order_action_data.xml index 009f575f00d..cfe5277d3ce 100644 --- a/addons/sale/edi/sale_order_action_data.xml +++ b/addons/sale/edi/sale_order_action_data.xml @@ -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) |
