53 lines
2.4 KiB
XML
53 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data noupdate="1">
|
|
|
|
<!-- notify all employees of module installation -->
|
|
<function model="mail.group" name="message_append_note">
|
|
<!-- ids, subject, body, parent_id=False, type='notification', content_subtype='html' -->
|
|
<value eval="[ref('mail.group_all_employees')]"/>
|
|
<value>Module Purchase Management has been installed.</value>
|
|
<value>From the top menu Purchases, create purchase orders to buy products from your suppliers, encode supplier invoices and manage your payments.
|
|
|
|
You can also manage purchase requisitions, see the Purchase Settings.</value>
|
|
</function>
|
|
|
|
<record id="req_link_purchase_order" model="res.request.link">
|
|
<field name="name">Purchase Order</field>
|
|
<field name="object">purchase.order</field>
|
|
</record>
|
|
|
|
<record id="pricelist_type_purchase" model="product.pricelist.type">
|
|
<field name="name">Purchase Pricelist</field>
|
|
<field name="key">purchase</field>
|
|
</record>
|
|
|
|
<record id="list0" model="product.pricelist">
|
|
<field name="name">Default Purchase Pricelist</field>
|
|
<field name="type">purchase</field>
|
|
</record>
|
|
<record id="ver0" model="product.pricelist.version">
|
|
<field name="pricelist_id" ref="list0"/>
|
|
<field name="name">Default Purchase Pricelist Version</field>
|
|
</record>
|
|
<record id="item0" model="product.pricelist.item">
|
|
<field name="price_version_id" ref="ver0"/>
|
|
<field name="base" ref="product.standard_price"/>
|
|
<field name="name">Default Purchase Pricelist Line</field>
|
|
</record>
|
|
|
|
<record forcecreate="True" id="property_product_pricelist_purchase" model="ir.property">
|
|
<field name="name">property_product_pricelist_purchase</field>
|
|
<field name="fields_id" search="[('model','=','res.partner'),('name','=','property_product_pricelist_purchase')]"/>
|
|
<field eval="'product.pricelist,'+str(list0)" name="value"/>
|
|
</record>
|
|
|
|
<function
|
|
eval="('default',False,'warehouse_id', [('purchase.order', False)], ref('stock.warehouse0'), True, False, False, False, True)"
|
|
id="purchase_default_set"
|
|
model="ir.values"
|
|
name="set"/>
|
|
|
|
</data>
|
|
</openerp>
|