Skip to content
Health
72/100
fair
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 9 months ago
  • Required by15/25
    1 module depends on it
  • Maturity12/25
    In 2 Odoo series since 16.0

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

Security findings
Grave / minor (static analysis)
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.06 MB
Module directory on disk
Code analysis 0 migration notes 4 models 1 view 0 HTTP endpoints

Description

This module allows to define multiple reward products on promotions on sale orders.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
sale_loyalty_order_suggestion_multi_gift

Code analysis

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

Views touched 1

XML IDNameModelTypeStatus
sale_loyalty_reward_wizard_view_form_multi_gift sale.loyalty.reward.wizard form Inherits sale_loyalty.sale_loyalty_reward_wizard_view_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 4

New fields (6)
  • gift_ids Many2many
    related='line_id.reward_product_ids'
  • line_id Many2one → loyalty.reward.product_line
    comodel_name='loyalty.reward.product_line'
  • multi_gift_ids One2many
    related='wizard_id.loyalty_multi_gift_ids'
  • reward_id Many2one
    related='wizard_id.selected_reward_id' store=True
  • selected_gift_id Many2one → product.product
    comodel_name='product.product' compute='_compute_selected_gift_id' domain="[('id', 'in', gift_ids)]" readonly=False store=True
  • wizard_id Many2one → sale.loyalty.reward.wizard
    comodel_name='sale.loyalty.reward.wizard'
Public methods (0)

No public methods.

New fields (3)
  • loyalty_gift_line_ids One2many → sale.loyalty.reward.product_line.wizard
    comodel_name='sale.loyalty.reward.product_line.wizard' compute='_compute_loyalty_gift_line_ids' inverse_name='wizard_id' readonly=False store=True string='Loyalty Gift Lines'
  • loyalty_multi_gift_ids One2many
    related='selected_reward_id.loyalty_multi_gift_ids'
  • multi_gift_reward Boolean
    related='selected_reward_id.multi_gift'
Public methods (1)
  • action_apply(self)

New fields (0)

No new fields.

Public methods (1)
  • action_open_reward_wizard(self)

New fields (2)
  • multi_gift_reward_line_id Many2one → loyalty.reward.product_line
    comodel_name='loyalty.reward.product_line' readonly=True
  • multi_gift_reward_line_id_option_product_id Many2one → product.product
    comodel_name='product.product' readonly=True
Public methods (0)

No public methods.

Loading…

Loading…