Repository
OCA/donation · module folder · Try on Runboat
Module version
1.0.0
Category
Accounting & Finance
Folder size
0.09 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/donation
Last tracking update
2026-08-07 07:47:47
Authors
Akretion, Odoo Community Association (OCA), La Cimade
Maintainers
Akretion, Odoo Community Association (OCA), La Cimade
Committers
Alexis de Lattre, Weblate, OCA-git-bot, oca-travis
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
donation_tax_receipt_form donation_sale.donation.tax.receipt.form donation.tax.receipt form Inherits donation_base.donation_tax_receipt_form
view_account_invoice_filter account.move Inherits account.view_account_invoice_filter
view_invoice_tree account.move tree Inherits account.view_invoice_tree
view_move_form account.move form Inherits account.view_move_form
view_order_form donation_sale.sale.order.form sale.order form Inherits sale.view_order_form
view_order_tree donation_sale.sale.order.tree sale.order tree Inherits sale.view_order_tree
view_quotation_tree donation_sale.quotation.sale.order.tree sale.order tree Inherits sale.view_quotation_tree
view_sales_order_filter donation_sale.sale.order.search sale.order search Inherits sale.view_sales_order_filter
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (5)

New fields (3)
  • tax_receipt_id Many2one → donation.tax.receipt
    check_company=True copy=False readonly=True string='Tax Receipt' args: 'donation.tax.receipt'
  • tax_receipt_option Selection
    index=True readonly=True states={'draft': [('readonly', False)]} string='Tax Receipt Option' args: [('none', 'None'), ('each', 'For Each Donation'), ('annual', 'Annual Tax Receipt')]
  • tax_receipt_total Monetary
    compute='_compute_tax_receipt_total' currency_field='company_currency_id' store=True string='Eligible Tax Receipt Sub-total'
Public methods (4)
  • button_cancel(self)
  • donation_sale_change(self)
    @api.onchange('partner_id')
  • tax_receipt_option_change(self)
    @api.onchange('tax_receipt_option')
  • unlink(self)

New fields (1)
  • tax_receipt_ok Boolean
    related='product_id.tax_receipt_ok' store=True
Public methods (1)
  • donation_invoice_line_check(self)
    @api.constrains('product_id', 'tax_ids')

New fields (1)
  • invoice_ids One2many → account.move
    string='Related Invoices' args: 'account.move', 'tax_receipt_id'
Public methods (1)
  • update_tax_receipt_annual_dict(self, tax_receipt_annual_dict, start_date, end_date, company)
    @api.model

New fields (3)
  • company_currency_id Many2one
    readonly=True related='company_id.currency_id' string='Company Currency'
  • tax_receipt_option Selection
    readonly=True states={'draft': [('readonly', False)]} string='Tax Receipt Option' args: [('none', 'None'), ('each', 'For Each Donation'), ('annual', 'Annual Tax Receipt')]
  • tax_receipt_total Monetary
    compute='_compute_tax_receipt_total' currency_field='company_currency_id' store=True string='Eligible Tax Receipt Sub-total'
Public methods (2)
  • donation_sale_change(self)
    @api.onchange('partner_id')
  • tax_receipt_option_change(self)
    @api.onchange('tax_receipt_option')

New fields (1)
  • tax_receipt_ok Boolean
    related='product_id.tax_receipt_ok' store=True
Public methods (1)
  • donation_sale_line_check(self)
    @api.constrains('product_id', 'tax_id')

Loading…

Loading…

Loading…