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 d93d80efb0
Merge pull request #187 from coopdevs/12.0-icon-beesdoo-shift
1 year ago
beesdoo_account [IMP] beesdoo_account: black formatter (-l 79 -t py35) 1 year ago
beesdoo_base [FIX] beesdoo_base: partner form heritage 1 year ago
beesdoo_crelan_csv [REF] various flake fixes 1 year ago
beesdoo_easy_my_coop Merge pull request #158 from beescoop/12.0-beesdoo-easymycoop-fix 1 year ago
beesdoo_inventory [REF] remove unused imports 1 year ago
beesdoo_pos [12.0][ADD] beesdoo_pos: available_in_pos management 1 year ago
beesdoo_pos_reporting [REF] pre-commit fixes 1 year ago
beesdoo_product [FIX] strong typing required when comparing values in python3 1 year ago
beesdoo_product_usability [REF] prevent "same label" warning 1 year ago
beesdoo_purchase [IMP] beesdoo_purchase: fr / fr_BE / fr_CH .po files 1 year ago
beesdoo_shift Merge pull request #187 from coopdevs/12.0-icon-beesdoo-shift 1 year ago
beesdoo_shift_attendance Merge pull request #187 from coopdevs/12.0-icon-beesdoo-shift 1 year ago
beesdoo_stock Added protocol to beesdoo_stock website url 1 year ago
beesdoo_stock_coverage [FIX] b_stock_coverage: compute coverage fails on article creation 1 year ago
beesdoo_website_eater [REF] Error-prone use of @class, use the hasclass(*classes) 1 year ago
beesdoo_website_posorder_amount [REF] Error-prone use of @class, use the hasclass(*classes) 1 year ago
beesdoo_website_shift [FIX] b_w_shift: Missing sudo() to get parameter 1 year ago
beesdoo_website_theme [REF] pre-commit fixes 1 year ago
beesdoo_worker_status [FIX] b_worker_status: compute status extempted 1 year ago
initial-data-load [REF] blacken 1 year ago
macavrac_base [REF] remove unused imports 1 year ago
purchase_order_generator [FIX] purchase_order_generator: access rules 1 year ago
setup Added setup to upload to Pypi 1 year ago
website_portal_restrict_modification [ADD] w_p_restrict_modification: po file 1 year ago
.dockerignore [REF] blacken 1 year ago
.eslintrc [REF] remove unused imports 1 year ago
.flake8 [ADD] setup travis 1 year ago
.gitignore [ADD] setup travis 1 year ago
.isort.cfg [REF] remove unused imports 1 year ago
.pre-commit-config.yaml [REF] remove unused imports 1 year ago
.pylintrc [ADD] setup travis 1 year ago
.pylintrc-mandatory [ADD] setup travis 1 year ago
.travis.yml [REF] remove unused imports 1 year ago
Dockerfile [DOC] add partner-contact OCA module 2 years ago
README.md [REF] blacken 1 year ago
docker-compose.yml [FIX]: working dockerfile and docker-compose 2 years ago
install-odoo-docker.md [REF] blacken 1 year ago
install-odoo-linux-server.md [REF] blacken 1 year ago
install-odoo-linux.md [REF] blacken 1 year ago
install-odoo-mac.md Initial commit 2 years ago
oca_dependencies.txt [ADD] setup travis 1 year ago
odoo.conf [DOC] add partner-contact OCA module 2 years ago
requirements.txt Initial commit 2 years ago

README.md

Obeesdoo

Specific module for the Beescoop

Migration to 12.0

Do not migrate the following modules:

  • admin_technical_features
  • base_technical_features
  • beesdoo_coda
  • beesdoo_crelan_csv vérifier s'il n'existe pas dans l'oca.
  • mass_editing
  • pos_price_to_weigth Attention il y a eu des modification de Houssine.
  • web_environment_ribbon

Install odoo

Setup obeesdoo

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

todo: setup git submodules

2) install wkhtmltopdf

Download and install wkhtmltopdf version 0.12.5

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/partner-contact,
#    $ODOO_HOME/procurement-addons,
    $ODOO_HOME/l10n-belgium,
    $ODOO_HOME/mis-builder,
    $ODOO_HOME/web,
    $ODOO_HOME/website,
    $ODOO_HOME/server-tools,
    $ODOO_HOME/account-financial-reporting,
    $ODOO_HOME/account-financial-tools,
    $ODOO_HOME/bank-payment,
    $ODOO_HOME/pos,
    $ODOO_HOME/reporting-engine
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;