diff options
Diffstat (limited to 'addons/stock_picking_wave/data')
3 files changed, 150 insertions, 0 deletions
diff --git a/addons/stock_picking_wave/data/ir_sequence_data_picking_wave.xml b/addons/stock_picking_wave/data/ir_sequence_data_picking_wave.xml new file mode 100644 index 00000000000..c38da83cc2f --- /dev/null +++ b/addons/stock_picking_wave/data/ir_sequence_data_picking_wave.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?> +<openerp> + <data noupdate="1"> + <!-- Sequences for picking wave --> + <record id="seq_picking_wave" model="ir.sequence"> + <field name="name">Picking Wave</field> + <field name="code">picking.wave</field> + <field name="prefix">Wave/</field> + <field name="padding">5</field> + <field name="company_id" eval="False"/> + </record> + </data> +</openerp> diff --git a/addons/stock_picking_wave/data/stock_picking_wave_data.xml b/addons/stock_picking_wave/data/stock_picking_wave_data.xml new file mode 100644 index 00000000000..2927713f6b9 --- /dev/null +++ b/addons/stock_picking_wave/data/stock_picking_wave_data.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<odoo> + <!-- Picking Wave related subtypes for messaging / Chatter --> + <record id="mt_wave_state" model="mail.message.subtype"> + <field name="name">Stage Changed</field> + <field name="res_model">stock.picking.wave</field> + <field name="default" eval="False"/> + <field name="description">Stage Changed</field> + </record> +</odoo> diff --git a/addons/stock_picking_wave/data/stock_picking_wave_demo.xml b/addons/stock_picking_wave/data/stock_picking_wave_demo.xml new file mode 100644 index 00000000000..5e9cf4a785d --- /dev/null +++ b/addons/stock_picking_wave/data/stock_picking_wave_demo.xml @@ -0,0 +1,127 @@ +<?xml version="1.0" encoding="utf-8"?> +<openerp> + <data> + <!-- + Add picking wave + --> + <record id="stock_picking_wave_dry_1" model="stock.picking.wave"> + <field name="name">Picking Dry for John</field> + <field name="state">in_progress</field> + </record> + + <record id="stock_picking_wave_freeze_1" model="stock.picking.wave"> + <field name="name">Picking Freeze for Mickael</field> + <field name="state">in_progress</field> + </record> + + <!-- + Add picking + --> + + <record id="Picking_A" model="stock.picking"> + <field name="name">Picking #1</field> + <field name="move_type">one</field> + <field name="priority">2</field> + <field name="picking_type_id" ref="stock.picking_type_internal"/> + <field name="wave_id" ref="stock_picking_wave_freeze_1"/> + <field name="location_id" ref="stock.stock_location_stock"/> + <field name="location_dest_id" ref="stock.stock_location_output"/> + </record> + <record id="Picking_B" model="stock.picking"> + <field name="name">Picking #2</field> + <field name="move_type">one</field> + <field name="state">assigned</field> + <field name="priority">1</field> + <field name="picking_type_id" ref="stock.picking_type_internal"/> + <field name="wave_id" ref="stock_picking_wave_dry_1"/> + <field name="location_id" ref="stock.stock_location_stock"/> + <field name="location_dest_id" ref="stock.stock_location_output"/> + </record> + <record id="Picking_C" model="stock.picking"> + <field name="name">Picking #3</field> + <field name="move_type">one</field> + <field name="state">assigned</field> + <field name="priority">1</field> + <field name="picking_type_id" ref="stock.picking_type_internal"/> + <field name="wave_id" ref="stock_picking_wave_freeze_1"/> + <field name="location_id" ref="stock.stock_location_stock"/> + <field name="location_dest_id" ref="stock.stock_location_output"/> + </record> + + <!-- add Product --> + + <record id="product_product_ice_cream_choco" model="product.product"> + <field name="name">Ice Cream Chocolate</field> + <field name="default_code">IC-CHOCO</field> + <field name="categ_id" ref="product.product_category_all"/> + <field name="list_price">450.0</field> + <field name="standard_price">300.0</field> + <field name="type">consu</field> + <field name="uom_id" ref="product.product_uom_unit"/> + <field name="uom_po_id" ref="product.product_uom_unit"/> + <field name="description_sale">Ice Cream Chocolate with sticks</field> + </record> + <record id="product_product_ice_cream_vani" model="product.product"> + <field name="name">Ice Cream Vanilla</field> + <field name="default_code">IC-VANI</field> + <field name="categ_id" ref="product.product_category_all"/> + <field name="list_price">450.0</field> + <field name="standard_price">300.0</field> + <field name="type">consu</field> + <field name="uom_id" ref="product.product_uom_unit"/> + <field name="uom_po_id" ref="product.product_uom_unit"/> + <field name="description_sale">Ice Cream Vanilla</field> + </record> + <record id="product_product_dry_specu" model="product.product"> + <field name="name">Speculoos</field> + <field name="default_code">DRY-SPEC</field> + <field name="categ_id" ref="product.product_category_all"/> + <field name="list_price">150.0</field> + <field name="standard_price">100.0</field> + <field name="type">consu</field> + <field name="uom_id" ref="product.product_uom_unit"/> + <field name="uom_po_id" ref="product.product_uom_unit"/> + <field name="description_sale">Speculoos - A belgian speciality</field> + </record> + + + <!-- + Add stock move + --> + + <record id="stock_move1" model="stock.move"> + <field name="name">A first stock move</field> + <field name="picking_id" ref="Picking_A"/> + <field name="location_id" ref="stock.stock_location_stock"/> + <field name="location_dest_id" ref="stock.stock_location_output"/> + <field name="product_uom" ref="product.product_uom_unit" /> + <field name="product_id" ref="product_product_ice_cream_choco"/> + </record> + <record id="stock_move2" model="stock.move"> + <field name="name">A second stock move</field> + <field name="picking_id" ref="Picking_A"/> + <field name="location_id" ref="stock.stock_location_stock"/> + <field name="location_dest_id" ref="stock.stock_location_output"/> + <field name="product_uom" ref="product.product_uom_unit" /> + <field name="product_id" ref="product_product_ice_cream_vani"/> + </record> + <record id="stock_move3" model="stock.move"> + <field name="name">A third stock move</field> + <field name="picking_id" ref="Picking_B"/> + <field name="location_id" ref="stock.stock_location_stock"/> + <field name="location_dest_id" ref="stock.stock_location_output"/> + <field name="product_uom" ref="product.product_uom_unit" /> + <!--<field name="product_id" ref="product.product_product_10"/>--> + <field name="product_id" ref="product_product_dry_specu"/> + </record> + <record id="stock_move4" model="stock.move"> + <field name="name">A fourth stock move</field> + <field name="picking_id" ref="Picking_C"/> + <field name="location_id" ref="stock.stock_location_stock"/> + <field name="location_dest_id" ref="stock.stock_location_output"/> + <field name="product_uom" ref="product.product_uom_unit" /> + <field name="product_id" ref="product_product_ice_cream_vani"/> + </record> + + </data> +</openerp> |
