Hi,
Odoo does not natively manage software license numbers/keys; there is no standard field or mechanism to generate/distribute/manage them.
Option 1: Simple Studio/Customization
- If the requirement is only to store license keys:
* Add a custom field on sale.subscription (via Studio): e.g. x_license_key.
* If one subscription can have multiple keys:
- Create a related one2many model (subscription.license) with fields:
-License Key
- Activation Date
- Expiry Date
- Notes
You can then expose this in the Subscription form view.
Advantage: very simple, stays inside Subscriptions.
Limitation: No automation for generation/distribution unless you extend further.
Option 2: License Management via Custom Module
- If you need automatic license key generation & assignment, build a small module:
* Define a new model: subscription.license with fields (Key, Status, Subscription, Customer, Expiry).
* On confirmation of subscription sale order → generate or assign a license key automatically.
* Possible integration with external license server if needed.
* Add portal access so customers can see their licenses.
Best if licenses need to be tracked, revoked, or rotated.
Hope it helps