Repository
odoo/odoo · module folder
Module version
1.0
Category
Sales/Sales
Folder size
0.36 MB
License
LGPL-3
Application
No
Auto-installable
Yes
Website
None
Last tracking update
2026-08-07 05:29:17
Authors
Maintainers
None
Committers
Martin Trigaux, Odoo Translation Bot, Pierre Masereel, Touati Djamel (otd), william-andre, Nicolas Bayet, Eteil Djoumatchoua (etdj)
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
website_sale_gift_card
Description
Integrate gift card mechanism in sales orders.

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
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_id Many2one → sale.order.line
    copy=False help='Sale Order line where this gift card has been bought.' readonly=True args: 'sale.order.line'
  • redeem_line_ids One2many → sale.order.line
    string='Redeems' args: 'sale.order.line', 'gift_card_id'
Public methods (0)

No public methods.

New fields (1)
  • gift_card_count Integer
    compute='_compute_gift_card_count'
Public methods (0)

No public methods.

New fields (2)
  • generated_gift_card_ids One2many → gift.card
    string='Bought Gift Card' args: 'gift.card', 'buy_line_id'
  • gift_card_id Many2one → gift.card
    copy=False help='Deducted from this Gift Card' args: 'gift.card'
Public methods (0)

No public methods.