Skip to content
Health
50/100
fair
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 50 months ago
  • Required by20/25
    3 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 15.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
3
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.3 MB
Module directory on disk
Code analysis 3 migration notes 2 models 3 views 0 HTTP endpoints

Description

Integrate gift card mechanism

Dependencies

Odoo dependencies
odoo/odoo:
- web
- bus
- uom
Python dependencies
None
System dependencies
None
Required by
pos_gift_card, pos_sale_gift_card, sale_gift_card

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 3

XML IDNameModelTypeStatus
gift_card_view_form gift.card.form gift.card form New
gift_card_view_search gift.card.search gift.card search New
gift_card_view_tree gift.card.tree gift.card tree New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (9)
  • balance Monetary
    compute='_compute_balance'
  • code Char
    copy=False default=<expr> readonly=True required=True
  • company_id Many2one → res.company
    default=<expr> args: 'res.company'
  • currency_id Many2one → res.currency
    readonly=True related='company_id.currency_id' args: 'res.currency'
  • expired_date Date
    default=<expr>
  • initial_amount Monetary
    currency_field='currency_id' required=True
  • name Char
    compute='_compute_name'
  • partner_id Many2one → res.partner
    help='If empty, all users can use it' args: 'res.partner'
  • state Selection
    copy=False default='valid' selection=[('valid', 'Valid'), ('expired', 'Expired')]
Public methods (2)
  • balance_converted(self, currency_id=False)
  • can_be_used(self)

New fields (1)
  • detailed_type Selection
    ondelete={'gift': 'set service'} selection_add=[('gift', 'Gift Card')]
Public methods (0)

No public methods.