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 8afb7790de
commit 3effaf21ef
574 changed files with 4135 additions and 6276 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"""
)