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:
5bfa3c5
)
[IMP]chained location invisible if its type is not fixed
author
Sanjay Gohel (Open ERP)
<sgo@tinyerp.com>
Mon, 22 Oct 2012 06:39:59 +0000
(12:09 +0530)
committer
Sanjay Gohel (Open ERP)
<sgo@tinyerp.com>
Mon, 22 Oct 2012 06:39:59 +0000
(12:09 +0530)
bzr revid: sgo@tinyerp.com-
20121022063959
-1orhrlwbcuuwm7u3
addons/stock/stock_view.xml
patch
|
blob
|
history
diff --git
a/addons/stock/stock_view.xml
b/addons/stock/stock_view.xml
index
3294251
..
2659415
100644
(file)
--- a/
addons/stock/stock_view.xml
+++ b/
addons/stock/stock_view.xml
@@
-540,7
+540,7
@@
</group>
<group string="Chained Locations">
<field name="chained_location_type"/>
- <field name="chained_location_id" attrs="{'required':[('chained_location_type','=','fixed')]}"/>
+ <field name="chained_location_id" attrs="{'required':[('chained_location_type','=','fixed')],'invisible':[('chained_location_type','in',['none','customer'])]}"/>
<field name="chained_auto_packing"/>
<field name="chained_delay"/>
<field name="chained_journal_id"/>