Obeesdoo Save

This repository is used for all the developments to customize Odoo for the cooperative supermarket BEES coop.

Project README

Pre-commit Status Build Status codecov


Specific module for the Beescoop The (french) documentation can be found here. Contact Coop IT Easy or Coopdevs to contibute to the documentation.

Available addons

addon version maintainers summary
beesdoo_account - Makes date_invoice field required in account.invoice_form and account.invoice_supplier_form - Allow validating an invoice with a negative total amount
beesdoo_base Module that customize the base module and contains some python tools
beesdoo_crelan_csv Import Crelan CSV Wizard
beesdoo_easy_my_coop Link between beesdoo customization and easy_my_coop
beesdoo_inventory Adds a responsible, a max shipping date and a button to copy quantity to stock pickings.
beesdoo_pos This module adds the eaters of the customer to the POS ActionpadWidget and PaymentScreenWidget.
beesdoo_pos_coop_status POS Support for cooperator status.
beesdoo_pos_email_ticket This module adds the eaters of the customer to the POS ActionpadWidget and PaymentScreenWidget.
beesdoo_pos_reporting Enhance POS with features allowing statistics and reporting.
beesdoo_product Modification of product module for the needs of beescoop
beesdoo_product_info_screen Adds a read-only screen to display product information
beesdoo_product_usability Adapt the product views.
beesdoo_purchase Enhancements related to Purchase module : field, filter, PO reference, product's purchase and/or selling price
beesdoo_shift Generate and manage shifts for cooperators.
beesdoo_shift_attendance Volonteer Timetable Management Attendance Sheet for BEES coop
beesdoo_stock Enable action on multiple products of a stock receipt
beesdoo_stock_coverage Compute estimated stock coverage based on product sales over a date range.
beesdoo_website_eater Show the eaters of a cooperator in the website portal.
beesdoo_website_posorder_amount Show the total amount of pos order in the website portal.
beesdoo_website_shift Show available shifts for regular and irregular workers on the website and let workers manage their shifts with an easy web interface.
beesdoo_website_theme Apply BEES coop design rules.
beesdoo_worker_status Worker status management specific to beescoop.
macavrac_base Module with basic customizations for the Macavrac cooperative.
polln_shift Module with basic customizations for the Polln cooperative.
purchase_order_generator Generate purchase order from a product selection
website_portal_restrict_modification Portal extension preventing modification of sensible data by the users

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 (deprecrated)

Setup obeesdoo (deprecrated)

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/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
; This is the password that allows database operations:
; admin_passwd = admin
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


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;


This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to Coop IT Easy SCRLfs policy. Consult each module's __manifest__.py file, which contains a license key that explains its license.

Open Source Agenda is not affiliated with "Obeesdoo" Project. README Source: beescoop/Obeesdoo