Repository
OCA/stock-weighing · module folder · Try on Runboat
Module version
1.0.1
Category
MRP
Folder size
0.07 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/stock-weighing
Last tracking update
2026-08-07 08:42:56
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
sergio-teruel, Weblate, OCA-git-bot, oca-ci, Andrii9090-tecnativa
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
Weighing production finished moves

Possibility of closing a Manufacturing Order from Inventory Operations

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
mrp_production_form_view mrp.production form Inherits mrp.mrp_production_form_view
mrp_production_kanban mrp.production kanban Inherits mrp.mrp_production_kanban_view
mrp_production_view_move_weight_kanban_view stock.move kanban Inherits stock_weighing.view_move_weight_kanban_view
mrp_production_view_picking_type_form stock.picking.type form Inherits stock.view_picking_type_form
weighing_wizard_form_view_inherit weighing.wizard form Inherits stock_weighing.weighing_wizard_form_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (8)

New fields (2)
  • has_weighing_operations Boolean
    compute='_compute_has_weighing_operations'
  • weighing_operations Boolean
    related='picking_type_id.weighing_operations'
Public methods (1)
  • action_weighing_operations(self)
    Weighing operations for this production order

New fields (0)

No new fields.

Public methods (1)
  • run_action(self)

New fields (1)
  • is_has_production Boolean
    compute='_compute_is_has_production'
Public methods (2)
  • action_add_move_line(self)
  • action_mrp_production_weighing(self)
    @api.model
    Used in the start screen

New fields (1)
  • selected_quant_id Many2one → stock.quant
    comodel_name='stock.quant' readonly=True
Public methods (1)
  • action_reset_weights(self)

New fields (1)
  • close_production Boolean
    readonly=True related='picking_type_id.close_production'
Public methods (1)
  • button_validate(self)

New fields (1)
  • close_production Boolean
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • name_get(self)

New fields (4)
  • component_available_stock_quant_ids Many2many → stock.quant
    comodel_name='stock.quant' compute='_compute_component_available_stock_quant_ids'
  • component_quant_id Many2one → stock.quant
    comodel_name='stock.quant' domain="[('id', 'in', component_available_stock_quant_ids)]" string='Select component lot'
  • is_production Boolean
    compute='_compute_is_production' store=True
  • lot_id Many2one
    compute='_compute_lot_id'
Public methods (2)
  • add_operation_and_record(self)
  • record_weight(self)

Loading…