Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Social media Marketing
    • E-mailmarketing
    • SMS Marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Goedkeuringen
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelzaak
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Food & Hospitality
    • Bar en Pub
    • Restaurant
    • Fastfood
    • Gastenverblijf
    • Drankenhandelaar
    • Hotel
    Vastgoed
    • Makelaarskantoor
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van eigenaren
    Consulting
    • Accountantskantoor
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textiel
    • Metaal
    • Meubels
    • Eten
    • Brewery
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Trades
    • Klusjesman
    • IT-hardware & support
    • Zonne-energiesystemen
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC-diensten
    Andere
    • Non-profitorganisatie
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Browse all Industries
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijs- programma
    • Scale Up! Business Game
    • Bezoek Odoo
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Word een Partner
    • Services for Partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help

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

  • CRM
  • e-Commerce
  • Boekhouding
  • Voorraad
  • PoS
  • Project
  • MRP
All apps
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

Existing module customization not working

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
modulescacheupdateajax
2 Antwoorden
5064 Weergaven
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
Annuleer
Ermin Trevisan

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

Testing
Auteur

@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?

Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Gerelateerde posts Antwoorden Weergaven Activiteit
Update all odoo modules at once Opgelost
modules update
Avatar
Avatar
1
mrt. 23
7038
Cant modify source code Odoo V16 !!
modules update
Avatar
Avatar
2
feb. 23
4062
"update modules list" failure
modules update
Avatar
Avatar
1
mrt. 15
5462
module update Opgelost
modules update
Avatar
Avatar
Avatar
3
mrt. 15
6068
Cannot Update Modules - Odoo v8
modules update
Avatar
Avatar
1
mrt. 15
5699
Community
  • Tutorials
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Word een Partner
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة 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 is een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

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