From c250930b02b888cc733db2d3872be79ae188fd08 Mon Sep 17 00:00:00 2001 From: Sebastien LANGE Date: Sat, 17 Nov 2012 21:38:58 +0100 Subject: [PATCH] [FIX] tax in invoice is not calculated automatically while invoice created from sale order bzr revid: sebastien.lange@syleam.fr-20121117203858-7yx8fu3kk7plvk42 --- addons/sale_stock/stock.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/sale_stock/stock.py b/addons/sale_stock/stock.py index 6fc5c061dda..b80b4962e6b 100644 --- a/addons/sale_stock/stock.py +++ b/addons/sale_stock/stock.py @@ -184,6 +184,7 @@ class stock_picking(osv.osv): 'invoiced': True, 'invoice_lines': [(6, 0, [invoice_line_id])], }) + invoice_obj.button_compute(cursor, user, [invoice_created.id], context=context) return result # Redefinition of the new field in order to update the model stock.picking.out in the orm