diff options
| author | Olivier Dony <odo@openerp.com> | 2011-11-07 19:50:11 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2011-11-07 19:50:11 +0100 |
| commit | a09b95aebbbb5f2b572e766c151a27f9cc3fa354 (patch) | |
| tree | 2d915182d4a25a4d4d757d77140d4528124d8748 /addons/edi/static/src/xml | |
| parent | 06046f46adea78bb038fd31303bacf39b729ccb5 (diff) | |
[IMP] edi: only offer payment option for Customer Invoices/Supplier Refund
bzr revid: odo@openerp.com-20111107185011-acqa9jfoy7nng2im
Diffstat (limited to 'addons/edi/static/src/xml')
| -rw-r--r-- | addons/edi/static/src/xml/edi.xml | 2 | ||||
| -rw-r--r-- | addons/edi/static/src/xml/edi_account.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/addons/edi/static/src/xml/edi.xml b/addons/edi/static/src/xml/edi.xml index 8c569011559..1e662a2b2cc 100644 --- a/addons/edi/static/src/xml/edi.xml +++ b/addons/edi/static/src/xml/edi.xml @@ -41,7 +41,7 @@ <div class="oe_edi_option"> <input type="radio" id="oe_edi_import_saas" name="oe_edi_import" class="oe_edi_import_choice"/> - <label for="oe_edi_import_saas" id="oe_edi_import_saas" class="oe_edi_import_choice_label">Import it into a new OpenERP Online instance:</label> + <label for="oe_edi_import_saas" id="oe_edi_import_saas" class="oe_edi_import_choice_label">Import it into a new OpenERP Online instance</label> </div> <p class="oe_edi_nested_block_import oe_edi_import_saas_nested"> <button type="button" class="oe_edi_import_button" id="oe_edi_import_create">Create my new OpenERP instance</button> diff --git a/addons/edi/static/src/xml/edi_account.xml b/addons/edi/static/src/xml/edi_account.xml index fcb9f89a98a..d9c9af9c401 100644 --- a/addons/edi/static/src/xml/edi_account.xml +++ b/addons/edi/static/src/xml/edi_account.xml @@ -124,7 +124,7 @@ </div> </t> <t t-name="Edi.account.invoice.sidebar"> - <t t-if="!doc.reconciled"> + <t t-if="!doc.reconciled && (doc.type == 'out_invoice' or doc.type == 'in_refund')"> <t t-if="doc.company_address.paypal_account || doc.company_address.bank_ids"> <p class="oe_edi_sidebar_title">Pay Online</p> <t t-if="doc.company_address.paypal_account"> |
