Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Sales
  3. Gift Card & Store Credit v 18.0
  4. Sales Conditions FAQ

Gift Card & Store Credit

by Baris Genc https://gencbaris.com/odoo_plugins/
Odoo

$ 89.00

v 18.0 Third Party
Live Preview
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Invoicing (account)
• Sales (sale_management)
• Discuss (mail)
Lines of code 803
Technical Name gb_gift_card_store_credit
LicenseOPL-1
Websitehttps://pokutsoft.com/
Versions 18.0 19.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Invoicing (account)
• Sales (sale_management)
• Discuss (mail)
Lines of code 803
Technical Name gb_gift_card_store_credit
LicenseOPL-1
Websitehttps://pokutsoft.com/
Versions 18.0 19.0
  • Description
  • License
Compatible with Odoo 18.0 · 19.0
LGPL-3 license · 35+ languages · Community & Enterprise
Gift Card & Store Credit for Odoo — preview banner

Gift Card & Store Credit

Community gift-card engine with store-credit balance ledger

Odoo's built-in gift-card handling leans on Enterprise and offers no real balance ledger, leaving Community retailers reconciling gift-card and returns liability in spreadsheets. This module is a self-contained gift-card and store-credit engine: issue cards with secure unique codes, initial value and expiry, redeem them partially or fully against sales orders, and run per-customer store-credit wallets for returns. Every issue, top-up, redemption, refund, transfer and write-off is an immutable gb.gift.card.transaction, so each balance is computed from the ledger and always auditable. A wizard handles top-ups, transfers and voids, and a scheduled job writes off expired cards automatically. Multi-currency and per-company aware, it runs entirely on Odoo Community with no external service.

Key Features

Secure unique-code gift cards

Each gb.gift.card gets a collision-checked GC- code generated with Python's secrets module, plus an initial value, issue and expiry dates and an optional recipient partner. A per-company unique constraint blocks duplicate codes, and lookup_by_code resolves a card for POS or website use.

Immutable transaction ledger

Every movement is a gb.gift.card.transaction of type issue, topup, redeem, refund, writeoff or transfer. Posted rows are protected: write() blocks edits to amount or type and unlink() blocks deletion unless the parent is cascading, so balances are always defensible and auditable.

Live computed balances

_compute_balance sums posted credit types minus debit types and rounds to the card currency, storing both balance and redeemed_amount. The figure on the card is always the ledger truth rather than a manually maintained number.

Partial and full redemption with guards

action_redeem rounds the amount, rejects redemptions on non-active cards or amounts above the balance, posts a redeem transaction (optionally linked to a sale.order) and calls _refresh_state to flip the card to 'empty' when depleted. The redeem wizard accepts a typed code or card.

Per-customer store-credit wallets

gb.store.credit gives each partner one wallet per company (enforced by constraint), sharing the same transaction ledger via signed_amount. add_credit and spend post movements, get_or_create returns the wallet, and a non-zero balance blocks deletion.

Top-up, transfer and void wizard

The gb.gift.card.adjust.wizard tops up an active card, voids it (writing off any remaining balance), or transfers value between cards by posting paired transfer_out and transfer_in ledger entries. Managers adjust cards without ever editing balances directly.

Automatic expiry write-off cron

The _cron_expire_cards scheduled job finds active cards past their expiry_date, posts a writeoff for any remaining balance and sets the card to 'expired'. Stale liability is cleared off the books automatically instead of lingering indefinitely.

Sales and chatter integration

Cards and wallets inherit mail.thread so value, recipient and state changes are tracked in the chatter, and redemptions can reference the originating sale.order. The source_order_id records which order a card was sold on for full traceability.

Use Cases

✓Retailer issues a promotional gift card, sells it on a sales order and redeems it partially over visits
✓Customer service grants store credit for a returned item into the customer's wallet
✓Manager transfers a balance from a damaged card to a replacement card via the adjust wizard
✓eCommerce merchant looks up a card by code at checkout and applies the balance to the order
✓Finance relies on the expiry cron to write off unused balances and clean up gift-card liability
✓Auditor traces every issue, redemption and refund through the immutable transaction ledger

Screenshots

Gift Card & Store Credit — Gift Cards in Odoo

Gift Cards

Gift Card & Store Credit — Adjust Gift Card in Odoo

Adjust Gift Card

Gift Card & Store Credit — Redeem Gift Card in Odoo

Redeem Gift Card

Gift Card & Store Credit — Transactions in Odoo

Transactions

Gift Card & Store Credit — Store Credit in Odoo

Store Credit

Why Choose This Module

Issue gift cards, redeem them partially or fully, and run per-customer store-credit wallets — all backed by an immutable ledger so every balance is always auditable. Multi-currency and per-company aware, built entirely on Odoo Community.

Specifications

  • Compatible: Odoo 18.0 / 19.0
  • License: LGPL-3
  • Languages: 35+
  • Author: Pokutsoft
  • Dependencies: account, sale_management
  • Support: support@pokutsoft.com
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with