Merge lp:~vauxoo/addons-vauxoo/addons-vauxoo-6.1_mrp_bom_cost_del_assets_dev_luis into lp:addons-vauxoo/6.1

Proposed by Luis Torres - http://www.vauxoo.com
Status: Merged
Merged at revision: 532
Proposed branch: lp:~vauxoo/addons-vauxoo/addons-vauxoo-6.1_mrp_bom_cost_del_assets_dev_luis
Merge into: lp:addons-vauxoo/6.1
Diff against target: 84 lines (+3/-47)
1 file modified
mrp_advance/mrp_bom_cost/mrp_po_view.xml (+3/-47)
To merge this branch: bzr merge lp:~vauxoo/addons-vauxoo/addons-vauxoo-6.1_mrp_bom_cost_del_assets_dev_luis
Reviewer Review Type Date Requested Status
Rodolfo Lopez Pending
Review via email: mp+130450@code.launchpad.net

Description of the change

Se elimino todo lo relacionado con asets de la vista de mrp_bom_cost

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'mrp_advance/mrp_bom_cost/mrp_po_view.xml'
2--- mrp_advance/mrp_bom_cost/mrp_po_view.xml 2012-09-14 00:26:19 +0000
3+++ mrp_advance/mrp_bom_cost/mrp_po_view.xml 2012-10-18 22:55:23 +0000
4@@ -3,17 +3,8 @@
5 <data>
6 <menuitem id="menu_mrp_product" name="Products" parent="base.menu_mrp_root" sequence="1"/>
7 <!--Product
8- new sub-menu:Products Assets, Products for Sales.
9+ new sub-menu: Products for Sales.
10 -->
11- <record id="product_normal_action_assets" model="ir.actions.act_window">
12- <field name="name">Products Assets</field>
13- <field name="type">ir.actions.act_window</field>
14- <field name="res_model">product.product</field>
15- <field name="domain">[('product_active','=',True)]</field>
16- <field name="view_type">form</field>
17- <field name="view_mode">tree,form</field>
18- </record>
19- <menuitem action="product_normal_action_assets" id="menu_products_assets" parent="menu_mrp_product" sequence="18"/>
20
21 <record id="product_normal_action_sales" model="ir.actions.act_window">
22 <field name="name">Products for Sales</field>
23@@ -56,34 +47,13 @@
24 Bill of Materials
25 -->
26
27- <!-- bom Assets -->
28- <record id="mrp_bom_form_action_assets" model="ir.actions.act_window">
29- <field name="name">Bill of Materials Assets</field>
30- <field name="type">ir.actions.act_window</field>
31- <field name="res_model">mrp.bom</field>
32- <field name="view_type">form</field>
33- <field name="domain">[('bom_id','=',False),('bom_assets','=',True)]</field>
34- </record>
35- <menuitem action="mrp_bom_form_action_assets" id="menu_mrp_bom_form_action_assets" parent="mrp.menu_mrp_configuration"/>
36-
37- <record id="mrp_bom_form_action_new_assets" model="ir.actions.act_window">
38- <field name="name">New Bill of Materials Assets</field>
39- <field name="type">ir.actions.act_window</field>
40- <field name="res_model">mrp.bom</field>
41- <field name="view_type">form</field>
42- <field name="view_mode">form,tree</field>
43- <field name="domain">[('bom_id','=',False),('bom_assets','=',True)]</field>
44- <field name="context">{'bom_assets': True}</field>
45- </record>
46- <menuitem action="mrp_bom_form_action_new_assets" id="menu_mrp_bom_form_action_new_assets" parent="menu_mrp_bom_form_action_assets"/>
47-
48 <!-- bom for Sales -->
49 <record id="mrp_bom_form_action_for_sales" model="ir.actions.act_window">
50 <field name="name">Bill of Materials for Sales</field>
51 <field name="type">ir.actions.act_window</field>
52 <field name="res_model">mrp.bom</field>
53 <field name="view_type">form</field>
54- <field name="domain">[('bom_id','=',False),('bom_assets','=',False)]</field>
55+ <field name="domain">[('bom_id','=',False),]</field>
56 </record>
57 <menuitem action="mrp_bom_form_action_for_sales" id="menu_mrp_bom_form_action_for_sales" parent="mrp.menu_mrp_configuration"/>
58
59@@ -93,24 +63,10 @@
60 <field name="res_model">mrp.bom</field>
61 <field name="view_type">form</field>
62 <field name="view_mode">form,tree</field>
63- <field name="domain">[('bom_id','=',False),('bom_assets','=',False)]</field>
64- <field name="context">{'bom_assets': False}</field>
65+ <field name="domain">[('bom_id','=',False),]</field>
66 </record>
67 <menuitem action="mrp_bom_form_action_new_for_sales" id="menu_mrp_bom_form_action_new_for_sales" parent="menu_mrp_bom_form_action_for_sales"/>
68
69-<!-- field bom_assets
70- <record model="ir.ui.view" id="view_mrp_bom_form_cost_assets">
71- <field name="name">mrp.bom.form.cost_assets</field>
72- <field name="model">mrp.bom</field>
73- <field name="type">form</field>
74- <field name="inherit_id" ref="mrp.mrp_bom_form_view"/>
75- <field name="arch" type="xml">
76- <field name="type" position="after">
77- <field name="bom_assets" invisible='0'/>
78- </field>
79- </field>
80- </record>
81--->
82 <record model="ir.ui.view" id="view_mrp_bom_form_cost1">
83 <field name="name">mrp.bom.form.cost_t1</field>
84 <field name="model">mrp.bom</field>