~vauxoo/addons-vauxoo/addons-vauxoo-stock_picking_cancel_move-dev-julio

« back to all changes in this revision

Viewing changes to mrp_planified_onchange_plus_account_links/mrp_view.xml

  • Committer: Julio Serna
  • Date: 2012-10-23 16:23:35 UTC
  • mfrom: (492.1.42 6.1)
  • Revision ID: julio@vauxoo.com-20121023162335-1buz3jm9fkclhld4
[MERGE] repository

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<openerp>
 
3
    <data>
 
4
<!--
 
5
        modifiying view
 
6
-->
 
7
        <record id="mrp_planified_onchange_form" model="ir.ui.view">
 
8
            <field name="name">mrp.planified.onchange.form</field>
 
9
            <field name="model">mrp.production.product.line</field>
 
10
            <field name="inherit_id" ref="mrp.mrp_production_product_form_view" />
 
11
            <field name="type">form</field>
 
12
            <field name="arch" type="xml">
 
13
                <xpath expr="/form/field[@name='product_id']" position="replace">
 
14
                    <field name="product_id" on_change="onchange_product_scheduled_line(product_id)"/>
 
15
                </xpath>
 
16
            </field>
 
17
        </record>
 
18
        
 
19
        <act_window
 
20
            domain="[('production_id','=',active_id)]"
 
21
            id="act_account_production"
 
22
            name="Ítems"
 
23
            res_model="account.move.line"
 
24
            src_model="mrp.production"
 
25
            context="{}" />
 
26
            
 
27
         <act_window
 
28
            domain="[('line_id.production_id','in',[active_id])]"
 
29
            id="act_account_line_production"
 
30
            name="Entries"
 
31
            res_model="account.move"
 
32
            src_model="mrp.production"
 
33
            context="{}" />
 
34
 
 
35
    </data>
 
36
</openerp>
 
 
b'\\ No newline at end of file'