** Patch added: "fix-payment_voucher_on_refund.diff" https://bugs.launchpad.net/bugs/920863/+attachment/2690409/+files/fix-payment_voucher_on_refund.diff
-- You received this bug notification because you are a member of OpenERP Framework Experts, which is subscribed to OpenERP Addons. https://bugs.launchpad.net/bugs/920863 Title: Bad default parameter on payment voucher on refund Status in OpenERP Addons (modules): New Bug description: Here is the scenario of the bug on OpenERP trunk : 1. A supplier issue a refund. -> Create a new supplier refund and approve it. It creates the following accounting entry : Third party account (401 in France) : debit Expense account (607 in France) : credit 2. The supplier makes a bank transfer to you to reimburse the refund. On the supplier refund, click on the "Pay invoice" button. Keep the default parameters, select a "Payment method" and click on validate. In the "Journal items" tab, you will see the following accounting entry : Third party account (401) : debit Bank account (512) : credit This is wrong ; for a reimbursement from a supplier, it should be : Third party account (401) : credit Bank account (512) : debit The cause of this issue is that the "Amount" field on the payment voucher should be negative. If you manually set the amount as negative, the accounting entry becomes correct. The issue is the same for a customer refund. The enclosed patch fixes this issue. This patch has been tested on addons-trunk. To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-addons/+bug/920863/+subscriptions -- Mailing list: https://launchpad.net/~credativ Post to : [email protected] Unsubscribe : https://launchpad.net/~credativ More help : https://help.launchpad.net/ListHelp

