1 <?xml version="1.0" encoding="utf-8"?>
4 <!-- notify all employees of module installation -->
5 <function model="mail.group" name="message_append_note">
6 <!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->
7 <value eval="[ref('mail.group_all_employees')]"/>
8 <value>Module Purchase Management has been installed</value>
9 <value>From the top menu Purchases, create purchase orders to buy
10 products from your suppliers, encode supplier invoices and
13 You can also manage purchase requisitions, see the Purchase
18 <record id="req_link_purchase_order" model="res.request.link">
19 <field name="name">Purchase Order</field>
20 <field name="object">purchase.order</field>
23 <record id="pricelist_type_purchase" model="product.pricelist.type">
24 <field name="name">Purchase Pricelist</field>
25 <field name="key">purchase</field>
28 <record id="list0" model="product.pricelist">
29 <field name="name">Default Purchase Pricelist</field>
30 <field name="type">purchase</field>
32 <record id="ver0" model="product.pricelist.version">
33 <field name="pricelist_id" ref="list0"/>
34 <field name="name">Default Purchase Pricelist Version</field>
36 <record id="item0" model="product.pricelist.item">
37 <field name="price_version_id" ref="ver0"/>
38 <field name="base" ref="product.standard_price"/>
39 <field name="name">Default Purchase Pricelist Line</field>
42 <record forcecreate="True" id="property_product_pricelist_purchase" model="ir.property">
43 <field name="name">property_product_pricelist_purchase</field>
44 <field name="fields_id" search="[('model','=','res.partner'),('name','=','property_product_pricelist_purchase')]"/>
45 <field eval="'product.pricelist,'+str(list0)" name="value"/>
49 eval="('default',False,'warehouse_id', [('purchase.order', False)], ref('stock.warehouse0'), True, False, False, False, True)"
50 id="purchase_default_set"