Repository
OCA/stock-weighing · module folder · Try on Runboat
Module version
1.0.0
Category
Inventory
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
Yes
Website
https://github.com/OCA/stock-weighing
Last tracking update
2026-08-03 11:48:46
Authors
Tecnativa, Odoo Community Association (OCA)
Maintainers
Tecnativa, Odoo Community Association (OCA)
Committers
sergio-teruel, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
Apply the *Stock Owner Restriction* rules configured on the operation type
to the weighing assistant: the manual stock (quant) picker and the lot
picker only offer quants/lots the user is actually allowed to pick from.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
weighing_wizard_form_view weighing.wizard.form - owner restriction weighing.wizard form Inherits stock_weighing.weighing_wizard_form_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (3)
  • available_quant_ids Many2many → stock.quant
    comodel_name='stock.quant' compute='_compute_available_quant_ids'
  • owner_restriction Selection
    related='move_id.owner_restriction'
  • restricted_owner_id Many2one
    related='move_id.restricted_owner_id'
Public methods (0)

No public methods.