[FIX] stock: Never hide the invoice control on pickings

Invoice control field was invisible, and we cannot change value if none selected or copy picking in.
Fixes #3636
This commit is contained in:
Loïc Bellier 2014-10-31 15:07:08 +01:00 committed by Martin Trigaux
parent de07c642b6
commit cdce2e2283
1 changed files with 1 additions and 1 deletions

View File

@ -765,7 +765,7 @@
<group>
<field name="partner_id" on_change="onchange_partner_in(partner_id)"/>
<field name="backorder_id" readonly="1" attrs="{'invisible': [('backorder_id','=',False)]}"/>
<field name="invoice_state" string="Invoice Control" groups="account.group_account_invoice" attrs="{'invisible':[('invoice_state', '=', 'none')]}"/>
<field name="invoice_state" string="Invoice Control" groups="account.group_account_invoice"/>
<field name="stock_journal_id" widget="selection" groups="account.group_account_user"/>
</group>
<group>