[REM] stock_multi_warehouse: removed module with only demo data (not needed anymore)

bzr revid: qdp-launchpad@openerp.com-20131230105157-2rgdjga1zv7mxqhx
This commit is contained in:
Quentin (OpenERP) 2013-12-30 11:51:57 +01:00
parent f5718efa6e
commit db41bae17b
4 changed files with 0 additions and 449 deletions

View File

@ -1,20 +0,0 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################

View File

@ -1,46 +0,0 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
{
'name': 'Multi-warehouse',
'version': '1.0',
'category': 'Warehousing',
'description': """
This module supplements the Warehouse application with demo data for multiple warehouses
========================================================================================
It creates 3 warehouses
""",
'author': 'OpenERP SA',
'images': [],
'depends': ['stock_dropshipping'],
'data': [],
'demo': [
'stock_multi_warehouse.yml'
],
'installable': True,
'test': [
],
'auto_install': False,
}
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -1,383 +0,0 @@
-
!context
noupdate: 1
-
Create Two Customers
-
!record {model: res.partner, id: customer_1}:
name: Customer 1
-
!record {model: res.partner, id: customer_2}:
name: Customer 2
-
Create new warehouse in Panama and configure it
-
!record {model: res.partner, id: panama_address}:
name: 'Panama WH address'
parent_id: base.main_partner
-
!record {model: stock.location, id: view_location}:
name: 'Panama'
location_id: stock.stock_location_locations
usage: 'view'
-
!record {model: stock.location, id: wh1_stock_id}:
name: 'WH1: Stock'
location_id: view_location
usage: 'internal'
-
!record {model: stock.location, id: wh1_stock_id_area1}:
name: 'Area1'
location_id: wh1_stock_id
-
!record {model: stock.location, id: wh1_stock_id_area1_bin1}:
name: 'Bin1'
location_id: wh1_stock_id_area1
-
!record {model: stock.warehouse, id: wh1_id}:
name: 'WH1'
lot_stock_id: wh1_stock_id
partner_id: panama_address
code: 'WH1'
reception_steps: 'three_steps'
delivery_steps: 'pick_pack_ship'
-
Create WH2 warehouse in Dubai and configure it
-
!record {model: res.partner, id: dubai_address}:
name: 'Dubai WH address'
parent_id: base.main_partner
-
!record {model: stock.location, id: view_location_dub}:
name: 'Dubai'
location_id: stock.stock_location_locations
usage: 'view'
-
!record {model: stock.location, id: wh2_stock_id}:
name: 'WH2: Stock'
location_id: view_location_dub
usage: 'internal'
-
!record {model: stock.location, id: wh2_stock_id_area2}:
name: 'Area2'
location_id: wh2_stock_id
-
!record {model: stock.warehouse, id: wh2_id}:
name: 'WH2'
lot_stock_id: wh2_stock_id
partner_id: dubai_address
code: 'WH2'
reception_steps: 'one_step'
delivery_steps: 'ship_only'
-
Create Products
-
!record {model: product.product, id: product_A}:
name: Product A
type: product
categ_id: product.product_category_1
list_price: 100.0
standard_price: 70.0
uom_id: product.product_uom_unit
uom_po_id: product.product_uom_unit
-
!record {model: product.product, id: product_B}:
name: Product B
type: product
categ_id: product.product_category_1
list_price: 150.0
standard_price: 150.0
uom_id: product.product_uom_unit
uom_po_id: product.product_uom_unit
-
!record {model: product.product, id: product_C}:
name: Product C
type: product
categ_id: product.product_category_1
list_price: 200.0
standard_price: 150.0
uom_id: product.product_uom_unit
uom_po_id: product.product_uom_unit
-
!record {model: product.product, id: product_D}:
name: Product D
type: product
categ_id: product.product_category_1
list_price: 300.0
standard_price: 280.0
uom_id: product.product_uom_unit
uom_po_id: product.product_uom_unit
-
!record {model: product.product, id: product_E}:
name: Product E
type: product
categ_id: product.product_category_1
list_price: 10.0
standard_price: 10.0
uom_id: product.product_uom_unit
uom_po_id: product.product_uom_unit
-
!record {model: product.product, id: product_F}:
name: Product F
type: product
categ_id: product.product_category_1
list_price: 20.0
standard_price: 20.0
uom_id: product.product_uom_unit
uom_po_id: product.product_uom_unit
-
!record {model: product.product, id: product_G}:
name: Product G
type: product
categ_id: product.product_category_1
list_price: 30.0
standard_price: 30.0
uom_id: product.product_uom_unit
uom_po_id: product.product_uom_unit
-
!record {model: product.product, id: product_H}:
name: Product H
type: product
categ_id: product.product_category_1
list_price: 40.0
standard_price: 40.0
uom_id: product.product_uom_unit
uom_po_id: product.product_uom_unit
-
Create Lot
-
!record {model: stock.production.lot, id: lot001}:
name: Lot001
product_id: product_C
-
!record {model: stock.production.lot, id: lot002}:
name: Lot002
product_id: product_C
-
!record {model: stock.production.lot, id: lot003}:
name: Lot003
product_id: product_C
-
!record {model: stock.production.lot, id: lot004}:
name: Lot004
product_id: product_C
-
Fill inventory
-
I create an inventory for Location Stock1
-
!record {model: stock.inventory, id: inventory_stock1}:
name: Inventory Stock 1
location_id: wh1_stock_id
-
I add 2 inventory line for product A and B and say i have 6 and 12 products in stock
-
!record {model: stock.inventory.line, id: inventory_stock1line_productA}:
inventory_id: inventory_stock1
product_id: product_A
product_qty: 6
location_id: wh1_stock_id
product_uom_id: product.product_uom_unit
-
!record {model: stock.inventory.line, id: inventory_stock1line_productB}:
inventory_id: inventory_stock1
product_id: product_B
product_qty: 12
location_id: wh1_stock_id
product_uom_id: product.product_uom_unit
-
I confirm Stock1 inventory
-
!python {model: stock.inventory}: |
self.action_done(cr, uid, [ref('inventory_stock1')], context=context)
-
I create an inventory for Location Stock2
-
!record {model: stock.inventory, id: inventory_stock2}:
name: Inventory Stock 2
location_id: wh2_stock_id
-
I add 4 inventory lines for product A, B, C, C and say i have 8, 120, 5, 15 products in stock
-
!record {model: stock.inventory.line, id: inventory_stock2line_productA}:
inventory_id: inventory_stock2
product_id: product_A
product_qty: 8
location_id: wh2_stock_id
product_uom_id: product.product_uom_unit
-
!record {model: stock.inventory.line, id: inventory_stock2line_productB}:
inventory_id: inventory_stock2
product_id: product_B
product_qty: 120
location_id: wh2_stock_id
product_uom_id: product.product_uom_unit
-
!record {model: stock.inventory.line, id: inventory_stock2line_productC_1}:
inventory_id: inventory_stock2
product_id: product_C
product_qty: 5
location_id: wh2_stock_id
prod_lot_id: lot003
product_uom_id: product.product_uom_unit
-
!record {model: stock.inventory.line, id: inventory_stock2line_productC_2}:
inventory_id: inventory_stock2
product_id: product_C
product_qty: 15
location_id: wh2_stock_id
prod_lot_id: lot004
product_uom_id: product.product_uom_unit
-
I confirm Stock2 inventory
-
!python {model: stock.inventory}: |
self.action_done(cr, uid, [ref('inventory_stock2')], context=context)
-
I create an inventory for Location Area1
-
!record {model: stock.inventory, id: inventory_stock1_area1}:
name: Inventory Stock1 area 1
location_id: wh1_stock_id_area1
-
I add 2 inventory lines for product D, D and say i have 4, 5 products in stock
-
!record {model: stock.inventory.line, id: inventory_stock1line_productD_1}:
inventory_id: inventory_stock1_area1
product_id: product_D
product_qty: 4
location_id: wh1_stock_id_area1
partner_id: customer_1
product_uom_id: product.product_uom_unit
-
!record {model: stock.inventory.line, id: inventory_stock1line_productD_2}:
inventory_id: inventory_stock1_area1
product_id: product_D
product_qty: 5
location_id: wh1_stock_id_area1
partner_id: customer_2
product_uom_id: product.product_uom_unit
-
I confirm Area1 inventory
-
!python {model: stock.inventory}: |
self.action_done(cr, uid, [ref('inventory_stock1_area1')], context=context)
-
I create an inventory for Location Area 2
-
!record {model: stock.inventory, id: inventory_stock2_area2}:
name: Inventory Stock2 area 2
location_id: wh2_stock_id_area2
-
I add 2 inventory lines for product D, D and say i have 2, 3 products in stock
-
!record {model: stock.inventory.line, id: inventory_stock2line_productD_1}:
inventory_id: inventory_stock2_area2
product_id: product_D
product_qty: 2
location_id: wh2_stock_id_area2
partner_id: customer_1
product_uom_id: product.product_uom_unit
-
!record {model: stock.inventory.line, id: inventory_stock2line_productD_2}:
inventory_id: inventory_stock2_area2
product_id: product_D
product_qty: 3
location_id: wh2_stock_id_area2
partner_id: customer_2
product_uom_id: product.product_uom_unit
-
I confirm Area2 inventory
-
!python {model: stock.inventory}: |
self.action_done(cr, uid, [ref('inventory_stock2_area2')], context=context)
-
I create an inventory for Location Bin1
-
!record {model: stock.inventory, id: inventory_stock1_area1_bin1}:
name: Inventory Stock1 area1 bin 1
location_id: wh1_stock_id_area1_bin1
-
I add 2 inventory lines for product C, C and say i have 3, 14 products in stock
-
!record {model: stock.inventory.line, id: inventory_stock1line_productC_1}:
inventory_id: inventory_stock1_area1_bin1
product_id: product_C
product_qty: 3
location_id: wh1_stock_id_area1_bin1
prod_lot_id: lot001
product_uom_id: product.product_uom_unit
-
!record {model: stock.inventory.line, id: inventory_stock1line_productC_2}:
inventory_id: inventory_stock1_area1_bin1
product_id: product_C
product_qty: 14
location_id: wh1_stock_id_area1_bin1
prod_lot_id: lot002
product_uom_id: product.product_uom_unit
-
I confirm Bin1 inventory
-
!python {model: stock.inventory}: |
self.action_done(cr, uid, [ref('inventory_stock1_area1_bin1')], context=context)
-
I create some sale order in draft
-
!record {model: sale.order, id: so1}:
partner_id: customer_1
warehouse_id: wh2_id
order_line:
- product_id: product_A
product_uom_qty: 7
- product_id: product_B
product_uom_qty: 10
- product_id: product_C
product_uom_qty: 6
- product_id: product_D
product_uom_qty: 2
-
!record {model: sale.order, id: so2}:
partner_id: customer_1
warehouse_id: wh2_id
order_line:
- product_id: product_E
product_uom_qty: 5
- product_id: product_F
product_uom_qty: 20
- product_id: product_G
product_uom_qty: 12
- product_id: product_H
product_uom_qty: 8
-
!record {model: sale.order, id: so3}:
partner_id: customer_2
warehouse_id: wh1_id
order_line:
- product_id: product_A
product_uom_qty: 5
- product_id: product_D
product_uom_qty: 3
- product_id: product_G
product_uom_qty: 12