~credativ/credativ-openerp/stock_inventory_sale_uom

« back to all changes in this revision

Viewing changes to product_name_get_customizations/purchase_view.xml

  • Committer: Ondřej Kuzník
  • Date: 2014-06-20 11:21:42 UTC
  • mfrom: (28.2.4 credativ-addons-rm6678)
  • Revision ID: ondrej.kuznik@credativ.co.uk-20140620112142-ld6tu32u0e5adllv
[MRG] PRoduct name view customizations

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
        <record id="purchase.purchase_rfq" model="ir.actions.act_window">
 
5
            <field name="context">{"product_display_format":"name"}</field>
 
6
        </record>
 
7
 
 
8
        <record id="purchase.purchase_form_action" model="ir.actions.act_window">
 
9
            <field name="context">{"product_display_format":"name"}</field>
 
10
        </record>
 
11
 
 
12
        <record id="purchase_order_form_inherit" model="ir.ui.view">
 
13
            <field name="name">purchase.order.form</field>
 
14
            <field name="model">purchase.order</field>
 
15
            <field name="inherit_id" ref="purchase.purchase_order_form"/>
 
16
            <field name="arch" type="xml">
 
17
                <xpath expr="//page[@string='Purchase Order']/field[@name='order_line']" position="attributes">
 
18
                    <attribute name="context">{"product_display_format":"code"}</attribute>
 
19
                </xpath>
 
20
            </field>
 
21
        </record>
 
22
    </data>
 
23
</openerp>