Skip to content

Commit

Permalink
[FIX] stock: Never hide the invoice control on pickings
Browse files Browse the repository at this point in the history
Invoice control field was invisible, and we cannot change value if none selected or copy picking in.
Fixes #3636
  • Loading branch information
lbellier authored and mart-e committed Nov 28, 2014
1 parent de07c64 commit cdce2e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/stock/stock_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit cdce2e2

Please sign in to comment.