[IMP] stock: stock location view

While creating a location, users were able to create a location when
chosing the parent location and it was error prone. We remove the
possibilty to create a location at this place.
This commit is contained in:
Dhaval Panchal
2017-02-17 13:21:58 +01:00
committed by Simon Lejeune
parent f5b0ec4de3
commit cbb9f86b3c
+1 -1
View File
@@ -30,7 +30,7 @@
<label for="name" class="oe_edit_only"/>
<h1><field name="name"/></h1>
<label for="location_id" class="oe_edit_only"/>
<h2><field name="location_id"/></h2>
<h2><field name="location_id" options="{'no_create': True}"/></h2>
<group>
<group string="Additional Information">