Mayur Maheshwari(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-upstream-traceability-mma into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-upstream-traceability-mma/+merge/88173
Hello,
Reproduce the bug :
-------------
step :
1] create a one pack for stock move
2] open a form view [Warehouse/Traceability/Packs ] and click upstream or
downstream traceability
3] so it's give a error like 'ValueError: Invalid field '' in domain expression
[('', 'in', [2])]'
Fix
-----
I Have remove a context in view file
Thanks.
Mayur Mahehswari [ mma ]
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-upstream-traceability-mma/+merge/88173
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-upstream-traceability-mma.
=== modified file 'stock/stock_view.xml'
--- stock/stock_view.xml 2012-01-09 13:16:41 +0000
+++ stock/stock_view.xml 2012-01-11 10:35:16 +0000
@@ -217,9 +217,9 @@
<group col="2" colspan="2">
<separator string="Traceability" colspan="4"/>
<button name="action_traceability" icon="gtk-go-up" string="Upstream traceability" type="object"
- context="{'type': '','field': ''}" colspan="2"/>
+ colspan="2"/>
<button name="action_traceability" icon="gtk-go-down" string="Downstream traceability" type="object"
- context="{'type': 'move_history_ids','field': ''}" colspan="2"/>
+ context="{'type': 'move_history_ids'}" colspan="2"/>
</group>
<notebook colspan="4">
<page string="Stock Moves">
_______________________________________________
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