days
diff --git a/addons/sale_stock/sale_stock_workflow.xml b/addons/sale_stock/sale_stock_workflow.xml
index bb40661ba0f..30816750035 100644
--- a/addons/sale_stock/sale_stock_workflow.xml
+++ b/addons/sale_stock/sale_stock_workflow.xml
@@ -1,119 +1,6 @@
-
-
-
-
-
- wait_ship
-
-
-
-
- cancel3
- True
- stopall
- action_cancel()
-
-
-
-
- ship
- function
- action_ship_create()
-
-
-
- ship_except
- function
- write({'state':'shipping_except'})
-
-
-
-
- ship_end
- function
- action_ship_end()
-
-
-
-
- ship_cancel
- True
- stopall
- action_cancel()
-
-
-
-
-
-
-
-
-
-
-
-
- (order_policy=='picking')
-
-
-
-
-
- order_policy=='prepaid'
-
-
-
-
-
- cancel
-
-
-
-
-
- (order_policy!='prepaid') or invoiced
-
-
-
-
-
-
-
-
-
-
- procurement.order
- procurement_lines_get()
- test_state('finished')
-
-
-
-
-
- test_state('canceled')
-
-
-
-
-
-
- ship_recreate
-
-
-
-
-
- ship_corrected
-
-
-
-
-
- ship_cancel
-
-
diff --git a/addons/stock/stock_view.xml b/addons/stock/stock_view.xml
index 5f45e42a4cf..3eb590048d6 100644
--- a/addons/stock/stock_view.xml
+++ b/addons/stock/stock_view.xml
@@ -1599,18 +1599,19 @@
Orderpoints
stock.warehouse.orderpoint
-
+
product.template.procurement
product.product
-
-
+
+
+
+
-
-
+ -->
product.search.procurment.form
product.product
@@ -1628,9 +1629,11 @@
-
-
+
+
+
+
@@ -1639,10 +1642,6 @@
-
-
-
-
diff --git a/addons/stock_account/stock.py b/addons/stock_account/stock.py
index af63a8b7506..0972be350e2 100644
--- a/addons/stock_account/stock.py
+++ b/addons/stock_account/stock.py
@@ -190,6 +190,7 @@ class stock_picking(osv.osv):
company = move.company_id
origin = move.picking_id.name
partner, user_id, currency_id = move_obj._get_master_data(cr, uid, move, company, context=context)
+
key = (partner.id, currency_id, company.id, user_id)
if key not in invoices: