Skip to content
Health
68/100
fair
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 46 months ago
  • Required by25/25
    5 modules depend on it
  • Maturity18/25
    In 3 Odoo series since 13.0

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

Security findings
Grave / minor (static analysis)
Required by
5
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.06 MB
Module directory on disk
Code analysis 1 migration note 3 models 3 views 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 3

XML IDNameModelTypeStatus
view_order_form sale.order form Inherits sale.view_order_form
view_order_line_tree sale.order.line tree Inherits sale.view_order_line_tree
view_order_product_search sale.report search Inherits sale.view_order_product_search

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (0)

No new fields.

Public methods (1)
  • write(self, vals)
    We're looking for reward lines set in the write, from those, we'll get the proper ids to write them into the related lines

New fields (4)
  • coupon_program_id Many2one → coupon.program
    comodel_name='coupon.program' ondelete='restrict' string='Coupon Program'
  • reward_generated_line_ids Many2many → sale.order.line
    column1='sale_line_id' column2='reward_generated_line_id' comodel_name='sale.order.line' help='Link on the reward lines generated meeting this line as criteria' relation='sale_line_reward_generated_line_rel' string='Reward Generated lines'
  • reward_line_ids Many2many → sale.order.line
    column1='sale_line_id' column2='reward_line_id' comodel_name='sale.order.line' help='Link on the reward lines applied from this one' relation='sale_line_reward_line_rel' string='Reward lines'
  • reward_origin_generated_line_ids Many2many → sale.order.line
    column1='reward_generated_line_id' column2='sale_line_id' comodel_name='sale.order.line' help='Origin Link on the reward lines generated meeting this line as criteria' relation='sale_line_reward_generated_line_rel' string='Origin Reward Generated lines'
Public methods (1)
  • write(self, vals)
    When the reward line is update we should refresh the line links as well

New fields (1)
  • coupon_program_id Many2one → coupon.program
    comodel_name='coupon.program' string='Coupon Program'
Public methods (0)

No public methods.

Loading…

Loading…