diff options
| author | wan <wan@odoo.com> | 2019-07-26 14:44:35 +0000 |
|---|---|---|
| committer | wan <wan@odoo.com> | 2019-07-31 14:39:22 +0000 |
| commit | 2d086f5d8fb01f659ede9543dc676e60125477ee (patch) | |
| tree | b0a5ec6d0dc82d9baf4e1f8eba41755195436f43 /addons/account/static/src/xml/account_payment.xml | |
| parent | b66d84119c0777354303ff179dfefe8a23738d1e (diff) | |
[IMP] account: credit note usability
Task 2038326
* Tick the credit note sequence by default on the customer invoices and vendor bills journals
* Write Customer Invoice/Vendor Bill/Credit Note/Customer refund at the top of the document
* The reference field should be printed on the credit note pdf (interesting because it gives source and reason)
* If the document is a credit note, there shouldn't be any payment information on the pdf (the customer doesn't have to pay you) (currently you see the "payment communication" the customer is supposed to use)
* Rename Credit Note to Refund on dashboard
* Add tooltip on payment widget
closes odoo/odoo#35231
Signed-off-by: Cedric Snauwaert (csn) <csn@openerp.com>
Diffstat (limited to 'addons/account/static/src/xml/account_payment.xml')
| -rw-r--r-- | addons/account/static/src/xml/account_payment.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/addons/account/static/src/xml/account_payment.xml b/addons/account/static/src/xml/account_payment.xml index 408681ecde8..530b7fbda26 100644 --- a/addons/account/static/src/xml/account_payment.xml +++ b/addons/account/static/src/xml/account_payment.xml @@ -14,15 +14,15 @@ <tr> <t t-if="outstanding"> <td> - <a title="assign to invoice" role="button" class="oe_form_field btn btn-link outstanding_credit_assign" t-att-data-id="line.id" style="margin-right: 10px;" href="#">Add</a> + <a title="assign to invoice" role="button" class="oe_form_field btn btn-link outstanding_credit_assign" t-att-data-id="line.id" style="margin-right: 10px;" href="#" data-toggle="tooltip">Add</a> </td> <td style="max-width: 10em;"> - <div class="oe_form_field" style="margin-right: 30px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;" t-att-title="line.title"><t t-esc="line.journal_name"></t></div> + <div class="oe_form_field" style="margin-right: 30px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;" t-att-title="line.journal_name" data-toggle="tooltip"><t t-esc="line.journal_name"></t></div> </td> </t> <t t-if="!outstanding"> <td> - <a role="button" tabindex="0" class="js_payment_info fa fa-info-circle" t-att-index="line.index" style="margin-right:5px;" aria-label="Info" title="Info"></a> + <a role="button" tabindex="0" class="js_payment_info fa fa-info-circle" t-att-index="line.index" style="margin-right:5px;" aria-label="Info" title="Info" data-toggle="tooltip"></a> </td> <td> <i class="o_field_widget text-right o_payment_label">Paid on <t t-esc="line.date"></t></i> @@ -33,7 +33,7 @@ <t t-if="line.position === 'before'"> <t t-esc="line.currency"/> </t> - <t t-esc="line.amount"></t> + <t t-esc="line.amount"></t> <t t-if="line.position === 'after'"> <t t-esc="line.currency"/> </t> @@ -70,7 +70,7 @@ <t t-if="position === 'before'"> <t t-esc="currency"/> </t> - <t t-esc="amount"></t> + <t t-esc="amount"></t> <t t-if="position === 'after'"> <t t-esc="currency"/> </t> |
