Health
45/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 46 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 15.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
LGPL-3
No conflicts with its dependencies
Folder size
0.36 MB
Module directory on disk
Code analysis
1 migration note
3 models
5 views
0 HTTP endpoints
Migration considerations
sale_order_view_extend_gift_card_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 · 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
Integrate gift card mechanism in sales orders.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
sale_gift_card.used_gift_card |
sale_gift_card.used_gift_card | ir.ui.view | qweb | New |
sale_gift_card_view_form |
gift.card.form Website | gift.card | form | Inherits gift_card.gift_card_view_form |
sale_order_portal_content_inherit |
Gift Card Products Portal | ir.ui.view | qweb | Inherits sale.sale_order_portal_content |
sale_order_view_extend_gift_card_form |
sale.order.view.form.inherit.gift.card | sale.order | form | Inherits sale.view_order_form |
sale_purchased_gift_card |
sale_purchased_gift_card | ir.ui.view | qweb | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (2)
-
buy_line_idMany2one → sale.order.linecopy=Falsehelp='Sale Order line where this gift card has been bought.'readonly=True args: 'sale.order.line' -
redeem_line_idsOne2many → sale.order.linestring='Redeems' args: 'sale.order.line', 'gift_card_id'
No public methods.
New fields (1)
-
gift_card_countIntegercompute='_compute_gift_card_count'
No public methods.
New fields (2)
-
generated_gift_card_idsOne2many → gift.cardstring='Bought Gift Card' args: 'gift.card', 'buy_line_id' -
gift_card_idMany2one → gift.cardcopy=Falsehelp='Deducted from this Gift Card' args: 'gift.card'
No public methods.