Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WMS][12.0] Add vertical lift support - alpha version #633

Closed
wants to merge 50 commits into from

Commits on Sep 19, 2019

  1. Prototype for kardex UI

    guewen committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    7e4a750 View commit details
    Browse the repository at this point in the history
  2. Add tray types

    guewen committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    bae9b34 View commit details
    Browse the repository at this point in the history
  3. Autogenerate tray sublocations

    guewen committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    4096154 View commit details
    Browse the repository at this point in the history
  4. Add kardex attribute on stock locations

    The kardex_tray field indicates it is a tray, but we still needed
    to identify a whole kardex shelf. On the 'stock.kardex' model, we
    must select the corresponding location.
    guewen committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    97ba5a8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b2beb62 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b053444 View commit details
    Browse the repository at this point in the history
  7. Color cells in blue when contains stock (remove random)

    Add a tray_matrix widget on stock location form view for convenience:
    easy to see which cells contain stock or not.
    guewen committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    404cf86 View commit details
    Browse the repository at this point in the history
  8. Fix UI issues in kardex screen

    * Display "No operations" when we have cleared the queue
    * Hide the information fields when there is no operation to do
    *
    guewen committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    488b5c7 View commit details
    Browse the repository at this point in the history
  9. Rationalize stock location fields for kardex

    Setup a hierarchy:
    
     * A View
       * contains Shuttles
         * contains Trays
           * contains Cells
    
    A default view is created for all the Kardex.
    guewen committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    50e97fe View commit details
    Browse the repository at this point in the history
  10. Improve UX for locations management

    * Prevent disabling locations or tray types in use
    * Prevent changing tray type if any cell contain stock
    * Add a button to show the locations using a tray type from the tray
      type form
    * Prevent changing a tray type size when used
    * Remove tray name in cell name: redundant in the display name
    * Add filters on location search view to search by tray type and kind of
      kardex "object" (view, shuttle, tray, cell)
    * Remove an unused action
    guewen committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    9c1c28c View commit details
    Browse the repository at this point in the history
  11. Make usage of Serialized field more robust

    * Add missing dependency
    * using the direct path to the Serialized class will work in every
    scenario (eg. pytest) without having to add base_sparse_field in --load
    guewen committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    4b3254a View commit details
    Browse the repository at this point in the history
  12. Add demo data

    guewen committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    a200080 View commit details
    Browse the repository at this point in the history
  13. Add test coverage

    guewen committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    da836e6 View commit details
    Browse the repository at this point in the history
  14. Remove empty XML files

    guewen committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    4b3fe4c View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    3107750 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    e64f868 View commit details
    Browse the repository at this point in the history
  17. Increase test coverage

    guewen committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    dd8ece2 View commit details
    Browse the repository at this point in the history
  18. Add new fields on kardex view

    guewen committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    ebf703a View commit details
    Browse the repository at this point in the history
  19. Fix operation alignment

    guewen committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    4cc84b4 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    837129e View commit details
    Browse the repository at this point in the history
  21. Add onclick handler on tray matrix widget

    Allow to specify an action, example on the location view: open the location
    with the clicked coordinates.
    guewen committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    2c151ae View commit details
    Browse the repository at this point in the history
  22. Rename to stock_vertical_lift

    Preparing the module to be a generic core for supporting Vertical Lifts
    / Carousels. The Kardex one willbe a submodule.
    guewen committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    2e99fff View commit details
    Browse the repository at this point in the history
  23. Add selection of hardware for shuttles

    The default one being 'simulation', new ones must be added by other
    addons. An empty shell is created for Kardex, where we'll later add the
    "driver" part to drive Kardex Shuttles.
    guewen committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    a653ad4 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    e31ae19 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    24d07a2 View commit details
    Browse the repository at this point in the history
  26. Add option to generate custom name format for cells

    Following the proposal of @damendieta, implement differently
    guewen committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    d5e1546 View commit details
    Browse the repository at this point in the history
  27. Add position z in tray cells

    damendieta authored and guewen committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    116ace8 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    6636b8e View commit details
    Browse the repository at this point in the history
  29. Remove tray type from vertical lift

    It has been extracted in another addon
    (OCA#719)
    guewen committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    e74b74d View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    095e23c View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    16e6b64 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2019

  1. Configuration menu
    Copy the full SHA
    7a319cb View commit details
    Browse the repository at this point in the history
  2. Add method on location to fetch a tray

    * Add vertical_lift_shuttle_id field on stock.location, help to find the
    shuttle for a location
    * Add StockLocation.fetch_vertical_lift_tray(), that needs to be
    implemented in addons to send commands to the hardward to fetch a tray,
    and if existing show a cell (laser pointer, ...)
    * Add helpers on stock.move.line fetch_vertical_lift_tray_source() and
    fetch_vertical_lift_tray_dest() that fetch the tray directly from a move
    line's source or destination location
    guewen committed Oct 8, 2019
    Configuration menu
    Copy the full SHA
    8f5a6e8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8a9a2e5 View commit details
    Browse the repository at this point in the history
  4. Remove vertical_lift_shuttle.address field

    The way to connect to a vertical lift can change from a model to
    another.
    Let's not suppose every system needs an address per shuttle.
    For instance, kardex may have a single server for all the shuttles.
    That needs to be handled in the kardex specialized module.
    guewen committed Oct 8, 2019
    Configuration menu
    Copy the full SHA
    55bb211 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2019

  1. Configuration menu
    Copy the full SHA
    08e450c View commit details
    Browse the repository at this point in the history
  2. Split the shuttle operations in different models/views

    Namely, the pick/put/inventory operations are now split in
    different models.
    
    Pick and Put share a model and customize their behavior, which is pretty
    similar. The inventory operation will have a different view and
    different workflow.
    
    This changes will ease a lot the customization of the different
    workflows and views.
    guewen committed Oct 9, 2019
    Configuration menu
    Copy the full SHA
    3ed2430 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2019

  1. Configuration menu
    Copy the full SHA
    935ce97 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a35742b View commit details
    Browse the repository at this point in the history
  3. Add default views to re-open the screen views properly

    When we refresh the page on the browser when we are using the "screen"
    view, odoo loses the information that we want the view to be headless,
    fullscreen, etc. so it's displayed pretty badly.  This view is a
    work-around: its priority is lower, so it will be picked up by default
    on loading, and a button allows to re-open the screen view with the
    proper options.
    guewen committed Oct 10, 2019
    Configuration menu
    Copy the full SHA
    c9b397e View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2019

  1. Add Put-Away workflow

    guewen committed Oct 14, 2019
    Configuration menu
    Copy the full SHA
    1e7c2bf View commit details
    Browse the repository at this point in the history
  2. fixup! Add Put-Away workflow

    guewen committed Oct 14, 2019
    Configuration menu
    Copy the full SHA
    68412a3 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2019

  1. Implement inventory screen

    guewen committed Oct 15, 2019
    Configuration menu
    Copy the full SHA
    c6ebd35 View commit details
    Browse the repository at this point in the history
  2. Fix 'fetch' buttons on move lines

    There is no such action as 'ir.actions.do_nothing', it kinda works,
    until you look into the js console and stares at the errors.
    
    There is a nice OCA module that serves this purpose (more or less,
    because it reloads the window, this is not an issue).
    guewen committed Oct 15, 2019
    Configuration menu
    Copy the full SHA
    848f39e View commit details
    Browse the repository at this point in the history
  3. Remove useless file

    guewen committed Oct 15, 2019
    Configuration menu
    Copy the full SHA
    c3cc49e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dbc01b2 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2019

  1. Configuration menu
    Copy the full SHA
    a3da5f2 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2019

  1. Fix super call

    guewen committed Nov 8, 2019
    Configuration menu
    Copy the full SHA
    60aed35 View commit details
    Browse the repository at this point in the history
  2. Add method to refresh a shuttle screen

    Example of usage in an odoo shell, when a screen is open:
    
    >>> self.env['vertical.lift.shuttle'].browse(1)._operation_for_mode().operation_descr = 'foo'
    >>> self.env['vertical.lift.shuttle'].browse(1)._send_notification_refresh()
    >>> env.cr.commit()
    
    Provided the longpolling is correctly configured with a proxy, the
    screen should immediately refresh with 'foo' as operation description.
    guewen committed Nov 8, 2019
    Configuration menu
    Copy the full SHA
    cef82cb View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2019

  1. Configuration menu
    Copy the full SHA
    ff501e9 View commit details
    Browse the repository at this point in the history