-
- Downloads
[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
closes odoo/odoo#32870
Signed-off-by:
pimodoo <pimodoo@users.noreply.github.com>
Showing
- addons/point_of_sale/models/pos_config.py 1 addition, 18 deletionsaddons/point_of_sale/models/pos_config.py
- addons/point_of_sale/models/pos_order.py 2 additions, 2 deletionsaddons/point_of_sale/models/pos_order.py
- addons/point_of_sale/static/src/js/models.js 0 additions, 10 deletionsaddons/point_of_sale/static/src/js/models.js
- addons/point_of_sale/views/pos_config_view.xml 4 additions, 14 deletionsaddons/point_of_sale/views/pos_config_view.xml
Loading
Please register or sign in to comment