diff --git a/yuthon_stock/__manifest__.py b/yuthon_stock/__manifest__.py
index eae17400e..11b566af9 100644
--- a/yuthon_stock/__manifest__.py
+++ b/yuthon_stock/__manifest__.py
@@ -6,7 +6,7 @@
'category': 'zhou',
'version': '0.1',
'license': 'LGPL-3',
- 'depends': ['base', 'stock', 'documents', 'maintenance', 'funenc_json_widget'],
+ 'depends': ['base', 'stock', 'purchase_stock', 'documents', 'maintenance', 'funenc_json_widget'],
'data': [
'security/ir.model.access.csv',
'views/menu.xml',
diff --git a/yuthon_stock/views/inherit_stock_picking.xml b/yuthon_stock/views/inherit_stock_picking.xml
index cf51a4a2e..50031241f 100644
--- a/yuthon_stock/views/inherit_stock_picking.xml
+++ b/yuthon_stock/views/inherit_stock_picking.xml
@@ -8,8 +8,12 @@
+
+ 1
+
+
@@ -42,6 +46,9 @@
证明
receipt_status != 'certification'
+
+ picking_type_code == 'outgoing' or receipt_status == 'acceptance'
+
1