odoo/addons/sale/sale_data.xml

40 lines
1.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="1">
<!-- Requests Links -->
<record id="req_link_sale_order" model="res.request.link">
<field name="name">Sales Order</field>
<field name="object">sale.order</field>
</record>
<!-- Resource: sale.shop -->
<record id="shop" model="sale.shop">
<field name="company_id" ref="base.main_company"/>
<field name="payment_default_id" ref="account.account_payment_term"/>
<field name="pricelist_id" ref="product.list0"/>
<!-- Copy the name of any company. Without demo data this will yield
the main company name, which is correct. With demo data it will
be random, but it does not matter much -->
<field model="res.company" name="name" search="[]" use="name"/>
</record>
<function eval="('default',False,'shop_id', [('sale.order', False)], shop, True, False, False, False, True)" id="sale_default_set" model="ir.values" name="set"/>
<!-- 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 Sales Management has been installed</value>
<value>From the top menu Sales, manage your customers, quotations and
sales orders. With sale orders, you can manage product
deliveries and customer invoices.
If you need to manage your sales pipeline (leads, opportunities,
phonecalls), you can install the module CRM from the top menu
Settings.
</value>
</function>
</data>
</openerp>