diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml index 3e0432f135e..ab86b526e29 100644 --- a/addons/product/product_view.xml +++ b/addons/product/product_view.xml @@ -101,7 +101,7 @@ - + @@ -177,7 +177,7 @@ - + @@ -190,42 +190,30 @@ - + + Product Kanban product.product - + - oe_kanban_color_red -
-
-
- -
-
- - Code: -
No Stock
- -
Stock: on hand, available
-
Public Price:
- -
Cost :
-
-
-
-
- -
-
+
+ +
+

+ + [] + +

+
+
    +
  • Price:
  • +
@@ -255,7 +243,7 @@ Products ir.actions.act_window product.product - tree,form,kanban + kanban,tree,form form {"search_default_filter_to_sell":1} @@ -278,7 +266,7 @@ tree - + @@ -292,8 +280,8 @@ kanban - - + + diff --git a/addons/stock/product.py b/addons/stock/product.py index e0e55594eca..b8e8ddc4505 100644 --- a/addons/stock/product.py +++ b/addons/stock/product.py @@ -32,7 +32,7 @@ class product_product(osv.osv): moves = move_pool.read_group(cr, uid, [ ('product_id', 'in', ids), ('picking_id.type', '=', 'in'), - ('state','in',('draft','confirmed','assigned','pending')) + ('state','in',('confirmed','assigned','pending')) ], ['product_id'], ['product_id']) for move in moves: product_id = move['product_id'][0] @@ -40,7 +40,7 @@ class product_product(osv.osv): moves = move_pool.read_group(cr, uid, [ ('product_id', 'in', ids), ('picking_id.type', '=', 'out'), - ('state','in',('draft','confirmed','assigned','pending')) + ('state','in',('confirmed','assigned','pending')) ], ['product_id'], ['product_id']) for move in moves: product_id = move['product_id'][0] @@ -373,7 +373,7 @@ class product_product(osv.osv): "typed as 'internal'."), 'virtual_available': fields.function(_product_available, multi='qty_available', type='float', digits_compute=dp.get_precision('Product Unit of Measure'), - string='Quantity Available', + string='Future Quantity', help="Forecast quantity (computed as Quantity On Hand " "- Outgoing + Incoming)\n" "In a context with a single Stock Location, this includes " diff --git a/addons/stock/product_view.xml b/addons/stock/product_view.xml index af11c3fafbb..2e0eef44da9 100644 --- a/addons/stock/product_view.xml +++ b/addons/stock/product_view.xml @@ -183,50 +183,27 @@ - - Product Kanban + + Product Kanban Stock product.product + - - - - - + - - -
-
- -
-
-

-
    -
  • Code:
  • -
  • Stock on hand:
  • -
  • Stock available:
  • -
  • Price:
  • - -
  • Cost:
  • -
- -
-
- -
-
-
-
+
+ + + Receptions + + + Deliveries + + +
    +
  • On hand:
  • +
  • Available:
  • +