Amit Dodiya (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/6.1-opw-580751-ado into 
lp:openobject-addons/6.1.

Requested reviews:
  Xavier ALT (OpenERP) (xal-openerp)
  Naresh(OpenERP) (nch-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-580751-ado/+merge/132521

Hello,

FIX] tax in invoice is not calculated automatically while invoice created from 
sale order

Steps:
1). Create an sale order and set configuration invoice based on delivery
2). Now add 2 product(1 stockable & 1 service and add tax in both line)
3). Confirm sale order goto picking and generate invoice and try to validate 
the invoice.
You will get the warning message to compute the tax again. It should computed 
automatically.

Regards,
Amit
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-580751-ado/+merge/132521
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.1-opw-580751-ado.
=== modified file 'sale/stock.py'
--- sale/stock.py	2012-02-15 16:28:10 +0000
+++ sale/stock.py	2012-11-01 11:41:22 +0000
@@ -186,6 +186,7 @@
                             'invoiced': True,
                             'invoice_lines': [(6, 0, [invoice_line_id])],
                         })
+                        invoice_obj.button_compute(cursor, user, [invoice_created.id], context=context)
         return result
 
 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to