diff --git a/addons/account/i18n/de.po b/addons/account/i18n/de.po index 1d1d51e5028..d89c7eb6e06 100644 --- a/addons/account/i18n/de.po +++ b/addons/account/i18n/de.po @@ -7,15 +7,14 @@ msgstr "" "Project-Id-Version: OpenERP Server 6.0dev\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2011-01-11 11:14+0000\n" -"PO-Revision-Date: 2011-01-18 12:10+0000\n" -"Last-Translator: Thorsten Vocks (OpenBig.org) \n" +"PO-Revision-Date: 2011-02-13 22:46+0000\n" +"Last-Translator: Ferdinand @ Camptocamp \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-01-19 04:43+0000\n" -"X-Generator: Launchpad (build 12177)\n" +"X-Launchpad-Export-Date: 2011-02-15 04:37+0000\n" +"X-Generator: Launchpad (build 12351)\n" #. module: account #: model:process.transition,name:account.process_transition_supplierreconcilepaid0 @@ -4630,7 +4629,7 @@ msgstr "Fehler" #: field:account.analytic.cost.ledger.journal.report,date2:0 #: field:account.analytic.inverted.balance,date2:0 msgid "End of period" -msgstr "Ende der Periode" +msgstr "Ende Periode" #. module: account #: view:res.partner:0 @@ -9782,7 +9781,7 @@ msgstr "Rechnungspositionen" #: field:account.report.general.ledger,period_to:0 #: field:account.vat.declaration,period_to:0 msgid "End period" -msgstr "Ende der Periode" +msgstr "Ende Periode" #. module: account #: code:addons/account/account_move_line.py:738 diff --git a/addons/account_voucher/account_voucher.py b/addons/account_voucher/account_voucher.py index 57ab234fb8d..63c4e13e7c7 100644 --- a/addons/account_voucher/account_voucher.py +++ b/addons/account_voucher/account_voucher.py @@ -710,7 +710,7 @@ class account_voucher(osv.osv): move_line = { 'journal_id': inv.journal_id.id, 'period_id': inv.period_id.id, - 'name': line.name and line.name or '/', + 'name': line.name or '/', 'account_id': line.account_id.id, 'move_id': move_id, 'partner_id': inv.partner_id.id, @@ -752,14 +752,16 @@ class account_voucher(osv.osv): if not currency_pool.is_zero(cr, uid, inv.currency_id, line_total): diff = line_total account_id = False + write_off_name = '' if inv.payment_option == 'with_writeoff': account_id = inv.writeoff_acc_id.id + write_off_name = inv.comment elif inv.type in ('sale', 'receipt'): account_id = inv.partner_id.property_account_receivable.id else: account_id = inv.partner_id.property_account_payable.id move_line = { - 'name': name, + 'name': write_off_name or name, 'account_id': account_id, 'move_id': move_id, 'partner_id': inv.partner_id.id, diff --git a/addons/account_voucher/voucher_payment_receipt_view.xml b/addons/account_voucher/voucher_payment_receipt_view.xml index 20c73bb9797..b62cba19d65 100644 --- a/addons/account_voucher/voucher_payment_receipt_view.xml +++ b/addons/account_voucher/voucher_payment_receipt_view.xml @@ -151,16 +151,17 @@
- - + + - - - + + + @@ -245,10 +246,10 @@ -