Skip to content

Commit

Permalink
[IMP] stock: stock location view
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dpa-odoo authored and sle-odoo committed Feb 17, 2017
1 parent f5b0ec4 commit cbb9f86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/stock/views/stock_location_views.xml
Expand Up @@ -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">
Expand Down

0 comments on commit cbb9f86

Please sign in to comment.