odoo/tutorials#683

Created by Atri Shaileshkumar Patel (atpa)

Blocked

label
odoo-dev:18.0-final-assignment-purchase-order-containerisation-atpa
head
b07e9bb8828e306208b0587942fc53e47622de63
odoo/tutorials
18.0 #683 missing r+
19.0
master

[ADD] purchase_order_containerisation: created operation type containerisation

Containerisation Feature for Supplier Pruchase Orders

Overview:
Implemented a containerisation feature, allowing users to efficiently manage stock moves for supplier orders. The feature provides a streamlined process for selecting supplier, identifying related stock moves, and organizing them into containers. This ensures enhanced tracking and management of orders throughout their lifecycle, from production to delivery.

Key Features:
- New Operation Type: A new 'Containerisation' operation type has been created to facilitate the containerization process and streamline stock management.

  • Three-Step Wizard:
    1. User selects a supplier from the dropdown.
    2. User selects the stock moves (by adding quantity to containerize) related to the supplier.
    3. User chooses to create a new container or add to an existing container.

  • Containerization Workflow:
    1. Create New Container: A new container can be created with a destination location.
    2. Add to Existing Container: Users can add stock moves to an existing container. The container list to show only existing
    containers related to the selected supplier and which are not on water.
    3. Non-Blocking Warning: If stock moves have different destination locations, a warning appears.

  • Transfer Creation: A new transfer is generated with a special reference format, ensuring proper tracking.

  • Lifecycle Statuses: The container goes through various stages, including:
    1. In Production, Containerised, On Water, Customs, Booked In.
    2. The lifecycle statuses allow users to track the container’s progress through each phase.

  • PO and Transfer Linkage: When a transfer is validated (in 'Containerised' state):
    1. Removes containerized quantities from the original transfer.
    2. Cancels the original transfer if no quantities remain.
    3. Links new transfer lines to the original POs for accurate delivery tracking.

  • State Restrictions: Users can only add lines to containers if they are in Draft or Ready states.

  • Tracking Requirement: For statuses On Water, tracking details are required for accurate reporting.

This feature improves the efficiency and accuracy of managing supplier's purchase orders and inventory transfers. By automating the process of containerizing stock moves and tracking them through various stages, the system improves visibility, and streamlines supply chain operations. This will ultimately lead to better decision-making, optimized stock management, and smoother supplier collaboration.