mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
fixup! [10.0][FIX] account_asset_management - issues #731
This commit is contained in:
@@ -857,11 +857,11 @@ class AccountAsset(models.Model):
|
||||
remaining_value -= amount
|
||||
fy_amount_check += amount
|
||||
|
||||
fiscalyear_lock_date_formated = fields.Datetime.from_string(
|
||||
fiscalyear_lock_date_formatted = fields.Datetime.from_string(
|
||||
fiscalyear_lock_date
|
||||
)
|
||||
|
||||
if line_date <= fiscalyear_lock_date_formated:
|
||||
if line_date <= fiscalyear_lock_date_formatted:
|
||||
init_entry = True
|
||||
else:
|
||||
init_entry = False
|
||||
|
||||
Reference in New Issue
Block a user