1 <?xml version="1.0" encoding="utf-8"?>
5 <!-- notify all employees of module installation -->
6 <record model="mail.message" id="module_install_notification">
7 <field name="model">mail.group</field>
8 <field name="res_id" ref="mail.group_all_employees"/>
9 <field name="type">notification</field>
10 <field name="subtype_id" ref="mail.mt_comment"/>
11 <field name="subject">Purchase Management application installed!</field>
12 <field name="body"><![CDATA[<p>From the top menu Purchases, create purchase orders to buy products from your suppliers, enter supplier invoices and manage payments.</p>
13 <p>You can also manage purchase requisitions, see also the Purchase Settings.</p>]]></field>
16 <record id="req_link_purchase_order" model="res.request.link">
17 <field name="name">Purchase Order</field>
18 <field name="object">purchase.order</field>
21 <record id="pricelist_type_purchase" model="product.pricelist.type">
22 <field name="name">Purchase Pricelist</field>
23 <field name="key">purchase</field>
26 <record id="list0" model="product.pricelist">
27 <field name="name">Default Purchase Pricelist</field>
28 <field name="type">purchase</field>
30 <record id="ver0" model="product.pricelist.version">
31 <field name="pricelist_id" ref="list0"/>
32 <field name="name">Default Purchase Pricelist Version</field>
34 <record id="item0" model="product.pricelist.item">
35 <field name="price_version_id" ref="ver0"/>
36 <field name="base" ref="product.standard_price"/>
37 <field name="name">Default Purchase Pricelist Line</field>
40 <record forcecreate="True" id="property_product_pricelist_purchase" model="ir.property">
41 <field name="name">property_product_pricelist_purchase</field>
42 <field name="fields_id" search="[('model','=','res.partner'),('name','=','property_product_pricelist_purchase')]"/>
43 <field eval="'product.pricelist,'+str(list0)" name="value"/>
47 eval="('default',False,'warehouse_id', [('purchase.order', False)], ref('stock.warehouse0'), True, False, False, False, True)"
48 id="purchase_default_set"