Hi Laurent, Whenever a sale order is made,corresponding customer invoice is created. Here, the bank account information of the main company is consulted, not the bank account of customer. The Money is going to be paid to account of the current company.
Whenever a supplier invoice is created, bank account information of the main company is not consulted, but the bank account of supplier is. The Money is going to be paid to account of the supplier. Interrupt me if I am missing something. @Experts, do we need to improve the behaviour? Thanks. -- Bank information of the customer does not go back in invoice https://bugs.launchpad.net/bugs/631846 You received this bug notification because you are a member of OpenERP Accounting Experts, which is a direct subscriber. Status in OpenObject Addons Modules: New Bug description: Hi, I have bank détails in my customer but when I make invoice, bank informations from my customer does not go back in the field "Bank Account" of the tab 'Other Info" of the invoice. In version 5.0.12, I corrected this bug with the following code : 1°) In file server/addons/sale/sale.py, function _make_invoice(), I add : 'partner_bank': order.partner_id.bank_ids[0].id 2°) In file server/addons/stock/stock.py, function action_invoice_create(), I add : if partner.bank_ids: bank_id = partner.bank_ids[0].id else: bank_id = '' and if type in ('out_invoice','out_refund'): invoice_vals['partner_bank'] = bank_id 3°) In file server/addons/account/invoice.py, function _get_invoice_from_reconcile(), I add : 'readonly=True' on fiel 'partner_bank' because the search is not goog (bank of manufacture) and function onchange_partner_id(), I add : 'out_invoice' in line 'if type in ('in_invoice', 'in_refund'):' I think it's a bug. Can you correct this ??? Thank's a lot Best regards Laurent _______________________________________________ Mailing list: https://launchpad.net/~openerp-expert-accounting Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-expert-accounting More help : https://help.launchpad.net/ListHelp

