diff options
| author | Dhaval Panchal <dpa@odoo.com> | 2016-04-29 16:18:07 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2016-07-04 16:22:35 +0200 |
| commit | c8a39e734f2551de4b3a4c78c65e711b49d2344d (patch) | |
| tree | 0e29e9fb3ca99304aba084cfdefdd5a44560048f /addons/mrp/data/mrp_data.xml | |
| parent | ba7274dc01ab47ba2fc6b6eb71e26cd15f5bfcdd (diff) | |
[MOV] mrp: move and split
Split files and move them according to the new API guidelines. Containing
- mrp splitted into its main models and files
- stock code moved into its own models and files
- various renaming
Diffstat (limited to 'addons/mrp/data/mrp_data.xml')
| -rw-r--r-- | addons/mrp/data/mrp_data.xml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/addons/mrp/data/mrp_data.xml b/addons/mrp/data/mrp_data.xml new file mode 100644 index 00000000000..8a391272698 --- /dev/null +++ b/addons/mrp/data/mrp_data.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="utf-8"?> +<openerp> + <data noupdate="1"> + <!-- notify all employees of module installation --> + <record model="mail.message" id="module_install_notification"> + <field name="model">mail.channel</field> + <field name="res_id" ref="mail.channel_all_employees"/> + <field name="message_type">notification</field> + <field name="subtype_id" ref="mail.mt_comment"/> + <field name="subject">MRP application installed!</field> + <field name="body"><![CDATA[<p>Manage your manufacturing process with Odoo by defining your bills of materials (BoM), routings and work centers.</p><p> +This application supports complete integration and production scheduling for stockable goods, consumables, and services.</p> +<p>From the Manufacturing Settings, you can choose to compute production schedules periodically or just-in-time.</p>]]></field> + </record> + + <record id="sequence_mrp_prod" model="ir.sequence"> + <field name="name">Production order</field> + <field name="code">mrp.production</field> + <field name="prefix">MO</field> + <field name="padding">5</field> + <field name="number_next">1</field> + <field name="number_increment">1</field> + </record> + + <!-- + Procurement rules and routes + --> + + <record id="route_warehouse0_manufacture" model='stock.location.route'> + <field name="name">Manufacture</field> + <field name="sequence">5</field> + </record> + + <!-- Enable the manufacturing in warehouse0 --> + <record id='stock.warehouse0' model='stock.warehouse'> + <field name='manufacture_to_resupply' eval='True'/> + </record> + + </data> +</openerp> |
