How To Add Custom Addons Path in Odoo
HTML-код
- Опубликовано: 19 июл 2019
- #odootutorials #odoodevelopment #odoobasics
Odoo Development Tutorial: How to add custom addons path inside Odoo.
For this you have to create a new folder and specify the folder inside the odoo.conf file(configuration file). After that you can place the custom modules inside this folder - Наука
i dont have odoo.conf in oddo12. i have a config.txt file. shall i give it there? Also when adding custom_addons folder its showing i dont have permission to add folder
Log in with the user who have full permission and see. If you are not able to see conf file, you can create one and add the details in it
I am using odoo 13, i don't have odoo.conf file in it, so i just created a file inside the odoo folder! and pasted the code [options]
; This is the password that allows database operations:
admin_password=admin
db_host=localhost
db_port=5432
db_user=admin
db_password=admin
addons_path=/home/odoo/addons,/home/odoo/custom_addons
xmlrpc_port = 8069
but after restarting it still does not update or any any custom module to odoo 13, i am looking for the help !
Shall we connect over sceen sharing application and see
Ive the same problem. did you find a solution?
@@MrArian2 i just used the same addon path where odoo own modules are present
I am using odoo 8 but I want my project in odoo 13 ...when I install odoo 13 and used my project at the time of running then how I used my addons which I already used in odoo 8 for my project..
You have to migrate those modules to v13
@@OdooMates yes I already migrate that addons but I got error...keyerror='transient'...like this how I solve this error
Key error can be of multiple reasons, it can be traced only by checking the codes
@@OdooMatesit occur in customemodel class
Check the usage of transient inside corresponding module/file
i am unable to find odoo.conf file ? shall i create custom file and past code?
Check inside the etc folder
@@OdooMates I found inside the etc odoo.conf ,odoo11.conf,odoo11.conf i changed path with this path /opt/odoo/odoo11/addons,/opt/odoo/odoo11/custom_addons but not working
@@OdooMates thank you its work right now :)
In my idol.conf file there are many lines not like urs
yes, its not problem, in our example, we have only minimum parameters in the conf file
just tell me how to set addons path for every project in odoo
depends on how you managed to run odoo
good voice
we are planning to remake it soon
@@OdooMates Sooner the better
Are u using Odoo12?
yes,
I don't see odoo.conf file in Odoo 13. Do you have any idea how to set this up in Odoo 13? Thanks in advance.
You can create a file in the given name
@@OdooMates I did not understand. Should we write a new file in the base folder, named odoo.conf (is that a txt?), and then write the addons_path? There is a conf folder in the odoo folder inside odoo-13, and there is a __init__.py file where there is an empty list names after "addons paths", so I guess we could add the paths there instead of creating a brand new file, am I right?
definitely muting the audio
Issue with audio ?
@@OdooMates yeah, sounds masked!
@@bondstar927 Sorry for the trouble, we have improved the audio quality in the latest videos.
@@OdooMates thank you guys
What happened to the audio
Something went wrong, we will release the video soon, Thanks for notifying us :) and sorry for inconvenience caused
@@OdooMates ahhhh I see Its fine bro
@@buddybob5502 Thanks for understanding
Thank you for your video. You can share code _school for me. :< thanks a lot
apps.odoo.com/apps/modules/12.0/om_hospital/
@@OdooMates many thanks