Shipment Advice
shipment_advice · OCA/stock-logistics-transport
Health
90/100
good
-
Security25/25No findings
-
Activity20/25Last human commit 9 months ago
-
Required by20/253 modules depend on it
-
Maturity25/25In 5 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
Required by
3
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.57 MB
Module directory on disk
Code analysis
1 migration note
11 models
24 views
0 HTTP endpoints
Migration considerations
ShipmentAdvice— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Manage your (un)loading process through shipment advices.
Dependencies
- Odoo dependencies
- Python dependencies
- requests
- System dependencies
- None
- Required by
- printing_auto_shipment_advice, shipment_advice_planner, shopfloor_delivery_shipment
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 24
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
package_level_tree_view_picking |
stock.package_level.tree.inherit | stock.package_level | tree | Inherits stock.package_level_tree_view_picking |
report_shipment_advice |
report_shipment_advice | ir.ui.view | qweb | New |
report_shipment_advice_document |
report_shipment_advice_document | ir.ui.view | qweb | New |
res_config_settings_view_form |
res.config.settings.view.form.inherit.shipment.advice | res.config.settings | form | Inherits stock.res_config_settings_view_form |
shipment_advice_view_calendar |
shipment.advice.calendar | shipment.advice | calendar | New |
shipment_advice_view_form |
shipment.advice.form | shipment.advice | form | New |
shipment_advice_view_search |
shipment.advice.search | shipment.advice | search | New |
shipment_advice_view_tree |
shipment.advice.tree | shipment.advice | list | New |
stock_move_line_limited_view_tree |
stock.move.line.limited.tree | stock.move.line | list | New |
stock_move_line_view_search |
stock.move.line.search.inherit | stock.move.line | search | Inherits stock.stock_move_line_view_search |
stock_package_level_limited_view_tree |
stock.package_level.limited.tree | stock.package_level | list | New |
stock_picking_limited_view_tree |
stock.picking.limited.tree | stock.picking | list | New |
stock_picking_loading_progress_view_tree |
stock.picking.loading.progress.tree | stock.picking | list | New |
view_move_line_tree |
stock.move.line.tree.inherit | stock.move.line | tree | Inherits stock.view_move_line_tree |
view_move_search |
stock.move.search.inherit | stock.move | search | Inherits stock.view_move_search |
view_move_tree |
stock.move.tree.inherit | stock.move | tree | Inherits stock.view_move_tree |
view_picking_form |
stock.picking.form.inherit | stock.picking | form | Inherits stock.view_picking_form |
view_picking_internal_search |
stock.picking.search.inherit | stock.picking | search | Inherits stock.view_picking_internal_search |
view_stock_move_line_detailed_operation_tree |
stock.move.line.detailed.operation.tree.inherit | stock.move.line | tree | Inherits stock.view_stock_move_line_detailed_operation_tree |
vpicktree |
stock.picking.tree.inherit | stock.picking | tree | Inherits stock.vpicktree |
wizard_load_shipment_form |
wizard.load.shipment.form | wizard.load.shipment | form | New |
wizard_plan_shipment_form |
wizard.plan.shipment.form | wizard.plan.shipment | form | New |
wizard_unload_shipment_form |
wizard.unload.shipment.form | wizard.unload.shipment | form | New |
wizard_unplan_shipment_form |
wizard.unplan.shipment.form | wizard.unplan.shipment | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 11
New fields (3)
-
shipment_advice_auto_close_incomingBooleanhelp='This flag indicates if an incoming shipment advice will be automatically set to done if all related moves are done or canceled'string='Shipment Advice: Auto Close Incoming Advices' -
shipment_advice_outgoing_backorder_policySelectiondefault='create_backorder'help="If you want that closing an outgoing shipment advice marks as done all related deliveries and creates backorder in case of partial choose 'Create backorder'.\nIf you want to mark deliveries as done only when they are all loaded in a shipment advice choose 'Leave open'. This last option is useful when your deliveries will be shipped by several trucks."selection=[('create_backorder', 'Create backorder'), ('leave_open', 'Leave open')]string='Shipment Advice: Outgoing backorder policy' -
shipment_advice_run_in_queue_jobBooleanhelp='To prevent timeouts for large shipments, enable this option to execute shipment advice validation through a queued jobs. Each picking will be validated in a separate job.'string='Run shipment advice in queue job'
No public methods.
New fields (3)
-
shipment_advice_auto_close_incomingBooleanreadonly=Falserelated='company_id.shipment_advice_auto_close_incoming' -
shipment_advice_outgoing_backorder_policySelectionreadonly=Falserelated='company_id.shipment_advice_outgoing_backorder_policy' -
shipment_advice_run_in_queue_jobBooleanreadonly=Falserelated='company_id.shipment_advice_run_in_queue_job'
No public methods.
New fields (27)
-
arrival_dateDatetimehelp='When will the shipment arrive at the (un)loading dock. It is a planned date until in progress, then it represents the real one.' -
carrier_idsMany2many → delivery.carriercomodel_name='delivery.carrier'compute='_compute_carrier_ids'help="Concerned shipping method for this shipment advice. It can be used to determine what are the eligible deliveries to load in the shipment when you don't have planned content (e.g. through the shopfloor application)."string='Related shipping methods' -
company_idMany2one → res.companycomodel_name='res.company'index=Truereadonly=Truerelated='warehouse_id.company_id'store=Truestring='Company' -
departure_dateDatetimehelp='When will the shipment leave the (un)loading dock. It is a planned date until in progress, then it represents the real one.' -
dock_idMany2one → stock.dockcomodel_name='stock.dock'domain="[('warehouse_id', '=', warehouse_id)]"index=Trueondelete='restrict'string='Loading dock' -
error_messageTexttracking=True -
line_to_load_idsOne2many → stock.move.linecomodel_name='stock.move.line'compute='_compute_line_to_load_ids'help="Lines to load in priority.\nIf the shipment is planned, it'll return the planned lines.\nIf the shipment is not planned, it'll return lines from transfers partially loaded." -
lines_to_load_countIntegercompute='_compute_count' -
loaded_move_line_idsOne2many → stock.move.linecheck_company=Truecomodel_name='stock.move.line'inverse_name='shipment_advice_id'string='Loaded content list' -
loaded_move_line_without_package_idsOne2many → stock.move.linecheck_company=Truecomodel_name='stock.move.line'domain=[('package_level_id', '=', False)]inverse_name='shipment_advice_id'string='Loaded content list (w/o packages)' -
loaded_move_lines_without_package_countIntegercompute='_compute_count' -
loaded_package_idsOne2many → stock.quant.packagecomodel_name='stock.quant.package'compute='_compute_package_ids'string='Packages' -
loaded_package_level_idsOne2many → stock.package_levelcomodel_name='stock.package_level'compute='_compute_package_ids'string='Package Levels' -
loaded_packages_countIntegercompute='_compute_count' -
loaded_picking_idsOne2many → stock.pickingcomodel_name='stock.picking'compute='_compute_picking_ids'string='Loaded transfers' -
loaded_pickings_countIntegercompute='_compute_count' -
nameCharcopy=Falsedefault='/'index=Truereadonly=Truerequired=True -
planned_move_idsOne2many → stock.movecheck_company=Truecomodel_name='stock.move'inverse_name='shipment_advice_id'string='Planned content list' -
planned_moves_countIntegercompute='_compute_count' -
planned_picking_idsOne2many → stock.pickingcomodel_name='stock.picking'compute='_compute_picking_ids'string='Planned transfers' -
planned_pickings_countIntegercompute='_compute_count' -
refCharstring='Consignment/Truck\xa0Ref.' -
run_in_queue_jobBooleandefault=<expr> -
shipment_typeSelectiondefault='outgoing'help='Use incoming to plan receptions, use outgoing for deliveries.'readonly=Truerequired=Trueselection=[('outgoing', 'Outgoing'), ('incoming', 'Incoming')]string='Type' -
stateSelectiondefault='draft'selection=[('draft', 'Draft'), ('confirmed', 'Confirmed'), ('in_progress', 'In progress'), ('in_process', 'In process'), ('error', 'Error'), ('done', 'Done'), ('cancel', 'Cancelled')]string='Status'tracking=True -
total_loadFloatcompute='_compute_total_load'digits=(16, 2)string='Total load (kg)' -
warehouse_idMany2one → stock.warehousecheck_company=Truecomodel_name='stock.warehouse'default=_default_warehouse_idondelete='cascade'required=Truestring='Warehouse'
-
action_cancel(self) -
action_confirm(self) -
action_done(self) -
action_draft(self) -
action_in_progress(self) -
auto_close_incoming_shipment_advices(self)Set incoming shipment advice to done when all planned moves are processed -
button_open_deliveries_in_progress(self) -
button_open_loaded_move_lines(self) -
button_open_loaded_packages(self) -
button_open_loaded_pickings(self) -
button_open_planned_moves(self) -
button_open_planned_pickings(self) -
button_open_receptions_in_progress(self) -
button_open_to_load_move_lines(self) -
create(self, vals_list)@api.model_create_multi
New fields (1)
-
shipment_advice_idMany2one → shipment.advicecomodel_name='shipment.advice'copy=Falseindex=Trueondelete='set null'string='Planned shipment'
No public methods.
New fields (1)
-
shipment_advice_idMany2one → shipment.advicecomodel_name='shipment.advice'index=Trueondelete='set null'string='Shipment advice'
-
button_load_in_shipment(self)
New fields (3)
-
package_shipping_weightFloatrelated='package_id.shipping_weight' -
package_shipping_weight_uom_nameCharcompute='_compute_package_shipping_weight_uom_name'store=False -
shipment_advice_idMany2onerelated='move_line_ids.shipment_advice_id'
-
button_load_in_shipment(self)
New fields (17)
-
is_fully_loaded_in_shipmentBooleancompute='_compute_loaded_in_shipment'string='Is fully loaded in a shipment?' -
is_partially_loaded_in_shipmentBooleancompute='_compute_loaded_in_shipment'string='Is partially loaded in a shipment?' -
loaded_move_lines_countIntegercompute='_compute_shipment_loaded_progress' args: 'Bulk lines loaded' -
loaded_move_lines_progressCharcompute='_compute_shipment_loaded_progress' args: 'Bulk lines loaded/total' -
loaded_move_lines_progress_fFloatcompute='_compute_shipment_loaded_progress'digits=(3, 2) args: 'Bulk lines loaded/total %' -
loaded_packages_countIntegercompute='_compute_shipment_loaded_progress' args: 'Packages loaded' -
loaded_packages_progressCharcompute='_compute_shipment_loaded_progress' args: 'Packages loaded/total' -
loaded_packages_progress_fFloatcompute='_compute_shipment_loaded_progress'digits=(3, 2) args: 'Packages loaded/total %' -
loaded_progressCharcompute='_compute_shipment_loaded_progress' args: 'Loaded/total' -
loaded_progress_fFloatcompute='_compute_shipment_loaded_progress'digits=(3, 2) args: 'Loaded/total %' -
loaded_shipment_advice_idsMany2many → shipment.advicecompute='_compute_loaded_in_shipment' args: 'shipment.advice' -
loaded_waiting_quantityFloatcompute='_compute_shipment_loaded_progress' args: 'Waiting Quantity' -
loaded_weightIntegercompute='_compute_shipment_loaded_progress' -
loaded_weight_progressCharcompute='_compute_shipment_loaded_progress' args: 'Weight/total' -
planned_shipment_advice_idMany2one → shipment.advicecomodel_name='shipment.advice'index=Truerelated='move_ids.shipment_advice_id'store=True -
total_move_lines_countIntegercompute='_compute_shipment_loaded_progress' args: 'Total bulk lines' -
total_packages_countIntegercompute='_compute_shipment_loaded_progress' args: 'Total packages'
-
button_load_in_shipment(self) -
button_plan_in_shipment(self) -
button_unload_from_shipment(self)
New fields (6)
-
move_line_idsMany2many → stock.move.linecomodel_name='stock.move.line'string='Products to load' -
open_shipmentBooleandefault=True -
package_level_idsMany2many → stock.package_levelcomodel_name='stock.package_level'string='Packages to load' -
picking_idsMany2many → stock.pickingcomodel_name='stock.picking'string='Transfers to load' -
shipment_advice_idMany2one → shipment.advicecomodel_name='shipment.advice'domain=[('state', 'in', ('confirm', 'in_progress', 'error'))]required=Truestring='Shipment Advice' -
warningCharreadonly=True
-
action_load(self)Load the selected records in the selected shipment. -
default_get(self, fields_list)@api.model'default_get' method overloaded.
New fields (4)
-
move_idsMany2many → stock.movecomodel_name='stock.move'string='Moves to plan' -
picking_idsMany2many → stock.pickingcomodel_name='stock.picking'string='Transfers to plan' -
shipment_advice_idMany2one → shipment.advicecomodel_name='shipment.advice'domain=[('state', 'in', ('draft', 'confirmed', 'error'))]required=Truestring='Shipment Advice' -
warningCharreadonly=True
-
action_plan(self)Plan the selected records in the selected shipment. -
default_get(self, fields_list)@api.model'default_get' method overloaded.
New fields (3)
-
move_line_idsMany2many → stock.move.linecomodel_name='stock.move.line'string='Products to unload' -
picking_idsMany2many → stock.pickingcomodel_name='stock.picking'string='Transfers to unload' -
warningCharreadonly=True
-
action_unload(self)Unload the selected records from their related shipment. -
default_get(self, fields_list)@api.model'default_get' method overloaded.
New fields (3)
-
move_idsMany2many → stock.movecomodel_name='stock.move'string='Moves to unplan' -
picking_idsMany2many → stock.pickingcomodel_name='stock.picking'string='Transfers to unplan' -
warningCharreadonly=True
-
action_unplan(self)Unplan the selected records from their related shipment. -
default_get(self, fields_list)@api.model'default_get' method overloaded.
Loading…
Loading…
Loading…
Loading…