Laundry Management

An end-to-end Odoo solution for laundry businesses to automate order tracking, washing workflows, and customer management

Skills You'll Gain:
Odoo Module Development Workflow Automation Custom Model Design Security Rules
38 Tasks

Project Tasks

21. Set Up Access Rights

After implementing the work type model you need to set up the access rights

Implementation Steps:
  1. Grant read permission to the User group.
  2. Grant full permission to the Managers group.

22. Add additional work feature.

Your customer needs to manage the additional work associated with laundry orders. This will allow users to specify the additional work for each product or dress, along with the associated costs and the assigned user responsible for the work.

Implementation Steps:
  1. Implement a model for additional work with the following fields:
    • Name: A text field for the name of the additional work.
    • Charge: A numeric field to indicate the cost associated with each work.
    • Assigned User: Relational field to select only one staff member responsible for completing this work. has relation with res.users model.
Constraints:
  1. All fields are required
  2. Charge field should be greater than 0

23. Add additional work list view.

Your customer needs to view all the created additional works as a list

Implementation Steps:
  1. Add menu item called Additional Works under the Configuration menu
  2. When user clicks on Additional Works menu item, list view displayed with the following columns
    • Name
    • Assigned Person
    • Charge

24. Set Up Access Rights

After implementing the additional work model you need to set up the access rights

Implementation Steps:
  1. Grant read permission to the User group.
  2. Grant full permission to the Managers group.

25. Add laundry order line model.

Add new model to represent individual line items within a laundry order. Each line specifies a product (such as a dress) that requires laundry services, along with details about the quantity, type of washing, and any additional services needed

Implementation Steps:
  1. Implement a model for laundry order line with the following fields:
    • Dress: Name of the product (dress) associated with this order line, it is relational field with product.product model.
    • No Of Items: Number of items for this order line, indicating quantity.
    • Description: Description of the order line, providing additional details.
    • Washing Type: Type of wash selected for this order line, it is relational field with wash.type model.
    • Extra Work: Additional work items that may be required for this order line, it is relational field with additional.work model.
    • Amount: Total amount for this order line, computed based on quantities and charges.
    • Status: Current status of the order line ( Draft, Washing, Make Over, Canceled, Done), and system should Track the current state of each order line
Constraints:
  1. Dress, Quantity, and Wash Type fields are required

26. Calculate the order line amount automatically.

Automatically computes the total cost for each line item based on selected services and quantities.

Implementation Steps:
  1. Modify the amount field in laundry.order.line model to be computed automatically as the following:
    • Get the charge associated with the selected washing type from the Wash Type field.
    • If any extra work items are selected in Extra Work field, get its charge.
    • The total amount for the line item can be calculated using the following formula: Amount=(Washing Type Charge+Extra Work Charges)×Quantity
    • Ensure that the amount is recalculated whenever any of the relevant fields are updated (washing type, extra work, or quantity)

27. Set Up Access Rights

After implementing the laundry order line model you need to set up the access rights

Implementation Steps:
  1. Grant read and write permissions to the User group.
  2. Grant full permission to the Managers group.

28. Add laundry order feature.

Your customer needs to manage the laundry orders.

Implementation Steps:
  1. Implement a model for laundry orders with the following fields:
    • Order REF: Sequence name of the laundry order starts with LO, it should be filled automatically once user create the laundry order
    • Customer: Name of the customer associated with this order, it is relational field with res.partner model.
    • Date: Date when the order was created, filled by default with the current date.
    • Invoice Address: Invoice address for the current order, it is relational field with res.partner model.
    • Delivery Address: delivery address for the current order, it is relational field with res.partner model.
    • Order Lines: Order lines of laundry orders, detailing each item in the order., it is relational field with laundry order line model.
    • Currency: Name of the currency used for the order, it is relational field with res.currency model.
    • Total: Total amount for the laundry order, computed from order lines.
    • Note: Terms and conditions associated with the order.
    • State: Current status of the order ( Draft,Laundry Order, Processing, Done, Canceled), and system should Track the current state of each order.
Constraints:
  1. Customer, Invoice Address, Shipping Address, and order lines fields are required

29. Add message chatter to the laundry order form.

Your customer needs to view logs and discuss with other users about laundry order, So that he can collaborate on order-related updates and track changes<

Implementation Steps:
  1. Use mail.thread and mail.activity.mixin mixin classes.
  2. Add chatter fields to the Laundry Order form.

30. Set Up Access Rights For Laundry Order Model

After implementing the laundry order model you need to set up the access rights

Implementation Steps:
  1. Grant read and write permissions to the User group.
  2. Grant full permission to the Managers group.