跳至内容
菜单
此问题已终结
3 回复
4720 查看

I am new to odoo so forgive the question. I am trying to install this add-on and having some issues https://apps.odoo.com/apps/modules/12.0/accounting_pdf_reports/

I have done a good bit of searing on this and found instructions on copying the third party app to the /otp/odoo12/odoo-custom-addons directory then changing the owner and file permissions of the directory using the following

sudo shown -R odoo12:odoo12 odoo-custom-addons

sudo chmod -R 775 odoo-custom-addons

I then restarted my server and entered developer mode and navigated to Apps and selected Update Apps List however no new app showed up and the new reports are not avalible. I am sure I am missing something small but I can't find anything else in any of the posts. Thanks in advance for any help.

EDIT: For anyone else that finds this post here is what I have learned.

For logging to work you have to set up the file to log to and enable logging.

bash#mkdir -p /var/log/openerp/
bash#touch /var/log/openerp/openerp-server.log
bash#chown odoo12 /var/log/openerp/openerp-server.log
bash#chmod 644 /var/log/openerp/openerp-server.log

also third party apps when placed in either app folder or at least this app doesn't register as an app so when you go to the apps section you have to remove the filter to see it and install it.

形象
丢弃
编写者

Where do i find the logs? I have found this info http://www.erpish.com/odoo/how-to-print-debug-messages-in-odoo-server-log/ however after setting the log level in the config file i don't see the odoo-server.log file on my server.

最佳答案

Hi,

Definitely the issue might be with the custom addons path, to make sure you can add the third party module inside the default addons path and try, whether it is coming in the apps menu or not.

Also make sure that the service is restarted after adding the module.

Thanks 

形象
丢弃
编写者 最佳答案

See edit in original post

形象
丢弃
最佳答案

Did you check the log? Maybe it did not install because of errors.

形象
丢弃