[FIX] Purchase: invoice view id ref given

lp bug: https://launchpad.net/bugs/677008 fixed

bzr revid: mra@mra-laptop-20101208064448-vd3k0ek49iad9i50
This commit is contained in:
PSO(OpenERP)
2010-12-08 12:14:48 +05:30
committed by Mustufa Rangwala
parent 9d9baa010c
commit 3c7f02cd69
+6 -6
View File
@@ -162,7 +162,7 @@
<group colspan="2" col="2">
<separator string="Invoice Control" colspan="2"/>
<field name="invoice_method"/>
<field name="invoice_id" groups="base.group_extended" context="{'journal_type':'purchase'}"/>
<field name="invoice_id" groups="base.group_extended" context="{'journal_type':'purchase', 'type':'in_invoice'}"/>
<field name="fiscal_position" widget="selection"/>
</group>
<newline/>
@@ -312,12 +312,12 @@
<field name="product_id"/>
<field name="price_unit"/>
<field name="product_qty"/>
<field name="product_uom"/>
<field name="product_uom"/>
<field name="price_subtotal"/>
<field name="date_planned" widget="date" width="135"/>
<field name="state" invisible="1"/>
<field name="invoiced" invisible="1"/>
</tree>
@@ -375,7 +375,7 @@
<field name="order_id"/>
<field name="product_id"/>
<field name="partner_id" string="Supplier"/>
</group>
</group>
<newline/>
<group expand="0" string="Group By...">
<filter string="Supplier" icon="terp-partner" domain="[]" context="{'group_by' : 'partner_id'}" />