fix(e-taxes): import now_datetime in sales_api to fix Activity Recording Error
sales_api's local record_etaxes_activity() called now_datetime() without importing it -> NameError on every call (caught and logged as noise, but the token-inactivity timer was never updated, risking premature token expiry on long sales imports). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
7d13af6f78
commit
d4509b682d
|
|
@ -1,6 +1,7 @@
|
|||
import frappe
|
||||
import json
|
||||
import requests
|
||||
from frappe.utils import now_datetime
|
||||
|
||||
from invoice_az import background_tasks
|
||||
from datetime import datetime
|
||||
|
|
|
|||
Loading…
Reference in New Issue