summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoïc Bellier <lb@numerigraphe.com>2014-10-31 15:07:08 +0100
committerMartin Trigaux <mat@odoo.com>2014-11-28 17:55:48 +0100
commitcdce2e22837e6beafb3f2d8584f8c125bdaba596 (patch)
tree1187bbf0aae4df8c71b03b94296c1fafdee092e1
parentde07c642b67d8dbca11086ad3f9cbaa9928c6077 (diff)
[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
-rw-r--r--addons/stock/stock_view.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/stock/stock_view.xml b/addons/stock/stock_view.xml
index 6a58107d7fe..74d9c76d016 100644
--- a/addons/stock/stock_view.xml
+++ b/addons/stock/stock_view.xml
@@ -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>