Gift Card

gift_card
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/15.0/gift_card
VERSION
VERSION 1.0
CATEGORY
CATEGORYSales/Sales
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Thibault Delavallée, Jeremy Kersten, Pierre Masereel, Xavier-Do, william-andre, Eteil Djoumatchoua (etdj)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:25:29
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Integrate gift card mechanism

Code Analysis

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
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.