Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Coupons & Loyalty
Entity: loyalty.rule
Description: Loyalty Rule
| Field | Description | Type | Relationship | Compute Method |
|---|---|---|---|---|
| active | Boolean | - | ||
| code | Discount code | Char | - | _compute_code |
| company_id | Many-to-One | program_id.company_id | ||
| currency_id | Many-to-One | program_id.currency_id | ||
| minimum_amount | Minimum Purchase | Monetary | - | |
| minimum_amount_tax_mode | Selection | - | ||
| minimum_qty | Minimum Quantity | Integer | - | |
| mode | Application | Selection | - | _compute_mode |
| product_category_id | Categories | Many-to-One | product.category | |
| product_domain | Char | - | ||
| product_ids | Products | Many-to-Many | product.product | |
| product_tag_id | Product Tag | Many-to-One | product.tag | |
| program_id | Many-to-One | loyalty.program | ||
| program_type | Selection | program_id.program_type | ||
| reward_point_amount | Reward | Float | - | |
| reward_point_mode | Selection | - | ||
| reward_point_name | Char | program_id.portal_point_name | ||
| reward_point_split | Split per unit | Boolean | - | |
| user_has_debug | Boolean | - | _compute_user_has_debug |
