| REPOSITORY | |
|---|---|
| REPOSITORY | odoo/odoo |
| GIT | |
| GIT | https://github.com/odoo/odoo.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/odoo/odoo/tree/15.0/pos_gift_card |
| VERSION | |
| VERSION | 1.0 |
| CATEGORY | |
| CATEGORY | Sales/Sales |
| LICENSE | |
| LICENSE | LGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | Yes |
| AUTHORS | |
| AUTHORS | |
| MAINTAINERS | |
| MAINTAINERS | |
| COMMITTERS | |
| COMMITTERS | Odoo Translation Bot, Martin Trigaux, Pierre Masereel, Hugo Adan, Ivan Yelizariev, Touati Djamel (otd), roen-odoo, pedrambiria, Jacky (trj), David (dafr), mafo-odoo, rhe-odoo, Javier Vega, Adrien Guilliams (adgu), JVegaB, Eteil Djoumatchoua (etdj), ROEN, Du-ma |
| WEBSITE | |
| WEBSITE | |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:25:29 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - gift_card - product - base - base_setup - web - bus - web_tour - uom - point_of_sale - stock_account - stock - barcodes - digest - portal - web_editor - http_routing - auth_signup - resource - account - analytic |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | Integrate gift card mechanism in sales orders. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
gift_card_template |
gift_card_template | ir.ui.view | qweb | New |
pos_gift_card_config_view_form |
pos.config.form | pos.config | xpath | Inherits point_of_sale.pos_config_view_form |
pos_gift_card_view_form |
gift.card.form Website | gift.card | xpath | Inherits gift_card.gift_card_view_form |
res_config_view_form_inherit_pos_coupon |
res.config.form.inherit.pos.coupon | res.config.settings | xpath | Inherits point_of_sale.res_config_settings_view_form |
type
Selection
ondelete={'gift_card': 'set default'}
selection_add=[('gift_card', 'Gift Card')]
No public methods.
buy_pos_order_line_id
Many2one → pos.order.line
copy=False
help='Pos Order line where this gift card has been bought.'
readonly=True
args: 'pos.order.line'
redeem_pos_order_line_ids
One2many → pos.order.line
string='Pos Redeems'
args: 'pos.order.line', 'gift_card_id'
can_be_used_in_pos(self, sale_order_origin_id=False)
gift_card_product_id
Many2one → product.product
help='This product is used as reference on customer receipts.'
string='Gift Card Product'
args: 'product.product'
gift_card_settings
Selection
default='create_set'
help='Defines the way you want to set your gift cards.'
string='Gift Cards settings'
args: [('create_set', 'Generate a new barcode and set a price'), ('scan_set', 'Scan an existing barcode and set a price'), ('scan_use', 'Scan an existing barcode with an existing price')]
use_gift_card
Boolean
string='Gift Card'
No public methods.
gift_card_count
Integer
compute='_compute_gift_card_count'
create_from_ui(self, orders, draft=False)
get_new_card_ids(self)
generated_gift_card_ids
One2many → gift.card
string='Bought Gift Card'
args: 'gift.card', 'buy_pos_order_line_id'
gift_card_id
Many2one → gift.card
copy=False
help='Deducted from this Gift Card'
args: 'gift.card'
No public methods.