summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2012-08-31 12:12:13 +0200
committerRaphael Collet <rco@openerp.com>2012-08-31 12:12:13 +0200
commita2aa1dfdce68b3ef0ec41ad085b506fd8735c6b1 (patch)
tree7c0003c90a2209466e36524686e79a556201bfaa /addons
parent5426eb7508768f954ac1d1e78ef20a9c0d8fd736 (diff)
[IMP] purchase: add missing fields in purchase order lines
bzr revid: rco@openerp.com-20120831101213-cueqapr741v9ntzo
Diffstat (limited to 'addons')
-rw-r--r--addons/purchase/purchase_view.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/addons/purchase/purchase_view.xml b/addons/purchase/purchase_view.xml
index dfa4c5a0651..35882574619 100644
--- a/addons/purchase/purchase_view.xml
+++ b/addons/purchase/purchase_view.xml
@@ -216,11 +216,14 @@
<field name="order_line">
<tree string="Purchase Order Lines" editable="bottom">
<field name="product_id" on_change="onchange_product_id(parent.pricelist_id,product_id,product_qty,product_uom,parent.partner_id, parent.date_order,parent.fiscal_position,date_planned,name,price_unit,context)"/>
- <field name="date_planned"/>
<field name="name"/>
+ <field name="date_planned"/>
+ <field name="company_id" groups="base.group_multi_company" widget="selection"/>
+ <field name="account_analytic_id" groups="purchase.group_analytic_accounting" domain="[('parent_id','!=',False)]"/>
<field name="product_qty" on_change="onchange_product_id(parent.pricelist_id,product_id,product_qty,product_uom,parent.partner_id,parent.date_order,parent.fiscal_position,date_planned,name,price_unit,context)"/>
<field name="product_uom" groups="product.group_uom" on_change="onchange_product_uom(parent.pricelist_id,product_id,product_qty,product_uom,parent.partner_id, parent.date_order,parent.fiscal_position,date_planned,name,price_unit,context)"/>
<field name="price_unit"/>
+ <field name="taxes_id" widget="many2many_tags" domain="[('parent_id','=',False),('type_tax_use','!=','sale')]"/>
<field name="price_subtotal"/>
</tree>
</field>