Jalpesh Patel(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-1060259-pja into 
lp:openobject-addons.

Requested reviews:
  Atul Patel(OpenERP) (atp-openerp)
Related bugs:
  Bug #1060259 in OpenERP Addons: "partial picking wizard generate wrong 
invoice"
  https://bugs.launchpad.net/openobject-addons/+bug/1060259

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1060259-pja/+merge/132096

Hello sir,

    I have  fix problem of partial picking wizard generate wrong invoice.
    
Thanks!
pja
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1060259-pja/+merge/132096
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-1060259-pja.
=== modified file 'stock_invoice_directly/wizard/stock_invoice.py'
--- stock_invoice_directly/wizard/stock_invoice.py	2012-03-05 18:40:03 +0000
+++ stock_invoice_directly/wizard/stock_invoice.py	2012-10-30 13:29:30 +0000
@@ -32,7 +32,7 @@
         result = super(invoice_directly, self).do_partial(cr, uid, ids, context)
         partial = self.browse(cr, uid, ids[0], context)
         context.update(active_model='stock.picking',
-                       active_ids=[partial.picking_id.id])
+                       active_ids=[partial.picking_id.backorder_id.id])
         if partial.picking_id.invoice_state == '2binvoiced':
             return {
                 'name': 'Create Invoice',

_______________________________________________
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