[IMP] Display account field in purchase reciept when no supplier define
bzr revid: fka@tinyerp.com-20131001095055-n9vfq76k9tzzgpwd
This commit is contained in:
parent
bc9bfe0f24
commit
d5d8558f64
|
@ -224,7 +224,6 @@
|
|||
<h1><label for="number" string="Purchase Receipt"/> <field name="number" class="oe_inline" readonly="1"/></h1>
|
||||
|
||||
<field name="pay_now" invisible="1"/>
|
||||
<field name="account_id" domain="[('type','=','other')]" invisible="True"/>
|
||||
<field name="type" invisible="True"/>
|
||||
<group>
|
||||
<group>
|
||||
|
@ -285,6 +284,9 @@
|
|||
</div>
|
||||
<field name="amount" class="oe_subtotal_footer_separator" nolabel="1"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="account_id" domain="[('type','=','other')]" attrs="{'invisible': [('partner_id','!=', False)]}"/>
|
||||
</group>
|
||||
</group>
|
||||
</page>
|
||||
<page string="Journal Items" attrs="{'invisible': [('state','!=','posted')]}">
|
||||
|
|
Loading…
Reference in New Issue