mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
Finalise the wizard of selection of move lines to pay
Add button "Add to payment/debit order" on invoice form view Started to integrate payment transfer in account_payment_order (not finished at all though) Various fixes/changes/improvements/...
This commit is contained in:
committed by
Enric Tobella
parent
0fa08b14c4
commit
e5fc812f6a
@@ -16,7 +16,6 @@ class AccountMoveLine(models.Model):
|
||||
def _prepare_payment_line_vals(self, payment_order):
|
||||
vals = super(AccountMoveLine, self)._prepare_payment_line_vals(
|
||||
payment_order)
|
||||
# TODO : test on the view field "mandate required ?"
|
||||
if payment_order.payment_type == 'inbound' and self.mandate_id:
|
||||
vals['mandate_id'] = self.mandate_id.id or False
|
||||
vals['partner_bank_id'] = self.mandate_id.partner_bank_id.id or False
|
||||
|
||||
Reference in New Issue
Block a user