Odoo WuBook integration

WuBook Connector

WuBook for Odoo 19: rooms, availability, prices and restrictions out to WuBook, reservations from every channel back in as sales orders

What it does

WuBook Wired API - Rooms and pricing plans - Availability, rates, restrictions - Reservations to sales orders - Push notifications

WuBook is the channel manager behind many small hotels and guest houses: it sends rooms and rates to Booking.com, Expedia, Airbnb and the other OTAs and collects their reservations. This module connects an Odoo company to a WuBook property through the Wired API. Odoo reads the rooms, the pricing plans and the restriction plans. You change availability, prices, minimum and maximum stay and closures for a range of dates in Odoo, and the changes go to WuBook in one batched call per kind, as WuBook asks integrators to do. Reservations come back as WuBook bookings with guest, rooms, nights and the price per night, and as a sales order. A modified OTA booking cancels the old quotation and creates the new one; a cancelled booking cancels a quotation, and a confirmed order is never touched without you.

Who it is for

  • Small hotels and guest houses whose OTAs run through WuBook. WuBook keeps distributing your rooms to Booking.com, Expedia, Airbnb and the rest. Odoo collects every reservation from WuBook as a booking record and a quotation, so the front desk and accounts work from the same data.
  • Revenue managers changing rates for a season. Change Rates and Availability lets you pick rooms, a date range and weekdays, then tick what to change: availability, No OTA, price, minimum or maximum stay, closed, closed to arrival or closed to departure. The changes are batched into one call per kind.
  • Accounting teams invoicing OTA stays. Each booking becomes a sales order in the booking currency with one line per room, nights and the price per night, so invoices come from Odoo without retyping amounts from the extranet.
  • Properties that see frequent changes to OTA bookings. When a guest edits an OTA booking, WuBook cancels it and issues a new code. Odoo cancels the old quotation, creates a new one and links the two bookings, while a confirmed order is left for you to handle.

Features

Rooms and plansrooms with occupancy, default price and availability, virtual rooms and price anchors; pricing plans and daily or compact restriction plans
Room productsone service product per room, or map your own
Availability outavailability and No OTA per room and day, sent with update_avail in one call for all rooms
Prices outprices of the chosen daily pricing plan, sent with update_plan_prices
Restrictions outmin stay, max stay, closed, closed to arrival, closed to departure, sent to the chosen daily restriction plan
Change a date rangepick rooms, dates and weekdays, tick what to change, apply; changes wait as To Send or go at once
Read the calendarcurrent availability and plan prices read from WuBook for the days ahead
Reservations innew, modified and cancelled reservations with guest, channel code, rooms and price per night; marked as read only after Odoo stored them
Sales ordersa quotation per booking in the booking currency, optional confirmation, modifications and cancellations followed
Guestsmatched by email within the company of the property, or created as contacts
Push notificationsWuBook calls a secret address with the reservation code; Odoo reads the reservation back from WuBook
Safe startIgnore Existing Reservations marks old bookings as read so only new ones arrive

Setting it up

  1. In your WuBook account generate the permanent Wired token and note the property ID (lcode). Register as an integrator with WuBook by email before going live.
  2. Open Sales > WuBook > Properties, create a property, enter the Property ID and Wired Token and press Load Rooms and Plans.
  3. Press Create Missing Products so each WuBook room gets a service product, or map your own products on the Rooms tab.
  4. Choose the daily Pricing Plan and Restriction Plan that should receive your changes, and decide on Create Sales Orders and Confirm Sales Orders.
  5. If WuBook already holds old bookings you don't want in Odoo, press Ignore Existing Reservations, then Fetch Reservations.
  6. Press Turn On Notifications so WuBook calls Odoo when a reservation arrives, and manage prices and stays from Sales > WuBook > Rates and Availability.

WuBook Connector: questions

Does Odoo work out availability from its own sales orders?

No. Availability is the number you set in Odoo or read from WuBook with Read Calendar. WuBook lowers it as it takes reservations, and Odoo only sends the days you changed.

How often does Odoo talk to WuBook?

Pushed reservation codes are read within the hour, and a two-hourly scheduled action sends pending changes and fetches reservations. Send Changes and Fetch Reservations do the same at once.

Can I cancel an OTA booking from Odoo?

Only direct bookings can be cancelled from Odoo, with Cancel at WuBook. WuBook requires OTA bookings to be cancelled on the OTA, and Odoo then picks up the cancellation.

Is the push notification address secure?

WuBook does not sign its calls, so the URL contains a long random secret. Odoo uses only the reservation code from the call and reads the reservation from WuBook itself.

What do I need to buy from WuBook?

A WuBook account for the property with Wired API access. The module itself runs on Odoo 19 Community or Enterprise with the Sales app.

Can I try it before connecting a real property?

Yes. Tick Demo Mode on the property and Odoo answers like the Wired API without any network call, which is handy for training staff.