Donation Tax Receipt
donation_tax_receipt · OCA/donation
Health
45/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 102 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis
17 migration notes
9 models
16 views
0 HTTP endpoints
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
DonationDonation— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (4 methods) migration-api-multi-one · sourceDonationTaxReceiptOptionSwitch— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceDonationTaxReceiptPrint— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceTaxReceiptAnnualCreate— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourcedonation.donation— Migrating to 13.0: `track_visibility` was replaced by `tracking`; the old kwarg is ignored. Fields: tax_receipt_id, tax_receipt_option. migration-track-visibilitydonation_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourcedonation_tax_receipt_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourceproduct_template_form_view— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceres.partner— Migrating to 13.0: `track_visibility` was replaced by `tracking`; the old kwarg is ignored. Fields: tax_receipt_option. migration-track-visibility- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (4 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 16
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
donation_form |
donation.donation | form | Inherits donation.donation_form | |
donation_line_form |
donation.line | form | Inherits donation.donation_line_form | |
donation_line_tree |
donation.line | tree | Inherits donation.donation_line_tree | |
donation_report_search |
tax.receipt.donation.report.search | donation.report | search | Inherits donation.donation_report_search |
donation_search |
donation.tax.receipt.donation.search | donation.donation | search | Inherits donation.donation_search |
donation_tax_receipt_form |
donation.tax.receipt.form | donation.tax.receipt | form | New |
donation_tax_receipt_graph |
donation.tax.receipt.graph | donation.tax.receipt | graph | New |
donation_tax_receipt_option_switch_form |
donation_tax_receipt_option_switch.form | donation.tax.receipt.option.switch | form | New |
donation_tax_receipt_print_form |
donation_tax_receipt_print.form | donation.tax.receipt.print | form | New |
donation_tax_receipt_search |
donation.tax.receipt.search | donation.tax.receipt | search | New |
donation_tax_receipt_tree |
donation.tax.receipt.tree | donation.tax.receipt | tree | New |
product_template_form_view |
donation.tax.receipt.product.template.form | product.template | form | Inherits donation.product_template_form_view |
product_template_search_view |
donation.tax.receipt.product.template.search | product.template | search | Inherits donation.product_template_search_view |
report_donationtaxreceipt |
report_donationtaxreceipt | ir.ui.view | qweb | New |
tax_receipt_annual_create_form |
tax_receipt_annual_create.form | tax.receipt.annual.create | form | New |
view_partner_property_form |
donation.tax.receipt.res.partner.form | res.partner | form | Inherits account.view_partner_property_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 9
New fields (3)
-
tax_receipt_idMany2one → donation.tax.receiptcopy=Falsereadonly=Truestring='Tax Receipt'track_visibility='onchange' args: 'donation.tax.receipt' -
tax_receipt_optionSelectionstates={'done': [('readonly', True)]}string='Tax Receipt Option'track_visibility='onchange' args: [('none', 'None'), ('each', 'For Each Donation'), ('annual', 'Annual Tax Receipt')] -
tax_receipt_totalFloatcompute='_tax_receipt_total'store=Truestring='Eligible Tax Receipt Sub-total'
-
done2cancel(self)@api.one -
generate_each_tax_receipt(self)@api.one -
partner_id_change(self)@api.onchange('partner_id') -
tax_receipt_option_change(self)@api.onchange('tax_receipt_option') -
validate(self)@api.one
New fields (1)
-
tax_receipt_okBooleanstring='Eligible for a Tax Receipt'
-
product_id_change(self)@api.onchange('product_id')
New fields (1)
-
tax_receipt_okBooleanstring='Eligible for a Tax Receipt'
No public methods.
New fields (10)
-
amountFloatdigits=dp.get_precision('Account')string='Amount' -
company_idMany2one → res.companydefault=<expr>required=Truestring='Company' args: 'res.company' -
currency_idMany2one → res.currencyondelete='restrict'required=Truestring='Currency' args: 'res.currency' -
dateDatedefault=fields.Date.context_todayrequired=Truestring='Date' -
donation_dateDaterequired=Truestring='Donation Date' -
donation_idsOne2many → donation.donationstring='Related Donations' args: 'donation.donation', 'tax_receipt_id' -
numberCharstring='Receipt Number' -
partner_idMany2one → res.partnerondelete='restrict'required=Truestring='Donor' args: 'res.partner' -
print_dateDatestring='Print Date' -
typeSelectionrequired=Truestring='Type' args: [('each', 'One-Time Tax Receipt'), ('annual', 'Annual Tax Receipt')]
-
create(self, vals=None)@api.model@api.returns('self', <expr>)
New fields (2)
-
donation_idMany2one → donation.donationdefault=<expr>string='Donation' args: 'donation.donation' -
new_tax_receipt_optionSelectionrequired=Truestring='Tax Receipt Option' args: [('each', 'For Each Donation'), ('annual', 'Annual Tax Receipt')]
-
switch(self)@api.multi
New fields (1)
-
receipt_idsMany2many → donation.tax.receiptcolumn1='print_wizard_id'column2='receipt_id'default=_get_receiptsstring='Receipts To Print' args: 'donation.tax.receipt'
-
print_receipts(self)@api.multi
New fields (1)
-
tax_receipt_okBooleanhelp='Specify if the product is eligible for a tax receipt in a donation line.'string='Is Eligible for a Tax Receipt'
No public methods.
New fields (1)
-
tax_receipt_optionSelectionstring='Tax Receipt Option'track_visibility='onchange' args: [('none', 'None'), ('each', 'For Each Donation'), ('annual', 'Annual Tax Receipt')]
No public methods.
New fields (2)
-
end_dateDatedefault=_default_end_daterequired=True args: 'End Date' -
start_dateDatedefault=_default_start_daterequired=True args: 'Start Date'
-
generate_annual_receipts(self)@api.multi