*reverted revision 1456: type of account is a fields.selection on account_account as previously

bzr revid: qdp@tinyerp.com-20080717102359-gzw7t86hwopauzi5
This commit is contained in:
qdp 2008-07-17 12:23:59 +02:00
commit 02e854c2cd
2 changed files with 20 additions and 26 deletions

View File

@ -52,10 +52,10 @@
<field name="currency_id"/>
<field colspan="4" name="line_ids" nolabel="1">
<form string="Expense Lines">
<field name="name" select="1"/>
<field name="date_value" select="1"/>
<field name="product_id" on_change="onchange_product_id(product_id, uom_id)" select="2"/>
<field name="uom_id" on_change="onchange_product_id(product_id, uom_id)" select="2"/>
<field name="name" select="1"/>
<field name="date_value" select="1"/>
<field name="unit_quantity" select="2"/>
<field name="unit_amount" select="2"/>
<field name="ref" select="2"/>
@ -158,4 +158,4 @@
<menuitem action="expense_my_confirm" id="menu_expense_my_confirm" parent="hr_expense.menu_expense_my"/>
</data>
</terp>
</terp>

View File

@ -5,8 +5,8 @@
<menuitem icon="terp-mrp" id="menu_mrp_root" name="Production Management"/>
<!--
Property / Property Group
-->
Property / Property Group
-->
<record id="mrp_property_group_form_view" model="ir.ui.view">
<field name="name">mrp.property.group.form</field>
@ -68,8 +68,8 @@
<menuitem action="mrp_property_action" id="menu_mrp_property_action" parent="menu_mrp_property_group_action_prop"/>
<!--
Workcenters
-->
Workcenters
-->
<record id="mrp_workcenter_tree_view" model="ir.ui.view">
<field name="name">mrp.workcenter.tree</field>
@ -131,8 +131,8 @@
<menuitem action="mrp_workcenter_action" id="menu_mrp_workcenter_action" parent="menu_mrp_configuration"/>
<!--
Routings
-->
Routings
-->
<record id="mrp_routing_workcenter_tree.view" model="ir.ui.view">
<field name="name">mrp.routing.workcenter.tree</field>
@ -205,8 +205,8 @@
<menuitem action="mrp_routing_action" id="menu_mrp_routing_action" parent="menu_mrp_configuration"/>
<!--
Bill of Materials
-->
Bill of Materials
-->
<record id="mrp_bom_form_view" model="ir.ui.view">
<field name="name">mrp.bom.form</field>
@ -216,10 +216,10 @@
<form string="Bill of Material">
<notebook>
<page string="General Information">
<field name="name" select="1"/>
<field name="code" select="1"/>
<field name="product_id" on_change="onchange_product_id(product_id, name)" select="1"/>
<newline/>
<field name="name" select="1"/>
<field name="code" select="1"/>
<field name="product_uom"/>
<field name="product_qty"/>
<newline/>
@ -340,8 +340,8 @@
</record>
<!--
Production Management
-->
Production Management
-->
<record id="mrp_production_tree_view" model="ir.ui.view">
<field name="name">mrp.production.tree</field>
@ -391,9 +391,9 @@
<field name="product_qty"/>
<field name="product_uom"/>
<!--
<field name="product_uos_qty"/>
<field name="product_uos"/>
-->
<field name="product_uos_qty"/>
<field name="product_uos"/>
-->
<field name="bom_id" select="2"/>
<newline/>
@ -564,8 +564,8 @@
</record>
<!--
Procurement
-->
Procurement
-->
<record id="mrp_procurement_tree_view" model="ir.ui.view">
<field name="name">mrp.procurement.tree</field>
@ -693,9 +693,6 @@
<field name="product_uom"/>
<field name="product_min_qty"/>
<field name="product_max_qty"/>
<!--
<field name="logic"/>
-->
</tree>
</field>
</record>
@ -708,9 +705,6 @@
<field name="name" select="1"/>
<field name="active" select="1"/>
<field name="warehouse_id" select="1"/>
<!--
<field name="logic"/>
-->
<field name="product_id" on_change="onchange_product_id(product_id)" select="1"/>
<field name="product_uom"/>
<field name="product_min_qty"/>