Skip to Content
Odoo Menu
  • Log ind
  • Prøv gratis
  • Apps
    Økonomi
    • Bogføring
    • Fakturering
    • Udgifter
    • Regneark (BI)
    • Dokumenter
    • e-Signatur
    Salg
    • CRM
    • Salg
    • POS Butik
    • POS Restaurant
    • Abonnementer
    • Udlejning
    Hjemmeside
    • Hjemmesidebygger
    • e-Handel
    • Blog
    • Forum
    • LiveChat
    • e-Læring
    Forsyningskæde
    • Lagerbeholdning
    • Produktion
    • PLM
    • Indkøb
    • Vedligeholdelse
    • Kvalitet
    HR
    • Medarbejdere
    • Rekruttering
    • Fravær
    • Medarbejdersamtaler
    • Anbefalinger
    • Flåde
    Marketing
    • Markedsføring på sociale medier
    • E-mailmarketing
    • SMS-marketing
    • Arrangementer
    • Automatiseret marketing
    • Spørgeundersøgelser
    Tjenester
    • Projekt
    • Timesedler
    • Udkørende Service
    • Kundeservice
    • Planlægning
    • Aftaler
    Produktivitet
    • Dialog
    • Godkendelser
    • IoT
    • VoIP
    • Vidensdeling
    • WhatsApp
    Tredjepartsapps Odoo Studio Odoo Cloud-platform
  • Brancher
    Detailhandel
    • Boghandel
    • Tøjforretning
    • Møbelforretning
    • Dagligvarebutik
    • Byggemarked
    • Legetøjsforretning
    Mad og værtsskab
    • Bar og pub
    • Restaurant
    • Fastfood
    • Gæstehus
    • Drikkevareforhandler
    • Hotel
    Ejendom
    • Ejendomsmægler
    • Arkitektfirma
    • Byggeri
    • Ejendomsadministration
    • Havearbejde
    • Boligejerforening
    Rådgivning
    • Regnskabsfirma
    • Odoo-partner
    • Marketingbureau
    • Advokatfirma
    • Rekruttering
    • Audit & certificering
    Produktion
    • Tekstil
    • Metal
    • Møbler
    • Fødevareproduktion
    • Bryggeri
    • Firmagave
    Heldbred & Fitness
    • Sportsklub
    • Optiker
    • Fitnesscenter
    • Kosmetolog
    • Apotek
    • Frisør
    Håndværk
    • Handyman
    • IT-hardware og support
    • Solenergisystemer
    • Skomager
    • Rengøringsservicer
    • VVS- og ventilationsservice
    Andet
    • Nonprofitorganisation
    • Miljøagentur
    • Udlejning af billboards
    • Fotografi
    • Cykeludlejning
    • Softwareforhandler
    Gennemse alle brancher
  • Community
    Få mere at vide
    • Tutorials
    • Dokumentation
    • Certificeringer
    • Oplæring
    • Blog
    • Podcast
    Bliv klogere
    • Udannelselsesprogram
    • Scale Up!-virksomhedsspillet
    • Besøg Odoo
    Få softwaren
    • Download
    • Sammenlign versioner
    • Udgaver
    Samarbejde
    • Github
    • Forum
    • Arrangementer
    • Oversættelser
    • Bliv partner
    • Tjenester til partnere
    • Registrér dit regnskabsfirma
    Modtag tjenester
    • Find en partner
    • Find en bogholder
    • Kontakt en rådgiver
    • Implementeringstjenester
    • Kundereferencer
    • Support
    • Opgraderinger
    Github Youtube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Få en demo
  • Prissætning
  • Hjælp

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Bogføring
  • Lager
  • PoS
  • Projekt
  • MRP
All apps
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Hjælp

Existing module customization not working

Tilmeld

Få besked, når der er aktivitet på dette indlæg

Dette spørgsmål er blevet anmeldt
modulescacheupdateajax
2 Besvarelser
5036 Visninger
Avatar
Testing

I am trying to update some static text in template name "ajax_login_template.xml" inside (website_ajax_login module). I have restored an existing dump file without any errors. 

The issue is that I can't see the changes after updating the app (in developer mood). 

To my surprise, the changes get visible when I use new database instead of the dumped version and fresh install website_ajax_login_module.


Summary of my problem is as follows.


First Attempt


Step 1 -> Restore dump file into a database.


Step 2 -> Update template.xml file


Step 3 -> Activate Developer Mood and upgrade App. 


Result ===> Changes Not Visible.


Also if I click on top menu item "Customize -> HTML/CSS editor". No windows open at the right side of the screen.


Second Attempt 


Step 1:  Go to web database manager view

Step 2: Create a database (not restore list in the first attempt)


Step 3: Install website_ajax_login app


Result ====> Changes Visible I made in the template.xml file.


if I click on top menu item "Customize -> HTML/CSS editor". The window opens on the right side of the screen without any problem.




Is there some cache etc involved in this error. When using the dumped version of my database, I see the error logs as follows.




2020-05-18 10:58:57,541 127210 INFO archixpress odoo.addons.base.models.ir_attachment: _read_file reading /home/shahzeb/.local/share/Odoo/filestore/archixpress/bd/bdbf3e6ea7597eb4b2305c7e8e083430facaa1b2 


Traceback (most recent call last):


  File "/opt/odoo/odoo/odoo/api.py", line 1039, in get


    value = self._data[key][field][record._ids[0]]


KeyError: 38054




During handling of the above exception, another exception occurred:




Traceback (most recent call last):


  File "/opt/odoo/odoo/odoo/fields.py", line 976, in __get__


    value = record.env.cache.get(record, self)


  File "/opt/odoo/odoo/odoo/api.py", line 1041, in get


    raise CacheMiss(record, field)


odoo.exceptions.CacheMiss: ('ir.attachment(38054,).datas', None)




During handling of the above exception, another exception occurred:




Traceback (most recent call last):


  File "/home/shahzeb/Projects/Wiztech/odoo/odoo/odoo/addons/base/models/ir_attachment.py", line 113, in _file_read


    r = base64.b64encode(open(full_path,'rb').read())


FileNotFoundError: [Errno 2] No such file or directory: '/home/shahzeb/.local/share/Odoo/filestore/archixpress/bd/bdbf3e6ea7597eb4b2305c7e8e083430facaa1b2'


2020-05-18 10:58:57,561 127210 INFO archixpress werkzeug: 127.0.0.1 - - [18/May/2020 10:58:57] "GET /web/image/38054/160x160/ HTTP/1.1" 304 - 5 0.009 0.041


2020-05-18 10:58:57,575 127210 INFO archixpress odoo.addons.base.models.ir_attachment: _read_file reading /home/shahzeb/.local/share/Odoo/filestore/archixpress/26/269f4b4e91c4bc57d9d535ad3c8fcd907d975031 


Traceback (most recent call last):


  File "/opt/odoo/odoo/odoo/api.py", line 1039, in get


    value = self._data[key][field][record._ids[0]]


KeyError: 38056




During handling of the above exception, another exception occurred:




Traceback (most recent call last):


  File "/opt/odoo/odoo/odoo/fields.py", line 976, in __get__


    value = record.env.cache.get(record, self)


  File "/opt/odoo/odoo/odoo/api.py", line 1041, in get


    raise CacheMiss(record, field)


odoo.exceptions.CacheMiss: ('ir.attachment(38056,).datas', None)




During handling of the above exception, another exception occurred:




Traceback (most recent call last):


  File "/home/shahzeb/Projects/Wiztech/odoo/odoo/odoo/addons/base/models/ir_attachment.py", line 113, in _file_read


    r = base64.b64encode(open(full_path,'rb').read())


FileNotFoundError: [Errno 2] No such file or directory: '/home/shahzeb/.local/share/Odoo/filestore/archixpress/26/269f4b4e91c4bc57d9d535ad3c8fcd907d975031'


2020-05-18 10:58:57,578 127210 INFO archixpress werkzeug: 127.0.0.1 - - [18/May/2020 10:58:57] "GET /web/image/38056/160x160/ HTTP/1.1" 304 - 5 0.009 0.041


2020-05-18 10:58:58,001 127210 INFO archixpress werkzeug: 127.0.0.1 - - [18/May/2020 10:58:58] "POST /web/dataset/call HTTP/1.1" 200 - 3 0.051 0.032


2020-05-18 10:58:58,079 127210 INFO archixpress werkzeug: 127.0.0.1 - - [18/May/2020 10:58:58] "POST /website/translations HTTP/1.1" 200 - 12 0.116 0.142


2020-05-18 10:58:58,095 127210 INFO archixpress odoo.addons.base.models.ir_attachment: _read_file reading /home/shahzeb/.local/share/Odoo/filestore/archixpress/cd/cd5a21b5fca4934040122813fb0d1214003f6ca7 


Traceback (most recent call last):


  File "/opt/odoo/odoo/odoo/api.py", line 1039, in get


    value = self._data[key][field][record._ids[0]]


KeyError: 38113




During handling of the above exception, another exception occurred:




Traceback (most recent call last):


  File "/opt/odoo/odoo/odoo/fields.py", line 976, in __get__


    value = record.env.cache.get(record, self)


  File "/opt/odoo/odoo/odoo/api.py", line 1041, in get


    raise CacheMiss(record, field)


odoo.exceptions.CacheMiss: ('ir.attachment(38113,).datas', None)




During handling of the above exception, another exception occurred:






I shall appreciate if someone can put me on the right track.

0
Avatar
Kassér
Ermin Trevisan

pg_dump does only backup the database, but not the filestore. Therefore your attachments in the filestore are missing.

Testing
Forfatter

@Ermin thank you for the response. Actually there are still folders inside the "filestore" folder. The difference is that the file names are changed. My question is, Do I need to copy the exact files from server's filestore folder? And Do you think that the customize css editor issue (when i click on the menu item, the window does not open) is due to the same missing files?

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Tilmeld dig
Related Posts Besvarelser Visninger Aktivitet
Update all odoo modules at once Løst
modules update
Avatar
Avatar
1
mar. 23
7027
Cant modify source code Odoo V16 !!
modules update
Avatar
Avatar
2
feb. 23
4054
"update modules list" failure
modules update
Avatar
Avatar
1
mar. 15
5458
module update Løst
modules update
Avatar
Avatar
Avatar
3
mar. 15
6058
Cannot Update Modules - Odoo v8
modules update
Avatar
Avatar
1
mar. 15
5697
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Oversættelser
Tjenester
  • Odoo.sh-hosting
  • Support
  • Opgradere
  • Individuelt tilpasset udvikling
  • Uddannelse
  • Find en bogholder
  • Find en partner
  • Bliv partner
Om os
  • Vores virksomhed
  • Brandaktiver
  • Kontakt os
  • Stillinger
  • Arrangementer
  • Podcast
  • Blog
  • Kunder
  • Juridiske dokumenter • Privatlivspolitik
  • Sikkerhedspolitik
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo er en samling open source-forretningsapps, der dækker alle dine virksomhedsbehov – lige fra CRM, e-handel og bogføring til lagerstyring, POS, projektledelse og meget mere.

Det unikke ved Odoo er, at systemet både er brugervenligt og fuldt integreret.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now