TIP: You can type at any time to perform a new search.
Donation Stay
donation_stay · OCA/vertical-abbey
- Repository
- OCA/vertical-abbey · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Lodging
- Folder size
- 0.08 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/vertical-abbey
- Last tracking update
- 2026-08-07 08:43:07
- Authors
- Akretion, Odoo Community Association (OCA), Barroux Abbey
- Maintainers
- Akretion, Odoo Community Association (OCA), Barroux Abbey
- Committers
- Alexis de Lattre, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- xlsxwriter
- System dependencies
- None
- Required by
- None
- Description
This module adds a wizard to create a donation from a stay.
Code Analysis ⓘ
Views touched (8)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
create_donation_stay_form |
donation.stay.create.form | donation.stay.create | form | New |
donation_form |
donation.donation | form | Inherits donation.donation_form | |
donation_search |
donation.donation | search | Inherits donation.donation_search | |
donation_tree |
donation.donation | tree | Inherits donation.donation_tree | |
res_config_settings_view_form |
donation_stay.res.config.settings.form | res.config.settings | form | Inherits stay.res_config_settings_view_form |
stay_add_donation_form |
add.donation.from.stay.form | stay.stay | form | Inherits stay.stay_form |
stay_search |
donation.stay.search | stay.stay | search | Inherits stay.stay_search |
stay_tree |
donation.stay.tree | stay.stay | tree | Inherits stay.stay_tree |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (5)
New fields (1)
-
stay_idMany2one → stay.staycheck_company=Truecopy=Falsedomain=[('state', '!=', 'draft')]string='Stay'tracking=True args: 'stay.stay'
No public methods.
New fields (8)
-
amountMonetarycurrency_field='currency_id'required=Truestring='Donation Amount' -
company_idMany2one → res.companyrequired=Truestring='Company' args: 'res.company' -
currency_idMany2one → res.currencydefault=<expr>required=Truestring='Currency' args: 'res.currency' -
date_donationDatedefault=fields.Date.context_todayrequired=True args: 'Donation Date' -
partner_idMany2one → res.partnerrequired=Truestring='Guest' args: 'res.partner' -
payment_method_line_idMany2one → account.payment.method.linedomain="[('donation', '=', True), ('company_id', '=', company_id)]"required=Truestring='Payment Mode' args: 'account.payment.method.line' -
payment_refCharargs: 'Payment Reference' -
stay_idMany2one → stay.stayrequired=Truestring='Stay' args: 'stay.stay'
-
create_donation(self) -
default_get(self, fields_list)@api.model
New fields (2)
-
donation_stay_campaign_idMany2one → donation.campaignondelete='restrict'string='Campaign for Stay Donations' args: 'donation.campaign' -
donation_stay_product_idMany2one → product.productdomain=[('donation_type', '=', 'donation')]ondelete='restrict'string='Product for Stay Donations' args: 'product.product'
No public methods.
New fields (2)
-
donation_stay_campaign_idMany2onereadonly=Falserelated='company_id.donation_stay_campaign_id' -
donation_stay_product_idMany2onereadonly=Falserelated='company_id.donation_stay_product_id'
No public methods.
New fields (4)
-
company_currency_idMany2onerelated='company_id.currency_id'store=Truestring='Company Currency' -
donation_countIntegercompute='_compute_donation'store=Truestring='Number of Donations' -
donation_idsOne2many → donation.donationstring='Donations' args: 'donation.donation', 'stay_id' -
donation_totalMonetarycompute='_compute_donation'currency_field='company_currency_id'help='Total donation amount for draft and valid donations in company currency.'store=True
-
show_donations(self)
Loading…
Loading…
Loading…
Loading…
Loading…