1
0
Fork 0
Odoo Point of Sale - PoS - Distribution. Dockerfiles and Kubernetes Configuration
This repository has been archived on 2022-08-09. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Tobias Brunner 74152f7b34 revert number size 2019-07-06 13:57:51 +02:00
backup regular backup with restic 2018-08-05 12:27:38 +00:00
docs some screenshots 2019-06-30 17:02:33 +02:00
iotbox cashbox over network printer w/ hardcoded ip 2019-06-30 16:53:35 +02:00
monitoring monitoring based on checkup 2018-08-05 15:49:46 +00:00
odoo revert number size 2019-07-06 13:57:51 +02:00
.gitignore monitoring based on checkup 2018-08-05 15:49:46 +00:00
README.md update README 2019-06-30 17:05:36 +02:00
checkup.json.example monitoring based on checkup 2018-08-05 15:49:46 +00:00
docker-compose.yml set hostname 2019-06-27 22:47:28 +02:00

README.md

Odoo IoT Bock in Docker

Dockerfiles and Docker Compose configuration for running Odoo IoT Box in Docker.

Additionally it contains pos-addons for using receipt printers over the network.

Quickstart

  1. docker-compose up
  2. Connect to Odoo and create a new database
  3. Install Odoo Apps:
  • "Point of Sale"
  • "POS Network Printer"
  1. (Enable "Developer mode" under Odoo settings)
  2. Configure PoS for IoT Box (see docs/iotbox-config.png)
  3. Configure Order Printer (see docs/orderprinter.png)

Backup configuration

Example contents of backup.env:

RESTIC_REPOSITORY=rclone:myremote:posbackup
RESTIC_PASSWORD=extremelysecurepassword
RCLONE_CONFIG_FWUCLOUD_TYPE=webdav
RCLONE_CONFIG_FWUCLOUD_URL=https://nextcloud.example.com/remote.php/webdav/
RCLONE_CONFIG_FWUCLOUD_VENDOR=nextcloud
RCLONE_CONFIG_FWUCLOUD_USER=backupuser
RCLONE_CONFIG_FWUCLOUD_PASS=encryptedpassword
PGDATABASE=odoodbname

Restore of DB:

createdb -T template0 restoretest
pg_restore -d restoretest /data/odoo_data.dump

Notes

  • Connection from PoS Tablet to IoT Box is a direct connection, not via Odoo server!
  • Support for opening the cashbox via network printer has been patched. The IP is hardcoded to 192.168.233.3. See 0c6ecfdd and #730.