refactor(treewide): formatting and ruff fixes, + manually enabled F401

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
Akhil Narang
2024-03-27 11:37:26 +05:30
parent c28d19cf7f
commit 4d34b1ead7
618 changed files with 4188 additions and 6384 deletions

View File

@@ -20,12 +20,10 @@ def execute():
)
frappe.db.sql(
"""UPDATE `tabTimesheet`
SET currency = '{0}',
f"""UPDATE `tabTimesheet`
SET currency = '{base_currency}',
exchange_rate = 1.0,
base_total_billable_amount = total_billable_amount,
base_total_billed_amount = total_billed_amount,
base_total_costing_amount = total_costing_amount""".format(
base_currency
)
base_total_costing_amount = total_costing_amount"""
)