[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:
parent
de07c642b6
commit
cdce2e2283
|
@ -765,7 +765,7 @@
|
||||||
<group>
|
<group>
|
||||||
<field name="partner_id" on_change="onchange_partner_in(partner_id)"/>
|
<field name="partner_id" on_change="onchange_partner_in(partner_id)"/>
|
||||||
<field name="backorder_id" readonly="1" attrs="{'invisible': [('backorder_id','=',False)]}"/>
|
<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"/>
|
<field name="stock_journal_id" widget="selection" groups="account.group_account_user"/>
|
||||||
</group>
|
</group>
|
||||||
<group>
|
<group>
|
||||||
|
|
Loading…
Reference in New Issue