Donation Stay

donation_stay
REPOSITORY
REPOSITORYOCA/vertical-abbey
GIT
GIThttps://github.com/OCA/vertical-abbey.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/vertical-abbey/tree/18.0/donation_stay
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYLodging
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, Barroux Abbey
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, Barroux Abbey
COMMITTERS
COMMITTERSAlexis de Lattre, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/vertical-abbey
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:19
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/donation:
    - donation
    - donation_base
OCA/vertical-abbey:
    - stay
OCA/web:
    - web_timeline
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES xlsxwriter
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds a wizard to create a donation from a stay.

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
create_donation_stay_form donation.stay.create.form donation.stay.create form New
donation_form donation.donation group Inherits donation.donation_form
donation_search donation.donation filter Inherits donation.donation_search
donation_tree donation.donation field Inherits donation.donation_tree
res_config_settings_view_form donation_stay.res.config.settings.form res.config.settings app Inherits stay.res_config_settings_view_form
stay_add_donation_form add.donation.from.stay.form stay.stay button Inherits stay.stay_form
stay_search donation.stay.search stay.stay filter Inherits stay.stay_search
stay_tree donation.stay.tree stay.stay field Inherits stay.stay_tree
Models touched (5)

New fields (1)
  • stay_id Many2one → stay.stay
    check_company=True copy=False domain=[('state', '!=', 'draft')] string='Stay' tracking=True args: 'stay.stay'
Public methods (0)

No public methods.

New fields (8)
  • amount Monetary
    currency_field='currency_id' required=True string='Donation Amount'
  • company_id Many2one → res.company
    required=True string='Company' args: 'res.company'
  • currency_id Many2one → res.currency
    default=<expr> required=True string='Currency' args: 'res.currency'
  • date_donation Date
    default=fields.Date.context_today required=True args: 'Donation Date'
  • partner_id Many2one → res.partner
    required=True string='Guest' args: 'res.partner'
  • payment_method_line_id Many2one → account.payment.method.line
    domain="[('donation', '=', True), ('company_id', '=', company_id)]" required=True string='Payment Mode' args: 'account.payment.method.line'
  • payment_ref Char
    args: 'Payment Reference'
  • stay_id Many2one → stay.stay
    required=True string='Stay' args: 'stay.stay'
Public methods (2)
  • create_donation(self)
  • default_get(self, fields_list)
    @api.model

New fields (2)
  • donation_stay_campaign_id Many2one → donation.campaign
    ondelete='restrict' string='Campaign for Stay Donations' args: 'donation.campaign'
  • donation_stay_product_id Many2one → product.product
    domain=[('donation_type', '=', 'donation')] ondelete='restrict' string='Product for Stay Donations' args: 'product.product'
Public methods (0)

No public methods.

New fields (2)
  • donation_stay_campaign_id Many2one
    readonly=False related='company_id.donation_stay_campaign_id'
  • donation_stay_product_id Many2one
    readonly=False related='company_id.donation_stay_product_id'
Public methods (0)

No public methods.

New fields (4)
  • company_currency_id Many2one
    related='company_id.currency_id' store=True string='Company Currency'
  • donation_count Integer
    compute='_compute_donation' store=True string='Number of Donations'
  • donation_ids One2many → donation.donation
    string='Donations' args: 'donation.donation', 'stay_id'
  • donation_total Monetary
    compute='_compute_donation' currency_field='company_currency_id' help='Total donation amount for draft and valid donations in company currency.' store=True
Public methods (1)
  • show_donations(self)
REPOSITORY
REPOSITORYOCA/vertical-abbey
GIT
GIThttps://github.com/OCA/vertical-abbey.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/vertical-abbey/tree/16.0/donation_stay
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYLodging
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, Barroux Abbey
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, Barroux Abbey
COMMITTERS
COMMITTERSAlexis de Lattre, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/vertical-abbey
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-payment:
    - account_payment_mode
OCA/donation:
    - donation
    - donation_base
OCA/vertical-abbey:
    - stay
OCA/web:
    - web_timeline
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES xlsxwriter
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
create_donation_stay_form donation.stay.create.form donation.stay.create form New
donation_form donation.donation group Inherits donation.donation_form
donation_search donation.donation filter Inherits donation.donation_search
donation_tree donation.donation field Inherits donation.donation_tree
res_config_settings_view_form donation_stay.res.config.settings.form res.config.settings div Inherits stay.res_config_settings_view_form
stay_add_donation_form add.donation.from.stay.form stay.stay button Inherits stay.stay_form
stay_search donation.stay.search stay.stay filter Inherits stay.stay_search
stay_tree donation.stay.tree stay.stay field Inherits stay.stay_tree
Models touched (5)

New fields (1)
  • stay_id Many2one → stay.stay
    check_company=True copy=False domain=[('state', '!=', 'draft')] string='Stay' tracking=True args: 'stay.stay'
Public methods (0)

No public methods.

New fields (8)
  • amount Monetary
    currency_field='currency_id' required=True string='Donation Amount'
  • company_id Many2one → res.company
    required=True string='Company' args: 'res.company'
  • currency_id Many2one → res.currency
    default=<expr> required=True string='Currency' args: 'res.currency'
  • date_donation Date
    default=fields.Date.context_today required=True args: 'Donation Date'
  • partner_id Many2one → res.partner
    required=True string='Guest' args: 'res.partner'
  • payment_mode_id Many2one → account.payment.mode
    domain="[('donation', '=', True), ('company_id', '=', company_id)]" required=True string='Payment Mode' args: 'account.payment.mode'
  • payment_ref Char
    args: 'Payment Reference'
  • stay_id Many2one → stay.stay
    required=True string='Stay' args: 'stay.stay'
Public methods (2)
  • create_donation(self)
  • default_get(self, fields_list)
    @api.model

New fields (2)
  • donation_stay_campaign_id Many2one → donation.campaign
    ondelete='restrict' string='Campaign for Stay Donations' args: 'donation.campaign'
  • donation_stay_product_id Many2one → product.product
    domain=[('detailed_type', '=', 'donation')] ondelete='restrict' string='Product for Stay Donations' args: 'product.product'
Public methods (0)

No public methods.

New fields (2)
  • donation_stay_campaign_id Many2one
    readonly=False related='company_id.donation_stay_campaign_id'
  • donation_stay_product_id Many2one
    readonly=False related='company_id.donation_stay_product_id'
Public methods (0)

No public methods.

New fields (4)
  • company_currency_id Many2one
    related='company_id.currency_id' store=True string='Company Currency'
  • donation_count Integer
    compute='_compute_donation' store=True string='Number of Donations'
  • donation_ids One2many → donation.donation
    string='Donations' args: 'donation.donation', 'stay_id'
  • donation_total Monetary
    compute='_compute_donation' currency_field='company_currency_id' help='Total donation amount for draft and valid donations in company currency.' store=True
Public methods (1)
  • show_donations(self)
REPOSITORY
REPOSITORYOCA/vertical-abbey
GIT
GIThttps://github.com/OCA/vertical-abbey.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/vertical-abbey/tree/14.0/donation_stay
VERSION
VERSION 3.0.0
CATEGORY
CATEGORYLodging
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, Barroux Abbey
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, Barroux Abbey
COMMITTERS
COMMITTERSAlexis de Lattre, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/vertical-abbey
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:11
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-payment:
    - account_payment_mode
OCA/donation:
    - donation
    - donation_base
OCA/vertical-abbey:
    - stay
OCA/web:
    - web_timeline
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES xlsxwriter
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
create_donation_stay_form donation.stay.create.form donation.stay.create form New
donation_form donation.donation group Inherits donation.donation_form
donation_search donation.donation filter Inherits donation.donation_search
donation_tree donation.donation field Inherits donation.donation_tree
res_config_settings_view_form donation_stay.res.config.settings.form res.config.settings div Inherits stay.res_config_settings_view_form
stay_add_donation_form add.donation.from.stay.form stay.stay button Inherits stay.stay_form
stay_search donation.stay.search stay.stay filter Inherits stay.stay_search
stay_tree donation.stay.tree stay.stay field Inherits stay.stay_tree
Models touched (5)

New fields (1)
  • stay_id Many2one → stay.stay
    check_company=True copy=False domain=[('state', '!=', 'draft')] string='Stay' tracking=True args: 'stay.stay'
Public methods (0)

No public methods.

New fields (8)
  • amount Monetary
    currency_field='currency_id' required=True string='Donation Amount'
  • company_id Many2one → res.company
    required=True string='Company' args: 'res.company'
  • currency_id Many2one → res.currency
    default=<expr> required=True string='Currency' args: 'res.currency'
  • date_donation Date
    default=fields.Date.context_today required=True args: 'Donation Date'
  • partner_id Many2one → res.partner
    required=True string='Guest' args: 'res.partner'
  • payment_mode_id Many2one → account.payment.mode
    domain="[('donation', '=', True), ('company_id', '=', company_id)]" required=True string='Payment Mode' args: 'account.payment.mode'
  • payment_ref Char
    args: 'Payment Reference'
  • stay_id Many2one → stay.stay
    required=True string='Stay' args: 'stay.stay'
Public methods (2)
  • create_donation(self)
  • default_get(self, fields_list)
    @api.model

New fields (2)
  • donation_stay_campaign_id Many2one → donation.campaign
    ondelete='restrict' string='Campaign for Stay Donations' args: 'donation.campaign'
  • donation_stay_product_id Many2one → product.product
    ondelete='restrict' string='Product for Stay Donations' args: 'product.product'
Public methods (0)

No public methods.

New fields (2)
  • donation_stay_campaign_id Many2one
    readonly=False related='company_id.donation_stay_campaign_id'
  • donation_stay_product_id Many2one
    readonly=False related='company_id.donation_stay_product_id'
Public methods (0)

No public methods.

New fields (4)
  • company_currency_id Many2one
    related='company_id.currency_id' store=True string='Company Currency'
  • donation_count Integer
    compute='_compute_donation' store=True string='Number of Donations'
  • donation_ids One2many → donation.donation
    string='Donations' args: 'donation.donation', 'stay_id'
  • donation_total Monetary
    compute='_compute_donation' currency_field='company_currency_id' help='Total donation amount for draft and valid donations in company currency.' store=True
Public methods (1)
  • show_donations(self)
REPOSITORY
REPOSITORYOCA/vertical-abbey
GIT
GIThttps://github.com/OCA/vertical-abbey.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/vertical-abbey/tree/10.0/donation_stay
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYLodging
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, Barroux Abbey
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, Barroux Abbey
COMMITTERS
COMMITTERSAlexis de Lattre, Pedro M. Baeza, Stéphane Bidoul (ACSONE)
WEBSITE
WEBSITEhttp://www.barroux.org
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:02
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/donation:
    - donation
    - donation_base
OCA/vertical-abbey:
    - stay
OCA/web:
    - web_timeline
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - report
    - analytic
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES xlsxwriter
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
create_donation_stay_form donation.stay.create.form donation.stay.create form New
stay_add_donation_form add.donation.from.stay.form stay.stay header Inherits stay.stay_form
Models touched (1)

New fields (5)
  • amount Monetary
    currency_field='currency_id' string='Donation Amount'
  • currency_id Many2one → res.currency
    default=<expr> required=True string='Currency' args: 'res.currency'
  • date_donation Date
    default=fields.Date.context_today required=True args: 'Donation Date'
  • journal_id Many2one → account.journal
    domain=[('type', 'in', ('bank', 'cash')), ('allow_donation', '=', True)] required=True string='Payment Method' args: 'account.journal'
  • payment_ref Char
    size=32 args: 'Payment Reference'
Public methods (1)
  • create_donation(self)
REPOSITORY
REPOSITORYOCA/vertical-abbey
GIT
GIThttps://github.com/OCA/vertical-abbey.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/vertical-abbey/tree/9.0/donation_stay
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYLodging
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, Barroux Abbey
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, Barroux Abbey
COMMITTERS
COMMITTERSPedro M. Baeza, Stéphane Bidoul (ACSONE)
WEBSITE
WEBSITEhttp://www.barroux.org
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:24
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/donation:
    - donation
    - donation_base
OCA/vertical-abbey:
    - stay
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - report
    - analytic
    - web_tip
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
create_donation_stay_form donation.stay.create.form donation.stay.create form New
stay_add_donation_form add.donation.from.stay.form stay.stay header Inherits stay.stay_form
Models touched (1)

New fields (5)
  • amount Float
    digits=dp.get_precision('Account') string='Donation Amount'
  • currency_id Many2one → res.currency
    default=<expr> required=True string='Currency' args: 'res.currency'
  • date_donation Date
    default=fields.Date.context_today required=True args: 'Donation Date'
  • journal_id Many2one → account.journal
    domain=[('type', 'in', ('bank', 'cash')), ('allow_donation', '=', True)] required=True string='Payment Method' args: 'account.journal'
  • payment_ref Char
    size=32 args: 'Payment Reference'
Public methods (1)
  • create_donation(self)
    @api.multi
REPOSITORY
REPOSITORYOCA/vertical-abbey
GIT
GIThttps://github.com/OCA/vertical-abbey.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/vertical-abbey/tree/8.0/donation_stay
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYLodging
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion, Barroux Abbey
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion, Barroux Abbey
COMMITTERS
COMMITTERSStéphane Bidoul, Alexis de Lattre, Stéphane Bidoul (ACSONE), Frère Bernard
WEBSITE
WEBSITEhttp://www.barroux.org
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:27
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/donation:
    - donation
OCA/vertical-abbey:
    - stay
odoo/odoo:
    - account_accountant
    - account_voucher
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - report
    - analytic
    - board
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
create_donation_stay_form donation.stay.create.form donation.stay.create form New
stay_add_donation_form add.donation.from.stay.form stay.stay header Inherits stay.stay_form
Models touched (1)

New fields (5)
  • amount Float
    digits=dp.get_precision('Account') string='Donation Amount'
  • currency_id Many2one → res.currency
    default=<expr> required=True string='Currency' args: 'res.currency'
  • date_donation Date
    default=fields.Date.context_today required=True args: 'Donation Date'
  • journal_id Many2one → account.journal
    domain=[('type', 'in', ('bank', 'cash')), ('allow_donation', '=', True)] required=True string='Payment Method' args: 'account.journal'
  • payment_ref Char
    size=32 args: 'Payment Reference'
Public methods (1)
  • create_donation(self)
    @api.multi