Skip to content
Health
56/100
fair
  • Security25/25
    No findings
  • Activity6/25
    Last human commit 30 months ago
  • Required by20/25
    2 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 14.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
2
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 3 models 1 view 0 HTTP endpoints

Description

Dependencies

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 1

XML IDNameModelTypeStatus
coupon_program_view_form_common coupon.program.view.form coupon.program form Inherits coupon.coupon_program_view_form_common

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (0)

No new fields.

Public methods (1)
  • create(self, vals)
    @api.model
    Override method to ignore creation of `discount_line_product_id` if current program with reward type is `fixed_price`

New fields (2)
  • price_unit Float
    default=0
  • reward_type Selection
    selection_add=[('fixed_price', 'Fixed Price')]
Public methods (1)
  • name_get(self)
    Override core method to change description for the reward with `domain_product` discount criterion

New fields (0)

No new fields.

Public methods (0)

No public methods.