Skip to content

Vendon Sync Setup

Repository update

add in odoo.conf: /opt/odoo/extra-addons/src/addons/nexumx42

  • Switch to the latest tag: (at the moment it’s: 17.0.1.4d-9)
  • git submodule update
  • restart odoo
  • actualize apps list
  • install module: vendon_api
  • run poteryashki script:
docker exec postgresql14 psql -U vendixtest -d vendixtest -f /var/lib/postgresql/data/backups/poteryashki_fix_nexum.sql

Switch to FreshFood24 company

All following actions should be done from the FreshFood24 company.

POS Configuration

Rename Shop to “Shop-FreshFood24” in kassensystem

  • At the top, “Ist eine Bar/ein Restaurant” - should be unchecked, but!!
    • check it once and save - it’ll install required modules
    • uncheck it
  • At the bottom, Lager section, “In Echtzeit (genau, aber langsamer)” - select this radio checkbox

Payment methods

  • Cash (FreshFood24) - “Bargeldkontrolle deaktivieren” - check

Template Warehouse

Inventory -> Configuration -> Warehouses (Lager - Konfiguration - Lagerhäuser)

Create a New warehouse:

  • Name: FreshFood24 GmbH - Template
  • Short Name: FFTEM
  • Manufacture to Resupply (Zur Nachlieferung fertigen): Uncheck
  • Buy to Resupply (Zur Nachlieferung einkaufen): Uncheck
  • Save form! or the next settign won’t appear!
  • Resupply From (Nachlieferung aus): FreshFood24 GmbH - Check

Vendon Template

Austrustng / Einstellungen / Equipment item template / Vendon template
  • Select POS Config template: “Shop-FreshFood24 (nicht verwendet)”
  • Copy payment methods: Cash
  • Reference payment methods: Bank
  • Create warehouse: check
  • Warehouse template: FreshFood24 GmbH - Template

After save, open “FreshFood24 GmbH - Template” and “archive” it.

Taxes and categories

Verkauf / Konfiguration / Product categories
  • All
    • Ertragskonto: 8400 Erlöse 19 % USt -> Standardsteuern: remove “19% (Verkauf)” and select “19% INC (Verkauf)
    • Rename All -> All (19%)

Copy “All (19%)” to “All (7%)

  • All (7%)
    • Ertragskonto: 8300 Erlöse 7 % USt -> Standardsteuern: remove “7% (Verkauf)” and select “7% INC (Verkauf)
    • Aufwandskonto: 3300 Wareneingang 7 % Vorsteuer

External API connection

External API connections / Vendon API /
  • Company: FreshFood24
  • On the “Authorization” tab: paste token “<token>”
  • On the “Provider” tab:
    • 7 - All (7%)
    • 19 - All (19%)
  • Enabled: check

START Sync

  • Press button “Tags Sync” (Created 9: updated: 0).
  • Press button “VUs Sync” (Created: 41, Updated: 0).
  • Press button “Events Sync” (Created: 249, Updated: 0).

Set last order sync date

On the main page, “Last Sync Orders Date”: set to today: 00:00:00

Make sure that all sessions are started!!

Press button “Orders Sync”, it’ll show a message: (Created: 46, Updated: 0)

Check that all sessions are able to close

Einstellungen / Technich / Geplante actionen / Auto Close Opened Sessions

Close all sessions and check that they’re indeed all closed.

Check that all orders are in “Gebucht” state

Kassensystem / Auftrage / Auftrage / group by “Status” - All orders should be in “Gebucht” state.

Open sessions

Einstellungen / Technich / Geplante actionen / Auto Open Sessions

Hide template in products

Lager / Konfiguration / Routen

Find route “FreshFood24 GmbH - Template: Produkt nachliefern aus FreshFood24 GmbH” and uncheck:

  • Produktkategorien
  • Produkte

Set cron execution time to every 5 min

  • Open cron “Auto Open Assigned Sessions”, set “Execution time” (“Ausführen alle”) to 5 munutes
  • On the “Code” tab at the bottom, replace the code with the following code: model.open_assigned_sessions(False)
  • Set “Next Execution Date” (“Nächstes Ausführungsdatum”) to 5 minutes from now

Separate stock move (dont’t do it! TAS decided against it)

Inventory => Settings (Lager / Konfiguration / Einstellungen) Separate Stock Move: Check