Skip to content
Health
35/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 129 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 7.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.02 MB
Module directory on disk
Code analysis 7 migration notes 3 models 1 view 0 HTTP endpoints

Description

This module allows you to check that:

* a location is empty (no product)
* a location has no active sub-locations

before setting it as inactive.

It also modify the Inventory Analysis report to hide inactive locations.

Contributors

  • Maxime Chambreuil (maxime.chambreuil@savoirfairelinux.com)
  • El Hadji Dem (elhadji.dem@savoirfairelinux.com)

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 1

XML IDNameModelTypeStatus
view_stock_location_active_form stock.location form Inherits stock.view_location_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (0)

No new fields.

Public methods (1)
  • init(self, cr)

New fields (0)

No new fields.

Public methods (2)
  • onchange_active_field(self, cr, uid, ids, active, context=None)
  • write(self, cr, uid, ids, vals, context=None)

New fields (0)

No new fields.

Public methods (1)
  • action_done(self, cr, uid, ids, context=None)
    Override the action_done to add constraint to check if the location_dest is disable