From 7cedd92487440a5dc8d527bc2be256642fae10bb Mon Sep 17 00:00:00 2001 From: Andhitia Rama Date: Tue, 14 Nov 2023 23:14:09 +0700 Subject: [PATCH] [UPD] ssi_stock * Add IWO and IWI --- ssi_stock/__manifest__.py | 2 + ssi_stock/data/location_type_data.xml | 14 +++ .../data/stock_picking_type_category_data.xml | 29 ++++++ .../security/ir_module_category_data.xml | 28 ++++++ ssi_stock/security/res_group_data.xml | 94 +++++++++++++++++++ ssi_stock/views/interwarehouse_in_views.xml | 29 ++++++ ssi_stock/views/interwarehouse_out_views.xml | 29 ++++++ 7 files changed, 225 insertions(+) create mode 100644 ssi_stock/views/interwarehouse_in_views.xml create mode 100644 ssi_stock/views/interwarehouse_out_views.xml diff --git a/ssi_stock/__manifest__.py b/ssi_stock/__manifest__.py index ef3eaf1..3a1ba14 100644 --- a/ssi_stock/__manifest__.py +++ b/ssi_stock/__manifest__.py @@ -41,6 +41,8 @@ "views/lost_views.xml", "views/adjustment_in_views.xml", "views/adjustment_out_views.xml", + "views/interwarehouse_in_views.xml", + "views/interwarehouse_out_views.xml", ], "demo": [], } diff --git a/ssi_stock/data/location_type_data.xml b/ssi_stock/data/location_type_data.xml index fc0b704..40fd8c0 100644 --- a/ssi_stock/data/location_type_data.xml +++ b/ssi_stock/data/location_type_data.xml @@ -67,5 +67,19 @@ + + Inter-Warehouse Push + IWS + transit + + + + + Inter-Warehouse Pull + IWL + transit + + + diff --git a/ssi_stock/data/stock_picking_type_category_data.xml b/ssi_stock/data/stock_picking_type_category_data.xml index 95d400a..35dfdcd 100644 --- a/ssi_stock/data/stock_picking_type_category_data.xml +++ b/ssi_stock/data/stock_picking_type_category_data.xml @@ -169,5 +169,34 @@ outgoing + + Inter-Warehouse Out + IWO + outgoing + + + + + + + Inter-Warehouse In + IWI + outgoing + + + + diff --git a/ssi_stock/security/ir_module_category_data.xml b/ssi_stock/security/ir_module_category_data.xml index 19838c6..55fd8f2 100644 --- a/ssi_stock/security/ir_module_category_data.xml +++ b/ssi_stock/security/ir_module_category_data.xml @@ -156,4 +156,32 @@ Adjustment Out + + + + Inter-Warehouse Out + + + + + Inter-Warehouse Out + + + + + + Inter-Warehouse In + + + + + Inter-Warehouse In + + diff --git a/ssi_stock/security/res_group_data.xml b/ssi_stock/security/res_group_data.xml index c504ec1..a27758f 100644 --- a/ssi_stock/security/res_group_data.xml +++ b/ssi_stock/security/res_group_data.xml @@ -508,4 +508,98 @@ eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]" /> + + + + Viewer + + + + + User + + + + + + Validator + + + + + + + + Company + + + + + Company and All Child Companies + + + + + + All + + + + + + + + Viewer + + + + + User + + + + + + Validator + + + + + + + + Company + + + + + Company and All Child Companies + + + + + + All + + + + diff --git a/ssi_stock/views/interwarehouse_in_views.xml b/ssi_stock/views/interwarehouse_in_views.xml new file mode 100644 index 0000000..f43abfd --- /dev/null +++ b/ssi_stock/views/interwarehouse_in_views.xml @@ -0,0 +1,29 @@ + + + + + Inter-Warehouse In + ir.actions.act_window + stock.picking + tree,form + + + + + + diff --git a/ssi_stock/views/interwarehouse_out_views.xml b/ssi_stock/views/interwarehouse_out_views.xml new file mode 100644 index 0000000..2499a67 --- /dev/null +++ b/ssi_stock/views/interwarehouse_out_views.xml @@ -0,0 +1,29 @@ + + + + + Inter-Warehouse Out + ir.actions.act_window + stock.picking + tree,form + + + + + +