Skip to Content
Catalog / PRO · Products & Inventory / Product Warranty
Product Warranty
ac_product_warranty

Product Warranty

Track per-serial product warranties from sale to delivery with live expiry countdowns.

v19.0.1.0.0 AlshayebCo Products & Inventory

Adds two new models: warranty plan (reusable duration plans, M2m to product template) and warranty (per-serial record with computed end date, daily-refreshed remaining_days, and an active/expired state, uniqueness constraint on lot+sale line, WRT/ sequence). Inherits product template (warranty_plan_ids + serial-tracking constraint), sales order/sales order line (per-line plan selection plus a confirm-time gate via action_confirm), stock picking (_action_done hook creates warranties for outgoing pickings using sudo), and contact (warranty_count smart button via _read_group). A daily ir.cron calls _cron_update_warranties to recompute lifecycle. Depends on sale_stock.

Overview

Businesses that sell serialized goods struggle to know which units are still under warranty and when each one expires. This module lets you define reusable warranty plans, attach them to serial-tracked products, and require the salesperson to pick a plan on the sale order. When the delivery is validated, a warranty record is created automatically for every shipped serial number, with the clock starting on the actual ship date. A daily scheduled job keeps each warranty's remaining days and active/expired status current, and every customer gets a one-click view of all the warranties they hold.

Workflow

Product Warranty

Active
Expired

Key Features

  • Define reusable warranty plans with a duration in days, weeks, months, or years.
  • Attach one or more warranty plans to serial-number-tracked products, with a guard that blocks non-serial products.
  • Let salespeople choose a warranty plan per line directly on the sale order.
  • Block sale-order confirmation until a required warranty plan is selected for every eligible product.
  • Automatically create one warranty per shipped serial number when the delivery is validated, starting the clock on the ship date.
  • Compute each warranty's end date from its plan and prevent duplicate warranties for the same serial on a line.
  • Refresh remaining days and active/expired status every day via a scheduled action.
  • Show a Warranties smart button on each customer with a filtered list of all their warranties.
  • Filter and group warranties by status, customer, product, plan, or units expiring within 30 days.
  • Auto-number every warranty with a WRT/ sequence for clean referencing.

Technical Details

Technical Name ac_product_warranty
Version 19.0.1.0.0
License LGPL-3
Domain PRO · Products & Inventory

Menu Structure

Sales > Warranties
Sales > Products > Warranty Plans

Security

Every internal user can read warranty plans and warranty records, while only Inventory/Stock Managers can create, edit, or delete them. Warranty creation on delivery runs with elevated rights so any shipping user triggers it without needing manager access.

Internal User (read-only on warranty plans and warranties) Inventory / Stock Manager (full create, edit, delete on warranty plans and warranties)

Dependencies

sale_stock