You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rémy Taymans f246aae0eb
Merge pull request #140 from beescoop/9.0-fix-shift-nextcoundown
4 years ago
admin_technical_features [ADD] add module activating technical feature 7 years ago
base_technical_features [FIX] fix test, it breask test openerp.addons.base_import.tests.test_cases: test_shallow to give default technical feature to admin 7 years ago
beesdoo_account S0041 : add date_invoice as required in vendor bills view 7 years ago
beesdoo_base [ADD] b_base : demo datas for generic and permanent users 4 years ago
beesdoo_coda [ADD] translation file for each individual module 8 years ago
beesdoo_crelan_csv [FIX] Import crelan use user lang to convert str balance to float 7 years ago
beesdoo_custom [IMP] beesdoo_custom: product as list rather than kanban 5 years ago
beesdoo_easy_my_coop [FIX] b_easy_my_coop: change dependencies order 4 years ago
beesdoo_inventory [IMP] beesdoo_inventory: add filter on add item to reciept 5 years ago
beesdoo_pos [ADD] b_pos : default customer barcode config 5 years ago
beesdoo_pos_remove_0_qty add description 6 years ago
beesdoo_product [FIX] b_product: Show same field on product.template and product.product 4 years ago
beesdoo_project [ADD] translation file for each individual module 8 years ago
beesdoo_purchase [FIX] b_purchase: Post migration script 5 years ago
beesdoo_purchase_manual_date_planned [ADD] b_purchase_manual_date_planned : init for null values 4 years ago
beesdoo_report [FIX] Warning on runbot 7 years ago
beesdoo_shift [FIX] beesdoo_shift: Next countdown infinite loop 4 years ago
beesdoo_stock [IMP] b_stock: Manifest 5 years ago
beesdoo_website_eater [ADD] website_eater: Information about eaters 6 years ago
beesdoo_website_portal [ADD] b_w_portal: Total pos order amount for a user 4 years ago
beesdoo_website_posorder_amount [ADD] b_w_portal: Total pos order amount for a user 4 years ago
beesdoo_website_shift [IMP] b_shift : attendance sheet generation time configurable 4 years ago
beesdoo_website_theme [ADD] website_theme: h3 title design 6 years ago
mass_editing [ADD] Mass editing module 7 years ago
partner_firstname [FIX] Change label on different firstname and last name and name field to make them easier to differianciate 5 years ago
pos_access_right [CLEAN] Remove pyc file and fix the compute field 7 years ago
pos_keyboard [ADD] pos_keyboard module from https://github.com/yelizariev/pos-addons 8 years ago
pos_price_to_weight Merge branch '9.0' into 9.0 7 years ago
web_environment_ribbon [ADD] OCA env ribbon + [FIX] for v9 8 years ago
.gitignore [INIT][SPEC1001] First module task modification 9 years ago
Dockerfile fix: dockerfile 5 years ago
README.md [FIX] readme: Add missing repos in config section 5 years ago
docker-compose.yml chore: add docker file 5 years ago
install-odoo-linux-server.md marcdown linux conf and move brew commands to mac conf` 6 years ago
install-odoo-linux.md md format 6 years ago
install-odoo-mac.md Update install-odoo-mac.md 6 years ago
requirements.txt fix: dockerfile 5 years ago

README.md

Obeesdoo

Specific module for the Beescoop

Install odoo

Setup obeesdoo

1) clone repos
$ cd projects
$ git clone https://github.com/beescoop/Obeesdoo.git obeesdoo -b 9.0 --depth 1
$ git clone https://github.com/coopiteasy/vertical-cooperative.git vertical-cooperative -b 9.0 --depth 1
$ git clone https://github.com/coopiteasy/addons.git addons -b 9.0 --depth 1
$ git clone https://github.com/coopiteasy/procurement-addons procurement-addons -b 9.0 --depth 1
$ git clone https://www.github.com/OCA/l10n-belgium -b 9.0 --depth 1
$ git clone https://www.github.com/OCA/mis-builder -b 9.0 --depth 1
$ git clone https://www.github.com/OCA/account-financial-tools -b 9.0 --depth 1
$ git clone https://www.github.com/OCA/account-financial-reporting -b 9.0 --depth 1
$ git clone https://www.github.com/OCA/web -b 9.0 --depth 1
$ git clone https://www.github.com/OCA/website -b 9.0 --depth 1
$ git clone https://github.com/OCA/server-tools -b 9.0 --depth 1
$ git clone https://github.com/OCA/reporting-engine -b 9.0 --depth 1

todo: setup git submodules

2) install wkhtmltopdf

Download and install wkhtmltopdf version 0.12.1

3) set up the database and import production data.
$ createuser -d odoo
$ createdb beescoop -o odoo
$ gunzip <dump-file>.sql.gz
$ psql beescoop < <dump-file>.sql
4) deactivate cron jobs and mails
$ psql -d beescoop -c "UPDATE ir_cron SET active='f' WHERE active='t';"
$ psql -d beescoop -c "update ir_mail_server set smtp_encryption='none', smtp_port=1025, smtp_host='localhost',smtp_user='', smtp_pass='';"
$ psql -d beescoop -c "UPDATE fetchmail_server SET active='f', password='', server='localhost';"
5) create odoo.conf
$ export ODOO_HOME='~/projects'
$ vi $ODOO_HOME/odoo.conf
[options]
; This is the password that allows database operations:
; admin_passwd = admin
debug=True
dev=True
db_host=False
db_port=False
db_user=odoo
db_password=False
addons_path=addons,openerp/addons,
    $ODOO_HOME/obeesdoo,
    $ODOO_HOME/vertical-cooperative,
    $ODOO_HOME/addons,
    $ODOO_HOME/procurement-addons,
    $ODOO_HOME/l10n-belgium,
    $ODOO_HOME/mis-builder,
    $ODOO_HOME/web,
    $ODOO_HOME/website,
    $ODOO_HOME/server-tools,
    $ODOO_HOME/reporting-engine,
    $ODOO_HOME/account-financial-tools,
    $ODOO_HOME/acconut-financial-reporting
6) update database structure
$ cd ~/projects/odoo
$ psql -d beescoop -c "truncate product_scale_log"
$ python odoo.py -c $ODOO_HOME/odoo.conf -u all -d beescoop --stop-after-init

Troubleshoot

Missing libraries

pip install pycoda
pip install xlsxwriter

Can't update product_scale_log table (I did not write down the exact error)

truncate table product_scale_log

Migrate barcode

insert into member_card (active, barcode, partner_id, responsible_id, activation_date) select 't', barcode, id, 1, '2016-01-01' from res_partner where barcode is not null;
update res_partner set eater = 'worker_eater' where barcode is not null;