Showing posts with label Odoo. Show all posts
Showing posts with label Odoo. Show all posts

Tuesday, June 18, 2019

Odoo 9 screen is blank

Issue: 



Solution:

I have found discussion on https://github.com/odoo/odoo/issues/19627 , seems that this issue was known. I tried the workaround to delete the assets information belong in /web/content

DELETE FROM ir_attachment WHERE url LIKE '/web/content/%';

but the first try wasn't successful, so i tried restart the service and refresh my browser.

Still not okay the second, third ... etc. I can't remember how many times i tried but at last it worked.



It's weird but I'm happy as for now. Eureka!

Wednesday, April 24, 2019

File "/usr/lib/python2.7/dist-packages/openerp/addons/base/ir/ir_attachment.py"








Conclusion:

Was able to fix this problem with a workaround: manually going into the database and removing the entries pointing to the missing files from filestoreDELETE FROM ir_attachment WHERE store_fname LIKE '%<the ending hash>%'


reference:
https://www.odoo.com/es_ES/forum/ayuda-1/question/solved-how-to-recover-deleted-attachment-files-from-filestore-folder-local-share-odoo-filestore-128453

Friday, April 19, 2019

Running Odoo and Postgres in separate container




Odoo:

version: '2'

services:
  app:
    image: skyguyver/odoo9_latest
    container_name: develop
    ports:
      - "3033:8069"
    volumes:
      - develop-data:/var/lib/odoo
      - ./addons:/mnt/extra-addons
    environment:
      - PYTHONUNBUFFERED=1
      - HOST=172.18.0.1
      - PORT=3032
      - USER=odoo
      - PASSWORD=odoo
    #command: openerp-server -d develop -u all

volumes:
  develop-data:


Postgres:

version: '2'

services:
  db:
    image: postgres:9.6
    ports:
      - "3032:5432"
    environment:
      - POSTGRES_USER=odoo
      - POSTGRES_PASSWORD=odoo
      - PGDATA=/var/lib/postgresql/data/pgdata
    volumes:
      - dbdata:/var/lib/postgresql/data/pgdata

volumes:
  dbdata:

Thursday, January 24, 2019

Error: Permission denied to access property "nodeName"

issue




https://github.com/odoo/odoo/commit/5bb7ffa2

1. copy the file from container to host
docker cp 12f4057cbf0c:/usr/lib/python2.7/dist-packages/openerp/addons/web_editor/static/src/js/summernote.js .

2. after edit the file, copy back to container
docker cp summernote.js 12f4057cbf0c:/usr/lib/python2.7/dist-packages/openerp/addons/web_editor/static/src/js






Eureka!

Wednesday, November 14, 2018

Odoo Warning - Validation Error


Problem:
































Solution: None
it turns out that the problem was the trigger. our DB admin created trigger :(

Monday, September 3, 2018

Wednesday, July 18, 2018

Odoo transcoder.js issue


Problem:


Solution:

docker cp transcoder.js vbroker_app:/usr/lib/python2.7/dist-packages/openerp/addons/web_editor/static/src/js



reference:
https://github.com/odoo/odoo/issues/22517

free online comma separating tool

https://delim.co/#