Coupon Promotion Product Domain Discount
coupon_domain_product_discount · OCA/sale-promotion
Health
45/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 37 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 15.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis
2 migration notes
2 models
2 views
0 HTTP endpoints
Migration considerations
CouponReward— Migrating to 17.0: `name_get` no longer feeds `display_name`: override `_compute_display_name` instead. migration-name-get · sourcecoupon_program_view_form_common— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
coupon_program_view_form_common |
coupon.program | form | Inherits coupon.coupon_program_view_form_common | |
report_coupon |
report_coupon | ir.ui.view | qweb | Inherits coupon.report_coupon |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (4)
-
discount_apply_on_domain_productBooleanhelp='When set, the discount will be applied on the filtered products'string='Apply on products domain' -
discount_apply_on_domain_product_descriptionCharhelp='Description to be displayed in the report when the option to applydiscount on the filtered products is set'string='Description for coupons' -
discount_specific_product_idsMany2manycompute='_compute_discount_specific_product_ids'inverse='_inverse_discount_specific_product_ids'readonly=Falsesearch='_search_discount_specific_product_ids'store=False -
stored_discount_specific_product_idsMany2many → product.productcomodel_name='product.product'relation='product_product_sale_coupon_reward_rel'
-
name_get(self)We don't know from this model the domain set on the rule. A generic name is given
New fields (1)
-
strict_per_product_limitBooleanhelp='In a discount on selected products reward for every product meeting the product domain condition, the minimum quantity/amount will be computed separately'
No public methods.