[IMP] Display account field in purchase reciept when no supplier define

bzr revid: fka@tinyerp.com-20131001095055-n9vfq76k9tzzgpwd
This commit is contained in:
Foram Katharotiya (OpenERP) 2013-10-01 15:20:55 +05:30
parent bc9bfe0f24
commit d5d8558f64
1 changed files with 3 additions and 1 deletions

View File

@ -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')]}">