Files
odoo_source/addons/stock/security/ir.model.access.csv
T
Arnold Moyaux 7dda6bb927 [REF] stock: quantity pocalypse
The rational is:
Currently we have 2 columns. One for reservation, the other
for quantity picked.

However in real time, either you follow the reservation and everything
goes well. Otherwise you pick something else. In the case where you
pick somewhere else than reserved, you would like to modify the
reservation to have something similar and free the quantity you
didn't pick and expect the system to not suggest the ones you took.

In other hand, we always want to have the reserve quantity similar to
the done.

On top, having two columns could be confusing for the end user.

The cons:
-The qty_done column could be use during the picking, to
remember if something has been pick or still to pick.
- For some flow (put in pack), it's easier to write a part of the quantity to pack
and still want to reserve the full amount of product.

We goes back and choose a ligther interface over complex feature.

Changes:
Qty done and reserved qty are merged into a single column.
A new checkbox on the move exists to mark it as picked or not
Since the reservation always follow the quantity, it's now possible
to have more reserved quantity than stock. However the system will
never propose it and the inventory showing reserved > quantity should
be a warning.
The system should never modify a move that has been picked. We don't
want to overide the user action.

Regression:
Not able to pick a single stock.move.line

closes odoo/odoo#137864

Related: odoo/enterprise#48709
Related: odoo/upgrade#5310
Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com>
2023-10-25 18:10:54 +00:00

11 KiB

1idnamemodel_id:idgroup_id:idperm_readperm_writeperm_createperm_unlink
2access_procurement_groupprocurement.groupmodel_procurement_groupbase.group_user1110
3access_stock_warehouse_managerstock.warehouse.managermodel_stock_warehousestock.group_stock_manager1111
4access_stock_warehouse_userstock.warehouse.usermodel_stock_warehousebase.group_user1000
5access_stock_location_partner_managerstock.location.partner.managermodel_stock_locationbase.group_partner_manager1000
6access_stock_location_managerstock.location.managermodel_stock_locationstock.group_stock_manager1111
7access_stock_location_userstock.location.usermodel_stock_locationbase.group_user1000
8access_stock_picking_userstock.picking usermodel_stock_pickingstock.group_stock_user1111
9access_stock_picking_managerstock.picking managermodel_stock_pickingstock.group_stock_manager1111
10access_stock_picking_type_allstock.picking.type all usersmodel_stock_picking_typebase.group_user1000
11access_stock_picking_type_userstock.picking.type usermodel_stock_picking_typestock.group_stock_user1000
12access_stock_picking_type_managerstock.picking.type managermodel_stock_picking_typestock.group_stock_manager1111
13access_stock_lot_userstock.lot usermodel_stock_lotstock.group_stock_user1111
14access_stock_move_managerstock.move managermodel_stock_movestock.group_stock_manager1111
15access_stock_move_userstock.move usermodel_stock_movestock.group_stock_user1110
16access_product_product_stock_userproduct_product_stock_userproduct.model_product_productstock.group_stock_user1000
17access_product_template_stock_userproduct.template stock userproduct.model_product_templatestock.group_stock_user1000
18access_uom_category_stock_manageruom.category stock_manageruom.model_uom_categorystock.group_stock_manager1111
19access_uom_uom_stock_manageruom.uom stock_manageruom.model_uom_uomstock.group_stock_manager1111
20access_product_category_stock_managerproduct.category stock_managerproduct.model_product_categorystock.group_stock_manager1111
21access_product_template_stock_managerproduct.template stock_managerproduct.model_product_templatestock.group_stock_manager1111
22access_product_product_stock_managerproduct.product stock_managerproduct.model_product_productstock.group_stock_manager1111
23access_product_packaging_stock_managerproduct.packaging stock_managerproduct.model_product_packagingstock.group_stock_manager1111
24access_product_supplierinfo_stock_managerproduct.supplierinfo stock_managerproduct.model_product_supplierinfostock.group_stock_manager1111
25access_product_pricelist_stock_managerproduct.pricelist stock_managerproduct.model_product_priceliststock.group_stock_manager1111
26access_product_group_res_partner_stock_managerres_partner group_stock_managerbase.model_res_partnerstock.group_stock_manager1110
27access_product_pricelist_item_stock_managerproduct.pricelist.item stock_managerproduct.model_product_pricelist_itemstock.group_stock_manager1111
28access_product_tag_stock_managerproduct.tag.stock.managerproduct.model_product_tagstock.group_stock_manager1111
29access_stock_warehouse_orderpointstock.warehouse.orderpointmodel_stock_warehouse_orderpointstock.group_stock_user1000
30access_stock_warehouse_orderpoint_systemstock.warehouse.orderpoint systemmodel_stock_warehouse_orderpointstock.group_stock_manager1111
31access_stock_quant_userstock.quant usermodel_stock_quantstock.group_stock_user1110
32access_stock_quant_allstock.quant all usersmodel_stock_quantbase.group_user1000
33access_stock_quant_package_allstock.quant.package all usersmodel_stock_quant_packagebase.group_user1000
34access_stock_quant_package_stock_managerstock.quant.package stock managermodel_stock_quant_packagestock.group_stock_manager1111
35access_stock_quant_package_stock_userstock.quant.package stock usermodel_stock_quant_packagestock.group_stock_user1111
36access_stock_package_level_allstock.package_level all usersmodel_stock_package_levelbase.group_user1000
37access_stock_package_level_stock_managerstock.package_level stock managermodel_stock_package_levelstock.group_stock_manager1111
38access_stock_package_level_stock_userstock.package_level stock usermodel_stock_package_levelstock.group_stock_user1111
39access_stock_rule_userstock_rule usermodel_stock_rulestock.group_stock_user1000
40access_stock_rule_stock_managerstock_rule stock managermodel_stock_rulestock.group_stock_manager1111
41access_stock_location_route_stock_managerstock.routemodel_stock_routestock.group_stock_manager1111
42access_stock_location_routestock.routemodel_stock_routebase.group_user1000
43access_stock_rule_internalstock.rule.flow internalmodel_stock_rulebase.group_user1000
44access_stock_move_line_managerstock.move.line managermodel_stock_move_linestock.group_stock_manager1111
45access_stock_move_line_userstock.move.line usermodel_stock_move_linestock.group_stock_user1111
46access_stock_move_line_allstock.move.line all usersmodel_stock_move_linebase.group_user1111
47access_stock_putaway_allstock.putaway.rule all usersmodel_stock_putaway_rulebase.group_user1000
48access_stock_putaway_managerstock.putaway.rule all managersmodel_stock_putaway_rulestock.group_stock_manager1111
49access_stock_removal_allproduct.removal all usersmodel_product_removalbase.group_user1000
50access_barcode_nomenclature_stock_userbarcode.nomenclature.stock.userbarcodes.model_barcode_nomenclaturestock.group_stock_user1000
51access_barcode_nomenclature_stock_managerbarcode.nomenclature.stock.managerbarcodes.model_barcode_nomenclaturestock.group_stock_manager1111
52access_barcode_rule_stock_userbarcode.rule.stock.userbarcodes.model_barcode_rulestock.group_stock_user1000
53access_barcode_rule_stock_managerbarcode.rule.stock.managerbarcodes.model_barcode_rulestock.group_stock_manager1111
54access_stock_scrap_userstock.scrap.usermodel_stock_scrapstock.group_stock_user1110
55access_stock_scrap_managerstock.scrap.managermodel_stock_scrapstock.group_stock_manager1111
56access_product_attribute_managerproduct.attribute managerproduct.model_product_attributestock.group_stock_manager1111
57access_product_attribute_value_managerproduct.attribute manager valueproduct.model_product_attribute_valuestock.group_stock_manager1111
58access_product_product_attribute_managerproduct.product.attribute manager valueproduct.model_product_template_attribute_valuestock.group_stock_manager1111
59access_product_template_attribute_exclusion_managerproduct.attribute manager filter lineproduct.model_product_template_attribute_exclusionstock.group_stock_manager1111
60access_product_template_attribute_line_managerproduct.attribute manager lineproduct.model_product_template_attribute_linestock.group_stock_manager1111
61access_report_stock_quantityaccess_report_stock_quantitymodel_report_stock_quantitybase.group_user1000
62access_stock_traceability_reportaccess.stock.traceability.reportmodel_stock_traceability_reportstock.group_stock_user1110
63access_stock_assign_serialaccess.stock.assign.serialmodel_stock_assign_serialstock.group_stock_user1110
64access_stock_return_picking_lineaccess.stock.return.picking.linemodel_stock_return_picking_linestock.group_stock_user1111
65access_stock_return_pickingaccess.stock.return.pickingmodel_stock_return_pickingstock.group_stock_user1110
66access_stock_change_product_qtyaccess.stock.change.product.qtymodel_stock_change_product_qtystock.group_stock_user1110
67access_stock_scheduler_computeaccess.stock.scheduler.computemodel_stock_scheduler_computestock.group_stock_user1110
68access_stock_backorder_confirmation_lineaccess.stock.backorder.confirmation.linemodel_stock_backorder_confirmation_linestock.group_stock_user1110
69access_stock_backorder_confirmationaccess.stock.backorder.confirmationmodel_stock_backorder_confirmationstock.group_stock_user1110
70access_stock_quantity_historyaccess.stock.quantity.historymodel_stock_quantity_historystock.group_stock_user1110
71access_stock_rules_reportaccess.stock.rules.reportmodel_stock_rules_reportstock.group_stock_user1110
72access_stock_warn_insufficient_qty_scrapaccess.stock.warn.insufficient.qty.scrapmodel_stock_warn_insufficient_qty_scrapstock.group_stock_user1110
73access_product_replenishaccess.product.replenishmodel_product_replenishstock.group_stock_user1110
74access_stock_track_confirmationaccess.stock.track.confirmationmodel_stock_track_confirmationstock.group_stock_user1110
75access_stock_track_lineaccess.stock.track.linemodel_stock_track_linestock.group_stock_user1110
76access_stock_package_destinationaccess.stock.package.destinationmodel_stock_package_destinationstock.group_stock_user1110
77access_stock_orderpoint_snoozeaccess_stock_orderpoint_snoozemodel_stock_orderpoint_snoozestock.group_stock_user1111
78access_stock_package_type_useraccess_stock_package_type_usermodel_stock_package_typestock.group_stock_user1000
79access_stock_package_type_manageraccess_stock_package_type_managermodel_stock_package_typestock.group_stock_manager1111
80access_stock_storage_category_userstock.storage.category.usermodel_stock_storage_categorybase.group_user1000
81access_stock_storage_category_managerstock.storage.category.managermodel_stock_storage_categorystock.group_stock_manager1111
82access_stock_storage_category_capacity_userstock.storage.category.capacity.usermodel_stock_storage_category_capacitybase.group_user1000
83access_stock_storage_category_capacity_managerstock.storage.category.capacity.managermodel_stock_storage_category_capacitystock.group_stock_manager1111
84access_stock_inventory_conflictstock.inventory.conflictmodel_stock_inventory_conflictstock.group_stock_manager1110
85access_stock_inventory_warningstock.inventory.warningmodel_stock_inventory_warningstock.group_stock_manager1110
86access_stock_inventory_adjustment_namestock.inventory.adjustment.namemodel_stock_inventory_adjustment_namestock.group_stock_manager1110
87access_stock_request_countstock.request.countmodel_stock_request_countstock.group_stock_manager1110
88access_stock_replenishment_infostock.replenishment.infomodel_stock_replenishment_infostock.group_stock_manager1110
89access_stock_picking_label_type_userpicking.label.type.usermodel_picking_label_typestock.group_stock_user1110
90access_stock_lot_label_layout_userlot.label.layout.usermodel_lot_label_layoutstock.group_stock_user1110
91access_stock_replenish_optionstock.replenishment.optionmodel_stock_replenishment_optionstock.group_stock_user1110
92access_stock_quant_relocateaccess.stock.quant.relocatemodel_stock_quant_relocatestock.group_stock_manager1110