| REPOSITORY | |
|---|---|
| REPOSITORY | odoo/odoo |
| GIT | |
| GIT | https://github.com/odoo/odoo.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/odoo/odoo/tree/15.0/gift_card |
| VERSION | |
| VERSION | 1.0 |
| CATEGORY | |
| CATEGORY | Sales/Sales |
| LICENSE | |
| LICENSE | LGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | |
| MAINTAINERS | |
| MAINTAINERS | |
| COMMITTERS | |
| COMMITTERS | Odoo 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 UPDATE | 2026-07-06 00:25:29 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - product - base - 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 |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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 |
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')]
balance_converted(self, currency_id=False)
can_be_used(self)
detailed_type
Selection
ondelete={'gift': 'set service'}
selection_add=[('gift', 'Gift Card')]
No public methods.