This question has been flagged
3 Replies
3128 Views

Hi !
i install odoo v16 on Ubuntu 20.04, add all App that i need and edit the new Website.

I will install new App, "Odoo 16 Accounting" from apps.odoo.com.

Copy all Data in Directory addon, klick in the left top Corner Main Menue, APPS and than UPDATES!

i recive this error:

An error occurred

Please use the copy button to report the error to your support service.

See detailsUncaughtPromiseError > TypeError

Uncaught Promise > Cannot read properties of undefined (reading 'writeText')

TypeError: Cannot read properties of undefined (reading 'writeText')
    at ClientErrorDialog.onClickClipboard (http://proddekogardina.webneu.ch/web/assets/debug/web.assets_backend.js:6468:37) (/web/static/src/core/errors/error_dialogs.js:36)
    at Object.mainEventHandler (http://proddekogardina.webneu.ch/web/assets/debug/web.assets_common.js:21654:25) (/web/static/lib/owl/owl.js:5484)
    at HTMLButtonElement.listener (http://proddekogardina.webneu.ch/web/assets/debug/web.assets_common.js:16504:20) (/web/static/lib/owl/owl.js:334

my odoo config

[options]
admin_passwd = xxxxxxxxxxxxxxxxxxxx
db_host = False
db_port = False
db_user = odoo16
db_password = False
addons_path = /odoo/odoo-server16/addons
logfile = /var/log/odoo/odoo.log


Postgres 

postgres=# \l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
-----------------+----------+----------+-------------+-------------+-----------------------
dekogardinaprod | odoo16 | UTF8 | C | en_US.UTF-8 | =Tc/odoo16 + 

                                                                                           odoo16=CTc/odoo16

thaks for you help

Philip


Avatar
Discard

Hi,
Can you make sure that you are using the latest code of odoo 16

Author

Yes, downlode from GITHUBthanks



Best Answer

You must restart your Odoo Server everytime you make changes in your apps at addons' directory.

Using Debian:

 - Go to your terminal and type 'workon ', and than type 'systemctl restart odoo'.

 - Now you can 'klick in the left top Corner Main Menu, APPS and than UPDATES'.

Avatar
Discard
Best Answer

Hi,

This is a known bug in Odoo 16 an it has been already reported to Odoo.

Until they fix you can manually upload modules in to your custom addons directory and click Update App List button, which will show the apps.

Hope this will help you
Thank you

Avatar
Discard
Author Best Answer

i install Odoo 16 on other Server, whit git clone

git clone https://github.com/odoo/odoo.git --depth 1 --branch 16.0 --single-branch odoo-server

i get the same error message


i delete the odoo installation and directory, and install odoo from repository

apt install odoo


the same error !

Avatar
Discard