Skip to content
Health
77/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by15/25
    1 module depends on it
  • Maturity12/25
    In 2 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
1
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.11 MB
Module directory on disk
Code analysis 4 migration notes 3 models 5 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 5

XML IDNameModelTypeStatus
stock_average_daily_sale_config_form_view stock.average.daily.sale.config.form stock.average.daily.sale.config form New
stock_average_daily_sale_config_tree_view stock.average.daily.sale.config.tree stock.average.daily.sale.config tree New
stock_daily_sale_search_view stock.daily.sale.search (in stock_average_daily_sale) stock.average.daily.sale search New
stockdaily_sale_form_view stock.daily.sale.form (in stock_average_daily_sale) stock.average.daily.sale form New
stockdaily_sale_tree_view stock.daily.sale.tree (in stock_average_daily_sale) stock.average.daily.sale tree New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (17)
  • abc_classification_level Selection
    index=True readonly=True required=True selection=ABC_SELECTION string='ABC'
  • average_daily_qty Float
    digits='Product Unit of Measure' help='The quantity delivered on average on one day for this product on the period.' required=True
  • average_daily_sales_count Float
    digits='Product Unit of Measure' help='How much deliveries on average for this product on the period.' required=True
  • average_qty_by_sale Float
    digits='Product Unit of Measure' help='The quantity delivered on average for one delivery of this product on the period.' required=True
  • config_id Many2one → stock.average.daily.sale.config
    comodel_name='stock.average.daily.sale.config' required=True string='Stock Average Daily Sale Configuration'
  • daily_standard_deviation Float
    required=True string='Daily Qty Standard Deviation'
  • date_from Date
    required=True string='From'
  • date_to Date
    required=True string='To'
  • is_mto Boolean
    index=True readonly=True store=True string='On Order'
  • location_id Many2one → stock.location
    comodel_name='stock.location' required=True
  • max_daily_qty Float
    digits='Product Unit of Measure' help='The max quantity delivered on one day for this product on the period.' required=True
  • nbr_sales Integer
    help='The total amount of deliveries for this product over the complete period' required=True string='Number of Sales'
  • product_id Many2one → product.product
    comodel_name='product.product' index=True required=True string='Product'
  • recommended_qty Float
    compute='_compute_recommended_qty' digits='Product Unit of Measure' help='Minimal recommended quantity in stock. Formula: average daily qty * number days in stock + safety' required=True
  • safety Float
    compute='_compute_safety' help='Safety stock to cover the variability of the quantity delivered each day. Formula: daily standard deviation * safety factor * sqrt(nbr days in the period)' required=True
  • sale_ok Boolean
    help='Specify if the product can be selected in a sales order line.' index=True readonly=True string='Can be Sold'
  • warehouse_id Many2one → stock.warehouse
    comodel_name='stock.warehouse' required=True
Public methods (5)
  • get_refresh_date(self)
    @api.model
  • init(self)
  • refresh_view(self)
    @api.model
  • search(self, domain, offset=0, limit=None, order=None, count=False)
    @api.model
  • set_refresh_date(self, date=None)
    @api.model

New fields (11)
  • abc_classification_level Selection
    default='b' required=True selection=ABC_SELECTION
  • active Boolean
    default=True
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> required=True string='Company'
  • exclude_weekends Boolean
    help="Set to True only if you do not expect any orders/deliveries during the weekends. If set to True, stock moves done on weekends won't be taken into account to calculate the average daily usage"
  • location_id Many2one → stock.location
    check_company=True comodel_name='stock.location' compute='_compute_average_daily_sale_root_location_id' precompute=True readonly=False required=True store=True string='Location'
  • number_days_qty_in_stock Integer
    default=2 required=True string='Number of days of quantities in stock'
  • number_sales_qty_in_stock Integer
    default=2 required=True string='Number of sales quantities in stock'
  • period_name Selection
    required=True selection=[('year', 'Years'), ('month', 'Months'), ('week', 'Weeks'), ('day', 'Days')] string='Period analyzed unit'
  • period_value Integer
    required=True args: 'Period analyzed value'
  • safety_factor Float
    digits=(2, 2) required=True
  • warehouse_id Many2one → stock.warehouse
    check_company=True comodel_name='stock.warehouse' default=<expr> ondelete='cascade' required=True string='Warehouse'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…