[FIX] - default value for active field in contract line

[FIX] - fix flake8
This commit is contained in:
sbejaoui
2018-12-20 22:08:34 +01:00
committed by Pedro M. Baeza
parent 0632b4b90e
commit 7866eece2b
4 changed files with 26 additions and 21 deletions

View File

@@ -19,6 +19,7 @@ def migrate(cr, version):
lambda c: not c.create_invoice_visibility
)
cr.execute(
"UPDATE account_analytic_account set recurring_next_date=null where id in (%)"
"UPDATE account_analytic_account set recurring_next_date=null "
"where id in (%)"
% ','.join(finished_contract.ids)
)