mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
Clean files
This commit is contained in:
committed by
Artem Kostyuk
parent
011e4e89ca
commit
84b4a20520
@@ -46,6 +46,5 @@ class SaleOrder(models.Model):
|
||||
vals = super(SaleOrder, self)._prepare_invoice(order, lines)
|
||||
if order.payment_mode_id:
|
||||
vals['payment_mode_id'] = order.payment_mode_id.id,
|
||||
vals['partner_bank_id'] = (order.payment_mode_id and
|
||||
order.payment_mode_id.bank_id.id)
|
||||
vals['partner_bank_id'] = order.payment_mode_id.bank_id.id
|
||||
return vals
|
||||
|
||||
Reference in New Issue
Block a user