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

[IMP] PoS usability improvements #32870

Closed
wants to merge 5 commits into from

Commits on Jun 3, 2019

  1. [IMP] point_of_sale: Change 'Orders' menu sequence

    As session, is a more global object, we want to put its menu item before
    the one for orders.
    
    TASK-ID: 1970513
    AntoineVDV authored and pimodoo committed Jun 3, 2019
    Copy the full SHA
    03005c7 View commit details
    Browse the repository at this point in the history
  2. [IMP] point_of_sale: Show orders on Session

    When you are looking at a point of sale session, the detail of what is
    sales have been done during this session is stored in the POS Orders
    linked to it. So we've added button on the session form that will show
    all related sales done during this session.
    
    TASK-ID: 1970513
    AntoineVDV authored and pimodoo committed Jun 3, 2019
    Copy the full SHA
    f5d38b0 View commit details
    Browse the repository at this point in the history
  3. [REF] point_of_sale: default sales team on config

    We are handeling if the default sales team for pos has been deleted by
    raising and catching an Access error instead of a ValueError
    
    TASK-ID: 1970513
    pimodoo committed Jun 3, 2019
    Copy the full SHA
    db8e342 View commit details
    Browse the repository at this point in the history
  4. [IMP] point_of_sale: create one picking type by warehouse

    When you are selling goods through point of sale, pinkings are created
    to remove what have been sold from the stock. This picking is created by
    using the picking_type set on pos_config.
    
    For now, the there is only one picking type POS Order existing by
    default, which is located on the first warehouse in data. It means that
    if you create another warehouse and/or company, you will have to
    manually create picking type if you want to be able to link pos config
    to the new warehouse.
    
    So now, each warehouse will have its own picking_type for POS, which
    will ease the link between the pos config and the warehouse.
    
    We've also set a default value on pos config to take the first picking
    type, and added a domain that will show only the outgoing types.
    
    TASK-ID: 1970513
    pimodoo committed Jun 3, 2019
    Copy the full SHA
    a3aa396 View commit details
    Browse the repository at this point in the history
  5. [REF] point_of_sale: remove stock location from POS config

    There is currently a stock location that is set on the pos config which
    is by default the the default source of the picking type. This field is
    not really usefull and we prefer that the configuration of the source
    location where the POS will take products come from a dedicated
    picking type that will have the correct default source location.
    
    So we have removed the stock_location_id from the pos_config and changed
    the related set on orders, by the location of the picking set on the
    pos order, as it was not really consistent that if the pos_config was
    changed the location of all existing orders was changed too.
    
    TASK-ID: 1970513
    AntoineVDV authored and pimodoo committed Jun 3, 2019
    Copy the full SHA
    ea26512 View commit details
    Browse the repository at this point in the history