TIP: You can type at any time to perform a new search.
Weighing assistant
stock_weighing · OCA/stock-weighing
- Repository
- OCA/stock-weighing · module folder · Try on Runboat
- Module version
- 1.3.0
- Category
- Inventory
- Folder size
- 2.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
- GitHub, sergio-teruel, Carlos Roca, Weblate, OCA-git-bot, oca-ci, Andrii9090-tecnativa
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- mrp_weighing, partner_delivery_zone_weighing, sale_elaboration_weighing, sale_stock_weighing, stock_picking_batch_weighing, stock_weighing_auto_create_lot, stock_weighing_auto_package, stock_weighing_brand, stock_weighing_owner_restriction, stock_weighing_remote_measure
- Description
A shopfloor assistant for weighing on stock operations.
Code Analysis ⓘ
Views touched (14)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
report_delivery_document |
report_delivery_document | ir.ui.view | qweb | Inherits stock.report_delivery_document |
report_weight_record_label |
report_weight_record_label | ir.ui.view | qweb | New |
stock_move_line_weight_kanban_view |
stock.move.line | kanban | New | |
stock_move_weight_form_view |
stock.move | form | New | |
stock_picking_type_kanban |
stock.picking.type | kanban | Inherits stock.stock_picking_type_kanban | |
stock_report_delivery_has_serial_move_line |
stock_report_delivery_has_serial_move_line | ir.ui.view | qweb | Inherits stock.stock_report_delivery_has_serial_move_line |
view_move_line_tree_detailed |
stock.move.line | tree | Inherits stock.view_move_line_tree_detailed | |
view_move_search |
stock.move | search | Inherits stock.view_move_search | |
view_move_weight_kanban_view |
stock.move | kanban | New | |
view_picking_form |
stock.picking | form | Inherits stock.view_picking_form | |
view_picking_type_form |
stock.picking.type | form | Inherits stock.view_picking_type_form | |
view_stock_move_line_detailed_operation_tree |
stock.move.line | tree | Inherits stock.view_stock_move_line_detailed_operation_tree | |
view_stock_move_line_operation_tree |
stock.move.line | tree | Inherits stock.view_stock_move_line_operation_tree | |
weighing_wizard_form_view |
weighing.wizard | form | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (7)
New fields (0)
No new fields.
Public methods (1)-
run_action(self)
New fields (12)
-
is_weighing_operation_lockedBooleancompute='_compute_is_weighing_operation_locked' -
lot_namesCharcompute='_compute_lot_names' -
move_lines_weighedBooleancompute='_compute_recorded_weight' -
origin_namesCharcompute='_compute_origin_names' -
qty_pickedFloatcompute='_compute_qty_picked'digits='Product Unit of Measure'readonly=Falsestore=True -
recorded_weightFloatcompute='_compute_recorded_weight'digits='Product Unit of Measure' -
self_move_idsMany2many → stock.movecomodel_name='stock.move'compute='_compute_self_move_ids' -
show_weighing_print_buttonBooleancompute='_compute_show_weighing_print_button' -
weighing_label_report_idMany2onerelated='picking_type_id.weighing_label_report_id' -
weighing_stateSelectioncompute='_compute_weighing_state'selection=[('weighed', 'Weighed'), ('weighing', 'Weighing'), ('to_weigh', 'To weigh')]store=True -
weighing_state_colorIntegercompute='_compute_weighing_state_color' -
weighing_user_idMany2one → res.userscomodel_name='res.users'help="This user is weighing the record, so it's locked by him"
-
action_add_move_line(self)Open the weight wizard to add a new operation weight -
action_force_weighed(self) -
action_lock_weighing_operation(self)Avoid other that other user to modify the weight operation -
action_print_weight_record_label(self)Get operations labels -
action_reset_weights(self)Restore stock move lines weights -
action_unlock_weigh_operation(self)Unlock the weigh operation -
action_weighing(self)Open the wizard to record weights -
action_weight_detailed_operations(self)Weight detailed operations for this picking -
search_fetch(self, domain, field_names, offset=0, limit=None, order=None) -
set_product_uom_qty_to_qty_done_from_weighing(self)
New fields (5)
-
has_recorded_weightBooleanhelp='The weight was set from the wizard' -
qty_pickedFloatdigits='Product Unit of Measure'readonly=Falsestore=True -
recorded_weightFloatdigits='Product Unit of Measure' -
weighing_dateDatetime -
weighing_user_idMany2one → res.userscomodel_name='res.users'
-
action_print_weight_record_label(self)Get detailed operations weighing labels -
action_reset_weights(self)Restore stock move lines weights -
action_weighing(self)Open the wizard to record weights
New fields (2)
-
has_weighing_operationsBooleancompute='_compute_has_weighing_operations' -
weighing_operationsBooleanrelated='picking_type_id.weighing_operations'
-
action_weighing_operations(self)Weighing operations for this picking -
button_validate(self)
New fields (5)
-
print_weighing_labelBooleanhelp='Print the weight operation label automatically' -
to_do_weightsIntegercompute='_compute_to_do_weights' -
weighing_label_report_idMany2one → ir.actions.reportcomodel_name='ir.actions.report'domain=[('model', '=', 'stock.move.line')]help='Choose a custom label template for this operation type' -
weighing_operationsBooleanhelp='Weighed products are done from weighing operations' -
weight_move_idsMany2many → stock.movecomodel_name='stock.move'compute='_compute_weight_move_ids'
-
action_weighing_operations(self)Weighing operations for this picking
New fields (1)
-
has_weightBooleancompute='_compute_has_weight'search='_search_has_weight'
No public methods.
New fields (20)
-
available_lot_idsMany2many → stock.lotcomodel_name='stock.lot'compute='_compute_available_lot_ids' -
available_result_package_idsMany2many → stock.quant.packagecomodel_name='stock.quant.package'compute='_compute_available_result_package_ids' -
has_weightBooleancompute='_compute_has_weight'readonly=False -
label_report_idMany2one → ir.actions.reportcomodel_name='ir.actions.report' -
location_dest_idMany2one → stock.locationcomodel_name='stock.location'related='move_id.location_dest_id' -
location_idMany2one → stock.locationcomodel_name='stock.location'related='move_id.location_id' -
lot_idMany2one → stock.lotcomodel_name='stock.lot'compute='_compute_lot_id'domain="[('id', 'in', available_lot_ids)]"readonly=Falsestore=True -
move_idMany2one → stock.movecomodel_name='stock.move' -
move_line_idsMany2many → stock.move.linecomodel_name='stock.move.line' -
owner_idMany2one → res.partnercomodel_name='res.partner'related='selected_move_line_id.owner_id' -
package_idMany2one → stock.quant.packagecomodel_name='stock.quant.package'related='selected_move_line_id.package_id' -
print_labelBooleanhelp='Print label after the weight record' -
product_idMany2one → product.productcomodel_name='product.product'related='move_id.product_id'store=True -
product_trackingSelectionrelated='product_id.tracking' -
quant_idMany2one → stock.quantargs: 'stock.quant', 'Pick From' -
result_package_idMany2one → stock.quant.packagedomain="[('id', 'in', available_result_package_ids)]"help='If set, the operations are packed into this package' args: 'stock.quant.package', 'Destination Package' -
selected_move_line_idMany2one → stock.move.linecomodel_name='stock.move.line' -
show_quantBooleanrelated='move_id.show_quant' -
weightFloatdigits='Product Unit of Measure' -
wizard_stateSelectiondefault='weight'selection=[('weight', 'Weight'), ('new_move_line', 'Add Operation')]
-
action_close(self)Close but unlock the operation -
add_operation_and_record(self)New detailed operation from the kanban card -
record_weight(self)Register the operation weight -
reload_action_wizard(self)Helper method to be called by buttons in weighing wizard -
unlink(self)Ensure that the wizard cleanup releases the weighing operations
Loading…