TIP: You can type at any time to perform a new search.
Loyalty Program
pos_loyalty · OCA/pos
- Repository
- OCA/pos · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Point of Sale
- Folder size
- 0.19 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/pos
- Last tracking update
- 2026-08-07 07:24:56
- Authors
- OpenERP SA, Odoo Community Association (OCA), RGB Consulting SL, Lambda IS
- Maintainers
- OpenERP SA, Odoo Community Association (OCA), RGB Consulting SL, Lambda IS
- Committers
- Sylvain LE GAL, Weblate, OCA Transbot, OCA-git-bot, oca-travis
Code Analysis ⓘ
Views touched (9)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
assets |
assets | ir.ui.view | qweb | Inherits point_of_sale.assets |
assets_demo |
assets_demo | ir.ui.view | qweb | Inherits point_of_sale.assets |
loyalty_program_form_view |
loyalty.program.form | loyalty.program | form | New |
loyalty_program_tree_view |
loyalty.program.tree | loyalty.program | tree | New |
loyalty_reward_form_view |
loyalty.reward.form | loyalty.reward | form | New |
loyalty_rule_form_view |
loyalty.rule.form | loyalty.rule | form | New |
partner_property_form_view |
partner.property.form | res.partner | form | Inherits point_of_sale.view_partner_property_form |
pos_config_view_form |
pos.config.form | pos.config | form | Inherits point_of_sale.pos_config_view_form |
pos_order_form_view |
pos.order.form | pos.order | form | Inherits point_of_sale.view_pos_pos_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (7)
New fields (7)
-
nameCharindex=Truerequired=Truesize=32string='Loyalty Program Name' -
pp_currencyFloathelp='Amount of loyalty points given to the customer per sold currency'string='Points per currency' -
pp_orderFloathelp='Amount of loyalty points given to the customer for each point of sale order'string='Points per order' -
pp_productFloathelp='Amount of loyalty points given to the customer per product sold'string='Points per product' -
reward_idsOne2many → loyalty.rewardcomodel_name='loyalty.reward'inverse_name='loyalty_program_id'string='Rewards' -
roundingFloatdefault=1help='Loyalty point amounts will be rounded to multiples of this value'string='Points Rounding' -
rule_idsOne2many → loyalty.rulecomodel_name='loyalty.rule'inverse_name='loyalty_program_id'string='Rules'
No public methods.
New fields (10)
-
discountFloathelp='The discount percentage' -
discount_maxFloathelp='Maximum discounted amount allowed forthis discount reward'string='Discount limit' -
discount_product_idMany2one → product.productcomodel_name='product.product'domain=[('available_in_pos', '=', True)]help='The product used to apply discounts'string='Discount Product' -
gift_product_idMany2one → product.productcomodel_name='product.product'domain=[('available_in_pos', '=', True)]help='The product given as a reward'string='Gift Product' -
loyalty_program_idMany2one → loyalty.programcomodel_name='loyalty.program'help='The Loyalty Program this reward belongs to'string='Loyalty Program' -
minimum_pointsFloathelp='Minimum amount of points the customer must have to qualify for this reward'string='Minimum Points' -
nameCharindex=Truerequired=Truesize=32string='Reward Name' -
point_costFloathelp='Cost of the reward per monetary unit discounted'string='Point Cost' -
point_product_idMany2one → product.productcomodel_name='product.product'domain=[('available_in_pos', '=', True)]help='Product that represents a point that is sold by the customer'string='Point Product' -
typeSelectionhelp='Type of the reward'required=Trueselection=[('gift', 'Gift'), ('discount', 'Discount'), ('resale', 'Resale')]string='Type'
No public methods.
New fields (8)
-
category_idMany2one → pos.categorycomodel_name='pos.category'help='The category affected by this rule'string='Target Category' -
cumulativeBooleanhelp='The points from this rule will be added to points won from other rules with the same concept' -
loyalty_program_idMany2one → loyalty.programcomodel_name='loyalty.program'help='The Loyalty Program this rule belongs to'string='Loyalty Program' -
nameCharindex=Truerequired=Truesize=32string='Rule Name' -
pp_currencyFloathelp='Amount of points earned per currency'string='Points per currency' -
pp_productFloathelp='Amount of points earned per product'string='Points per product' -
product_idMany2one → product.productcomodel_name='product.product'domain=[('available_in_pos', '=', True)]help='The product affected by this rule'string='Target Product' -
typeSelectiondefault='product'help='The concept this rule applies to'required=Trueselection=[('product', 'Product'), ('category', 'Category')]string='Type'
No public methods.
New fields (1)
-
loyalty_idMany2one → loyalty.programcomodel_name='loyalty.program'help='The loyalty program used by this Point of Sale'string='Loyalty Program'
No public methods.
New fields (1)
-
loyalty_pointsFloathelp='The amount of Loyalty points awarded to the customer with this order'string='Loyalty Points'
-
create_from_ui(self, orders)@api.model
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
loyalty_pointsFloathelp='The loyalty points the user won as part of a Loyalty Program'string='Loyalty Points'
No public methods.
Loading…