summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMqdd <ahmadmiqdad27@gmail.com>2025-12-02 10:33:03 +0700
committerMqdd <ahmadmiqdad27@gmail.com>2025-12-02 10:33:03 +0700
commitf21999829173fe8d2ef935f0564014fc04b8214e (patch)
tree8d5ed1e3e1a7cd4bdb70848e712cc833ebe71966
parent0db7816b9208f9ef72bb4bb02e1d550cffb884ee (diff)
<Miqdad> fix error
-rw-r--r--indoteknik_custom/models/find_page.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/indoteknik_custom/models/find_page.py b/indoteknik_custom/models/find_page.py
index e50ccd5e..561b15ee 100644
--- a/indoteknik_custom/models/find_page.py
+++ b/indoteknik_custom/models/find_page.py
@@ -43,7 +43,6 @@ class FindPage(models.Model):
urls = self.env['web.find.page'].search([])
documents = []
catch = {}
- keywords = self.keywords
for url in urls:
try:
document = {
@@ -53,7 +52,7 @@ class FindPage(models.Model):
'url_s': url.url
}
if url.keywords:
- document['keywords_s']= keywords
+ document['keywords_s']= url.keywords
documents.append(document)
catch = document
except Exception as e: