Ravish(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-1001806-rmu into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #1001806 in OpenERP Addons: "Empty list of journals when trying to create 
invoice from picking"
  https://bugs.launchpad.net/openobject-addons/+bug/1001806

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1001806-rmu/+merge/106573

Hello,

I have solve the problem of empty destination journal in picking when create 
invoice from picking

Thanks..!!
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1001806-rmu/+merge/106573
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-1001806-rmu.
=== modified file 'stock/wizard/stock_invoice_onshipping.py'
--- stock/wizard/stock_invoice_onshipping.py	2011-12-19 16:54:40 +0000
+++ stock/wizard/stock_invoice_onshipping.py	2012-05-21 06:39:18 +0000
@@ -36,7 +36,7 @@
             context = {}
 
         model = context.get('active_model')
-        if not model or model != 'stock.picking':
+        if not model or 'stock.picking' not in model:
             return []
 
         model_pool = self.pool.get(model)

_______________________________________________
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