OdooWiki OCA HUB
Lodging License: AGPL-3

This module adds a wizard to create a donation from a stay.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets you record a donation directly from a guest stay and see the total donated per stay. It adds a Create Donation button on stays and shows donation totals on stay forms and lists.

This module links guest stays with donations, so you can record a gift given during a stay without leaving the stay record.

On a stay form, a "Create Donation" button appears once the stay is no longer in draft or cancelled. It opens a small window where the stay, company and guest are pre-filled; you enter the payment mode, currency, amount, donation date and an optional payment reference. When you confirm, a donation is created and linked to the stay, and a note is added to the donation saying it came from that stay.

A smart button on the stay shows the total donated amount and opens the related donations. Stay lists can show the donation total and number of donations, and you can filter stays with or without donations. Donations also gain a Stay field, a column in the donation list, and filters for donations linked or not linked to a stay.

In Settings, under the stay section, you choose the product and campaign used for stay donations. The amount must be positive, and the product must be configured, otherwise an error is shown. Only draft and confirmed donations count towards the stay totals.

Depends on

Models and fields (5)
  • stay.stay · extends an existing modeldonation_ids (Donations), donation_count (Number of Donations), donation_total, company_currency_id (Company Currency)
  • res.company · extends an existing modeldonation_stay_product_id (Product for Stay Donations), donation_stay_campaign_id (Campaign for Stay Donations)
  • donation.donation · extends an existing modelstay_id (Stay)
  • res.config.settings · extends an existing modeldonation_stay_product_id, donation_stay_campaign_id
  • donation.stay.create · new modelamount (Donation Amount), stay_id (Stay), company_id (Company), partner_id (Guest), currency_id (Currency), payment_ref (Payment Reference), date_donation (Donation Date), payment_method_line_id (Payment Mode)

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/vertical-abbey.

terminal Installation and usage

OCA documentation · Odoo 18.0

This module adds a button Create Donation on the form view of a stay. This button starts a wizard to easily create a draft donation. Then the user will have to validate the donation.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.