TIP: You can type at any time to perform a new search.
Loyalty Limit
loyalty_limit · OCA/sale-promotion
- Repository
- OCA/sale-promotion · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Sale
- Folder size
- 0.06 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/sale-promotion
- Last tracking update
- 2026-08-07 08:43:05
- Authors
- Odoo Community Association (OCA), Tecnativa
- Maintainers
- Odoo Community Association (OCA), Tecnativa
- Committers
- OCA-git-bot, oca-ci, Bhavesh Heliconia
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- sale_loyalty_limit
- Description
This module allows to configure a limit on the times a promotion can be applied. It's a technical base to be extended with top level functionality (sales, pos).
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
loyalty_program_view_form |
loyalty.program | form | Inherits loyalty.loyalty_program_view_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (5)
-
max_customer_applicationIntegerdefault=0help='Maximum times that a program can be applied to a customer. 0 for no limit.'string='Maximum Customer Applications' -
salesmen_limit_countIntegercompute='_compute_salesmen_limit_count'string='Salesmen maximum promotions' -
salesmen_limit_idsOne2many → loyalty.salesmen.limitcomodel_name='loyalty.salesmen.limit'help='Maximum times salesmen can apply a program. Empty for no limit.'inverse_name='program_id'string='Salesmen Limits' -
salesmen_limit_used_countIntegercompute='_compute_salesmen_limit_count'string='Salesmen promotions used' -
salesmen_strict_limitBooleandefault=Falsehelp='If marked, promotion will only be allowed for the list of salesmen with their quantities'string='Strict limit'
No public methods.
New fields (4)
-
max_salesman_applicationIntegerdefault=0help='Maximum times a salesman can apply a program. 0 for no limit.'string='Maximum Salesman Applications' -
program_idMany2one → loyalty.programauto_join=Truecomodel_name='loyalty.program'ondelete='cascade'required=True -
times_usedIntegercompute='_compute_times_used'string='Uses' -
user_idMany2one → res.userscomodel_name='res.users'ondelete='cascade'required=Truestring='Salesman'
No public methods.
Loading…
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- green — ready to merge
- Open since
- 106 days ago
- Last activity
- 2 days ago
- Repository
- OCA/sale-promotion
- Pull request
- [19.0][MIG] loyalty_limit: Migration to 19.0 (#324)