Skip to content
Health
21/100
poor
  • Security5/25
    2 grave, 0 minor
  • Activity6/25
    Last human commit 30 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 15.0

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

Security findings
Grave / minor (static analysis)
Required by
0
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.07 MB
Module directory on disk
Code analysis 2 migration notes 4 models 5 views 0 HTTP endpoints

Description

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

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

Views touched 5

XML IDNameModelTypeStatus
view_credit_point_history_search credit.point.history.search credit.point.history search New
view_credit_point_history_tree view.credit.point.history.tree credit.point.history tree New
view_partner_form_points res.partner.form.points res.partner form Inherits base.view_partner_form
view_partner_search_points res.partner.search.points res.partner search Inherits base.view_res_partner_filter
wiz_manage_credit_point Credit Point Update wiz.manage.credit.point form New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 4

New fields (6)
  • amount Monetary
    currency_field='credit_point_currency_id' default=0 readonly=True required=True
  • comment Char
  • create_date Datetime
  • credit_point_currency_id Many2one
    readonly=True related='partner_id.credit_point_currency_id'
  • operation Selection
    required=True selection=POINT_OPERATIONS
  • partner_id Many2one → res.partner
    comodel_name='res.partner' required=True string='Partner'
Public methods (0)

No public methods.

New fields (4)
  • credit_history_ids One2many → credit.point.history
    comodel_name='credit.point.history' inverse_name='partner_id'
  • credit_point Monetary
    currency_field='credit_point_currency_id' default=0 readonly=True string='Points Attribution'
  • credit_point_currency_id Many2one → res.currency
    comodel_name='res.currency' default=<expr>
  • yearly_point_increase Monetary
    compute='_compute_yearly_point_increase' currency_field='credit_point_currency_id' readonly=True string='Yearly points increase'
Public methods (6)
  • action_update_credit_point(self)
    Open update credit point wizard.
  • credit_point_bypass_check(self)
  • credit_point_decrease(self, amount, comment='')
  • credit_point_increase(self, amount, comment='')
  • credit_point_replace(self, amount, comment='')
  • update_history(self, amount, operation, comment)

New fields (0)

No new fields.

Public methods (5)
  • action_cancel(self)
  • action_confirm(self)
    Check credit before confirmation, update credit if check passed.
  • credit_point_check(self, user=None)
    Verify order amount against credit point budget.
  • credit_point_check_failed_msg(self)
    @property
  • credit_point_decrease_msg(self)
    @property

New fields (4)
  • comment Text
    required=True
  • credit_point Integer
    required=True string='Points'
  • operation Selection
    required=True selection=POINT_OPERATIONS string='Type of operation'
  • partner_ids Many2many → res.partner
    required=True string='Partners' args: 'res.partner'
Public methods (1)
  • action_update_credit(self)