Merge lp:~openerp-dev/openobject-addons/trunk-opw-580751-port-mma into lp:openobject-addons

Proposed by Mayur Maheshwari(OpenERP)
Status: Rejected
Rejected by: Naresh(OpenERP)
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-opw-580751-port-mma
Merge into: lp:openobject-addons
Diff against target: 11 lines (+1/-0)
1 file modified
sale_stock/stock.py (+1/-0)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-opw-580751-port-mma
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+136386@code.launchpad.net

Description of the change

Hello,

     I have fixes the issue of 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 stackable & 1 service and add tax in both line)
3). Confirm sale order go to 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.
    code is forward port from 6.1

Thanks,
Mayur

To post a comment you must log in.
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

This was already improved in trunk through this mp https://code.launchpad.net/~syleam/openobject-addons/trunk-lp-1080171-sla/+merge/134780 so closing this one for clarity.

Thanks,
Naresh Soni

Unmerged revisions

8142. By Amit Dodiya (OpenERP)

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

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'sale_stock/stock.py'
2--- sale_stock/stock.py 2012-10-05 13:03:08 +0000
3+++ sale_stock/stock.py 2012-11-27 12:14:28 +0000
4@@ -184,6 +184,7 @@
5 'invoiced': True,
6 'invoice_lines': [(6, 0, [invoice_line_id])],
7 })
8+ invoice_obj.button_compute(cursor, user, [invoice_created.id], context=context)
9 return result
10
11 # Redefinition of the new field in order to update the model stock.picking.out in the orm

Subscribers

People subscribed via source and target branches

to all changes: