







psql -d template1
createdb
psql -h localhost
rm the above
brew doctor
brew update
then
brew install wkhtmltopdfworksEven in cases where cooperation is intended, misunderstandings and personality incompatibilities can result in an extremely chaotic and hostile environment. Catalysts help prevent and resolve misunderstanding, calm the waters when users have difficulties dealing with each other and provide examples of constructive behavior in environments where such behavior might not otherwise be the norm.reference:https://freenode.net/catalysts.shtml
https://mig5.net/content/adding-yubikey-2-factor-authentication-ssh-and-sudo-debian
PATH=/usr/local/bin;
cd /usr/local/bin && ln -s /Applications/wkhtmltopdf.app/Contents/MacOS/wkhtmltopdf wkhtmltopdfreference:http://stackoverflow.com/questions/10375168/how-to-install-and-run-wkhtmltopdf-on-mac-osx-10-7-3-for-use-in-a-php-applicatio# -*- coding: utf-8 -*-
marker telling python interpreter that this field has UTF-8,
it can expect and handle non-ASCII characters.
safer
1 . remove the public under the user's settings, won't have another sign in after user sign in afready. 2nd time: created via sign up ( template user) also correct, the book says almost every one owns the employee right, while, with employee after sign in, there would be black admin bar on top. newly signed up template users, no. seems, alright. remove the inheritance of own leads, under website user |
session_read git clone --depth 1 https://github.com/odoo/odoo.git -b 9.0 odoofresh/etc/vhosts add127.0.0.1 http://odoofresh.od.devno restart neededsubdomain is the db name,python openerp-server -c openerp-server.conf
curl -s -D - http://odoo9.od.dev:9069/
Canada - Accounting
first module to install, before install any modulesto be able to check outhttp://odoo.od.dev:8069/ 500 internal server errorthis instance failed due to the messed up steps herechmod +x /usr/local/bin/brew-services.rbbrew services stop postgresqlbrew servicesstart postgresqllunchy start postgreslunchy stop postgres
better not use django for ecommerce
for selling digital stuff, like selling how much storage each insitution needs,
need api, use strip
otherwise, for purchasing
for low volume, both are 3%
######################################################################
pycharm, add the /usr/local/bin env path so that the libs installed such as lessc can be found
Odoo 8 can set up configrable public category tree, paypal is fine
######################################################################
encrypt the apache pwd:then put it in to .htpasswd
############### if set up multiple dbs with odoo ###############
do not install ecommerce,
otherwise have to use the dbfilter (conf, regex to call the configs in the /etc/host
in etc/host
have to use the db name as the domain name
do not touch the core:
openerp addons -> base -> res
pycharm: Edit configuration:
script: /user/jing/Sites/odoo/openerp-server
script paramters: -c openerp-server.conf
env path
add PATH=/usr/local/bin
python interpreter ~/Sites/odoo-env
working dir root dir
######################################################################
https://github.com/odoo/odoo.git
multiple installation
git clone --depth 1 https://github.com/odoo/odoo.git odoo9
db name is my subdomain
/etc/hosts
127.0.0.1 odoo.od.dev
127.0.0.1 odoo9.od.dev
add the
db_filter = ^%d$
xmlrpc_port = 9069
proxy not needed, only if behind apache or nginx
into the openerp-server.conf file,
same command to start the server:
loaded the old odoo database
http://odoo9.od.dev:9069/web/database/manager
delete the db,
then create a new db called odour
after wards,
go to the apps backend control panel
search Canada
install Accounting Canada first
######################################################################
cached browsers, clear the cache, then select db first
admin jing
apps: ecommerce
only after install commerce have a front end site to purchase have home page
Add COD and PO number
######################################################################
not restore the db yet:
create a duplicated db:
Applications/pgAdmin3.app/Contents/SharedSupport/pg_dump --host localhost --port 5432 --username “jing" --no-password --format custom --verbose --file "/Users/jing/Documents/odoobackup" "odoo"
http://get.enterprisedb.com/docs/Tutorial_All_PP_pgAdmin_Backup_Restore.pdf
# ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents # launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
brew install freetype jpeg libpng libtiff webp xz
pip install virtualenv
cd ~/Sitesvirtualenv odoo-env. odoo-env/bin/activate################################################################################if opened the new terminal has to activate the env. ~Sites/odoo-env/bin/activateor . odoo-env/bin/activate depend on where u r###################################################which python
pip install -r requirements.txt
pip install flanker