projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec506ef
)
[FIX] the problem of Empty list of journals when trying to create invoice from picking
author
Alexis de Lattre
<>
Mon, 21 May 2012 06:27:36 +0000
(11:57 +0530)
committer
Ravish Murari (OpenERP)
<rmu@tinyerp.com>
Mon, 21 May 2012 06:27:36 +0000
(11:57 +0530)
lp bug: https://launchpad.net/bugs/1001806 fixed
bzr revid: rmu@tinyerp.com-
20120521062736
-qkd3d20k0pxzn2l8
addons/stock/wizard/stock_invoice_onshipping.py
patch
|
blob
|
history
diff --git
a/addons/stock/wizard/stock_invoice_onshipping.py
b/addons/stock/wizard/stock_invoice_onshipping.py
index
46c5531
..
ca294f8
100644
(file)
--- a/
addons/stock/wizard/stock_invoice_onshipping.py
+++ b/
addons/stock/wizard/stock_invoice_onshipping.py
@@
-36,7
+36,7
@@
class stock_invoice_onshipping(osv.osv_memory):
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)