[19.0][ADD] product_plan_code #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "odoo/19.0-product_plan_code"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A unique technical code per product variant, read by the onk.style entitlement controller (cluster-moby docs/entitlements-spec.md). 6 tests, pre-commit clean. 🤖 Generated with Claude Code
A system that grants access from what was sold (the onk.style entitlement controller) needs a stable key per product variant, not a product name. The code lives on product.product because a plan is a variant ("Photo 100" and "Photo 200" of "Photo"), and on single-variant templates it is edited on the template, exactly like default_code. Unique, and never copied: duplicating a product that grants something would otherwise produce a second product claiming the same entitlement. Copying a variant always goes through its template, so the guarantee that matters is the template's; the test duplicates a template. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.