mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
Port SEPA modules to new API
Fix an important regression in account_banking_sepa_direct_debit: "Date of Last Debit" was not set any more Proper write of date_done with account_banking_payment_export is installed without account_banking_payment_transfer Add post-install script for date_sent on payment.order
This commit is contained in:
@@ -98,9 +98,7 @@ class PaymentOrder(models.Model):
|
||||
def action_done(self):
|
||||
for line in self.line_ids:
|
||||
line.date_done = fields.Date.context_today(self)
|
||||
self.date_done = fields.Date.context_today(self)
|
||||
# state is written in workflow definition
|
||||
return True
|
||||
return super(PaymentOrder, self).action_done()
|
||||
|
||||
@api.multi
|
||||
def _get_transfer_move_lines(self):
|
||||
|
||||
Reference in New Issue
Block a user