I'm following this tutorial "Building a Module" from the Odoo Developer Documentation: https://www.odoo.com/documentation/13.0/howtos/backend.html
I'm able to set-up a module through:
python odoo-bin scaffold openacademy addons
. And it successfully creates a subdirectory containing a bunch of standard files for a module in my addons directory.
Then going thru the tutorial, codes have been added/edited in some of the files; hence, a certain command to save these changes must be invoked:
python odoo-bin -u openacademy
. However, it seems to be not working as my terminal simply freezes. The terminal doesn't start a new line, so I have to 'Ctrl+C'.
I also noticed that 'odoo-bin' also have the same response(freezing terminal) upon invoking other commands such as:
python odoo-bin -c odoo.conf
python odoo-bin -r dbuser -w dbpassword --addons-path=addons -d mydb
I also suspect that it would be the same case with other more commands
To wrap it up, the 'odoo-bin' command only works with the 'scaffold' sub-command. But with other commands, it causes the terminal to freeze eternally, unless you 'Ctrl+C'
I'm confused. Can somebody help me?
-u
, you need-d
. odoo.com/documentation/13.0/reference/cmdline.html – Pyaepython odoo-bin -u openacademy -d test
, where 'test' is the name of my PostgresSQL database. The result is still the same, the terminal freezes. – Jeffrey Cruz Lozano