mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
Flake8
This commit is contained in:
@@ -147,7 +147,8 @@ class AccountSpreadInvoiceLineLinkWizard(models.TransientModel):
|
||||
account = self.invoice_line_id.account_id
|
||||
spread_vals = self.template_id._prepare_spread_from_template()
|
||||
|
||||
date_invoice = self.invoice_id.date_invoice or fields.Date.today()
|
||||
date_invoice = self.invoice_id.date_invoice
|
||||
date_invoice = date_invoice or fields.Date.today()
|
||||
spread_vals['spread_date'] = date_invoice
|
||||
|
||||
spread_vals['name'] = ('%s %s') % (
|
||||
|
||||
Reference in New Issue
Block a user