Skip to content

Commit

Permalink
[IMP] stock: picking view
Browse files Browse the repository at this point in the history
Disolay the procurement group only in technical mode.

Only allow the user to change the picking type while the picking is in
draft.
  • Loading branch information
dpa-odoo authored and sle-odoo committed Feb 17, 2017
1 parent 10d5c11 commit d37a7b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/stock/views/stock_picking_views.xml
Expand Up @@ -367,13 +367,13 @@
<group>
<group>
<field name="move_type"/>
<field name="picking_type_id"/>
<field name="picking_type_id" attrs="{'readonly': [('state', '!=', 'draft')]}"/>
<field name="picking_type_code" invisible="1"/>
<field name="quant_reserved_exist" invisible="1"/>
</group>
<group>
<field name="company_id" groups="base.group_multi_company" options="{'no_create': True}"/>
<field name="group_id"/>
<field name="group_id" groups="base.group_no_one"/>
<field name="priority"/>
</group>
</group>
Expand Down

0 comments on commit d37a7b1

Please sign in to comment.