-
-
Notifications
You must be signed in to change notification settings - Fork 723
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
482 additions
and
359 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo noupdate="1"> | ||
<record model="ir.sequence" id="sequence_kardex_command"> | ||
<field name="name">Vertical Lift Commands</field> | ||
<field name="code">vertical.lift.command</field> | ||
<field name="prefix">L</field> | ||
<field name="padding">6</field> | ||
<field name="company_id" eval="False"/> | ||
<field name="company_id" eval="False" /> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,29 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo noupdate="1"> | ||
|
||
<record id="product_running_socks" model="product.product"> | ||
<field name="default_code">RS200</field> | ||
<field name="barcode">4491673293664</field> | ||
<field name="name">Running Socks</field> | ||
<field name="type">product</field> | ||
<field name="categ_id" ref="product.product_category_6"/> | ||
<field name="categ_id" ref="product.product_category_6" /> | ||
<field name="lst_price">30.0</field> | ||
<field name="standard_price">20.0</field> | ||
<field name="weight">1.0</field> | ||
<field name="tracking">none</field> | ||
<field name="uom_id" ref="uom.product_uom_unit"/> | ||
<field name="uom_po_id" ref="uom.product_uom_unit"/> | ||
<field name="uom_id" ref="uom.product_uom_unit" /> | ||
<field name="uom_po_id" ref="uom.product_uom_unit" /> | ||
</record> | ||
|
||
<record id="product_recovery_socks" model="product.product"> | ||
<field name="default_code">RS300</field> | ||
<field name="barcode">2779891103531</field> | ||
<field name="name">Recovery Socks</field> | ||
<field name="type">product</field> | ||
<field name="categ_id" ref="product.product_category_6"/> | ||
<field name="categ_id" ref="product.product_category_6" /> | ||
<field name="lst_price">30.0</field> | ||
<field name="standard_price">20.0</field> | ||
<field name="weight">1.0</field> | ||
<field name="tracking">none</field> | ||
<field name="uom_id" ref="uom.product_uom_unit"/> | ||
<field name="uom_po_id" ref="uom.product_uom_unit"/> | ||
<field name="uom_id" ref="uom.product_uom_unit" /> | ||
<field name="uom_po_id" ref="uom.product_uom_unit" /> | ||
</record> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,30 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo noupdate="1"> | ||
|
||
<record id="stock_inventory_vertical_lift_0" model="stock.inventory"> | ||
<field name="name">Starting Vertical Lift Inventory</field> | ||
</record> | ||
|
||
<record id="stock_inventory_vertical_lift_line_1" model="stock.inventory.line"> | ||
<field name="product_id" ref="product_running_socks"/> | ||
<field name="product_uom_id" ref="uom.product_uom_unit"/> | ||
<field name="inventory_id" ref="stock_inventory_vertical_lift_0"/> | ||
<field name="product_id" ref="product_running_socks" /> | ||
<field name="product_uom_id" ref="uom.product_uom_unit" /> | ||
<field name="inventory_id" ref="stock_inventory_vertical_lift_0" /> | ||
<field name="product_qty">30.0</field> | ||
<field name="location_id" ref="stock_location_vertical_lift_demo_tray_1b_x3y2"/> | ||
<field | ||
name="location_id" | ||
ref="stock_location_vertical_lift_demo_tray_1b_x3y2" | ||
/> | ||
</record> | ||
|
||
<function model="stock.inventory" name="_action_start"> | ||
<function eval="[[('state','=','draft'),('id', '=', ref('stock_vertical_lift.stock_inventory_vertical_lift_0'))]]" model="stock.inventory" name="search"/> | ||
<function | ||
eval="[[('state','=','draft'),('id', '=', ref('stock_vertical_lift.stock_inventory_vertical_lift_0'))]]" | ||
model="stock.inventory" | ||
name="search" | ||
/> | ||
</function> | ||
<function model="stock.inventory" name="action_validate"> | ||
<function eval="[[('state','=','confirm'),('id', '=', ref('stock_vertical_lift.stock_inventory_vertical_lift_0'))]]" model="stock.inventory" name="search"/> | ||
<function | ||
eval="[[('state','=','confirm'),('id', '=', ref('stock_vertical_lift.stock_inventory_vertical_lift_0'))]]" | ||
model="stock.inventory" | ||
name="search" | ||
/> | ||
</function> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,115 +1,131 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo noupdate="1"> | ||
|
||
<record id="stock_location_vertical_lift" model="stock.location"> | ||
<field name="name">Vertical Lift</field> | ||
<!-- Beware, must not be view, even if we must not have stock here. | ||
Because stock moves targeting views are not included in the | ||
inventory at date, and we want to be able to use "Vertical Lift View" | ||
as destination (the final destination will be a "cell" in a Shuttle). | ||
--> | ||
<field name="location_id" ref="stock.stock_location_stock"/> | ||
<field name="location_id" ref="stock.stock_location_stock" /> | ||
<field name="usage">internal</field> | ||
<field name="vertical_lift_location" eval="True"/> | ||
<field name="vertical_lift_location" eval="True" /> | ||
</record> | ||
|
||
<record id="stock_location_vertical_lift_demo_shuttle_1" model="stock.location"> | ||
<field name="name">Shuttle 1</field> | ||
<field name="location_id" ref="stock_location_vertical_lift"/> | ||
<field name="location_id" ref="stock_location_vertical_lift" /> | ||
<field name="usage">internal</field> | ||
</record> | ||
|
||
<record id="stock_location_vertical_lift_demo_tray_1a" model="stock.location"> | ||
<field name="name">Tray 1A</field> | ||
<field name="barcode">T1A</field> | ||
<field name="location_id" ref="stock_location_vertical_lift_demo_shuttle_1"/> | ||
<field name="tray_type_id" ref="stock_location_tray.stock_location_tray_type_small_8x"/> | ||
<field name="location_id" ref="stock_location_vertical_lift_demo_shuttle_1" /> | ||
<field | ||
name="tray_type_id" | ||
ref="stock_location_tray.stock_location_tray_type_small_8x" | ||
/> | ||
<field name="usage">internal</field> | ||
</record> | ||
|
||
<record id="stock_location_vertical_lift_demo_tray_1b" model="stock.location"> | ||
<field name="name">Tray 1B</field> | ||
<field name="barcode">T1B</field> | ||
<field name="location_id" ref="stock_location_vertical_lift_demo_shuttle_1"/> | ||
<field name="tray_type_id" ref="stock_location_tray.stock_location_tray_type_large_16x"/> | ||
<field name="location_id" ref="stock_location_vertical_lift_demo_shuttle_1" /> | ||
<field | ||
name="tray_type_id" | ||
ref="stock_location_tray.stock_location_tray_type_large_16x" | ||
/> | ||
<field name="usage">internal</field> | ||
</record> | ||
|
||
<record id="stock_location_vertical_lift_demo_tray_1c" model="stock.location"> | ||
<field name="name">Tray 1C</field> | ||
<field name="barcode">T1C</field> | ||
<field name="location_id" ref="stock_location_vertical_lift_demo_shuttle_1"/> | ||
<field name="tray_type_id" ref="stock_location_tray.stock_location_tray_type_large_32x"/> | ||
<field name="location_id" ref="stock_location_vertical_lift_demo_shuttle_1" /> | ||
<field | ||
name="tray_type_id" | ||
ref="stock_location_tray.stock_location_tray_type_large_32x" | ||
/> | ||
<field name="usage">internal</field> | ||
</record> | ||
|
||
<record id="stock_location_vertical_lift_demo_shuttle_2" model="stock.location"> | ||
<field name="name">Shuttle 2</field> | ||
<field name="location_id" ref="stock_location_vertical_lift"/> | ||
<field name="location_id" ref="stock_location_vertical_lift" /> | ||
<field name="usage">internal</field> | ||
</record> | ||
|
||
<record id="stock_location_vertical_lift_demo_tray_2a" model="stock.location"> | ||
<field name="name">Tray 2A</field> | ||
<field name="barcode">T2A</field> | ||
<field name="location_id" ref="stock_location_vertical_lift_demo_shuttle_2"/> | ||
<field name="tray_type_id" ref="stock_location_tray.stock_location_tray_type_large_8x"/> | ||
<field name="location_id" ref="stock_location_vertical_lift_demo_shuttle_2" /> | ||
<field | ||
name="tray_type_id" | ||
ref="stock_location_tray.stock_location_tray_type_large_8x" | ||
/> | ||
<field name="usage">internal</field> | ||
</record> | ||
|
||
<record id="stock_location_vertical_lift_demo_tray_2b" model="stock.location"> | ||
<field name="name">Tray 2B</field> | ||
<field name="barcode">T2B</field> | ||
<field name="location_id" ref="stock_location_vertical_lift_demo_shuttle_2"/> | ||
<field name="tray_type_id" ref="stock_location_tray.stock_location_tray_type_large_4x"/> | ||
<field name="location_id" ref="stock_location_vertical_lift_demo_shuttle_2" /> | ||
<field | ||
name="tray_type_id" | ||
ref="stock_location_tray.stock_location_tray_type_large_4x" | ||
/> | ||
<field name="usage">internal</field> | ||
</record> | ||
|
||
<record id="stock_location_vertical_lift_demo_tray_2c" model="stock.location"> | ||
<field name="name">Tray 2C</field> | ||
<field name="barcode">T2C</field> | ||
<field name="location_id" ref="stock_location_vertical_lift_demo_shuttle_2"/> | ||
<field name="tray_type_id" ref="stock_location_tray.stock_location_tray_type_large_16x_2"/> | ||
<field name="location_id" ref="stock_location_vertical_lift_demo_shuttle_2" /> | ||
<field | ||
name="tray_type_id" | ||
ref="stock_location_tray.stock_location_tray_type_large_16x_2" | ||
/> | ||
<field name="usage">internal</field> | ||
</record> | ||
|
||
<record id="stock_location_vertical_lift_demo_tray_2d" model="stock.location"> | ||
<field name="name">Tray 2D</field> | ||
<field name="barcode">T2D</field> | ||
<field name="location_id" ref="stock_location_vertical_lift_demo_shuttle_2"/> | ||
<field name="tray_type_id" ref="stock_location_tray.stock_location_tray_type_small_8x"/> | ||
<field name="location_id" ref="stock_location_vertical_lift_demo_shuttle_2" /> | ||
<field | ||
name="tray_type_id" | ||
ref="stock_location_tray.stock_location_tray_type_small_8x" | ||
/> | ||
<field name="usage">internal</field> | ||
</record> | ||
|
||
<record id="stock_location_vertical_lift_demo_shuttle_3" model="stock.location"> | ||
<field name="name">Shuttle 3</field> | ||
<field name="location_id" ref="stock_location_vertical_lift"/> | ||
<field name="location_id" ref="stock_location_vertical_lift" /> | ||
<field name="usage">internal</field> | ||
</record> | ||
|
||
<record id="stock_location_vertical_lift_demo_tray_3a" model="stock.location"> | ||
<field name="name">Tray 3A</field> | ||
<field name="barcode">T3A</field> | ||
<field name="location_id" ref="stock_location_vertical_lift_demo_shuttle_3"/> | ||
<field name="tray_type_id" ref="stock_location_tray.stock_location_tray_type_small_32x"/> | ||
<field name="location_id" ref="stock_location_vertical_lift_demo_shuttle_3" /> | ||
<field | ||
name="tray_type_id" | ||
ref="stock_location_tray.stock_location_tray_type_small_32x" | ||
/> | ||
<field name="usage">internal</field> | ||
</record> | ||
|
||
<record id="stock_location_vertical_lift_demo_tray_3b" model="stock.location"> | ||
<field name="name">Tray 3B</field> | ||
<field name="barcode">T3B</field> | ||
<field name="location_id" ref="stock_location_vertical_lift_demo_shuttle_3"/> | ||
<field name="tray_type_id" ref="stock_location_tray.stock_location_tray_type_large_32x"/> | ||
<field name="location_id" ref="stock_location_vertical_lift_demo_shuttle_3" /> | ||
<field | ||
name="tray_type_id" | ||
ref="stock_location_tray.stock_location_tray_type_large_32x" | ||
/> | ||
<field name="usage">internal</field> | ||
</record> | ||
|
||
<!-- When the trays are created, they will create their 'cell' locations. | ||
This method will add xmlids on them to be able to reference them in | ||
other demo data and tests. | ||
--> | ||
<function model="stock.location" name="_create_tray_xmlids"> | ||
<function eval="[[('cell_in_tray_type_id', '!=', False)]]" model="stock.location" name="search"/> | ||
<function | ||
eval="[[('cell_in_tray_type_id', '!=', False)]]" | ||
model="stock.location" | ||
name="search" | ||
/> | ||
<value>stock_vertical_lift</value> | ||
</function> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,63 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo noupdate="1"> | ||
|
||
<record id="stock_picking_out_demo_vertical_lift_1" model="stock.picking"> | ||
<field name="picking_type_id" ref="stock.picking_type_out"/> | ||
<field name="picking_type_id" ref="stock.picking_type_out" /> | ||
<field name="origin">Outgoing shipment from Vertical Lift (demo)</field> | ||
<field name="partner_id" ref="base.res_partner_1"/> | ||
<field name="date" eval="DateTime.today()"/> | ||
<field name="location_id" ref="stock.stock_location_stock"/> | ||
<field name="location_dest_id" ref="stock.stock_location_customers"/> | ||
<field name="move_lines" model="stock.move" eval="[(0, 0, { | ||
<field name="partner_id" ref="base.res_partner_1" /> | ||
<field name="date" eval="DateTime.today()" /> | ||
<field name="location_id" ref="stock.stock_location_stock" /> | ||
<field name="location_dest_id" ref="stock.stock_location_customers" /> | ||
<field | ||
name="move_lines" | ||
model="stock.move" | ||
eval="[(0, 0, { | ||
'name': obj().env.ref('stock_vertical_lift.product_running_socks').name, | ||
'product_id': ref('stock_vertical_lift.product_running_socks'), | ||
'product_uom': ref('uom.product_uom_unit'), | ||
'product_uom_qty': 15.0, | ||
'picking_type_id': ref('stock.picking_type_out'), | ||
'location_id': ref('stock.stock_location_stock'), | ||
'location_dest_id': ref('stock.stock_location_customers'), | ||
})]"/> | ||
})]" | ||
/> | ||
</record> | ||
|
||
<function model="stock.picking" name="action_confirm"> | ||
<value model="stock.picking" eval="[obj().env.ref('stock_vertical_lift.stock_picking_out_demo_vertical_lift_1').id]"/> | ||
<value | ||
model="stock.picking" | ||
eval="[obj().env.ref('stock_vertical_lift.stock_picking_out_demo_vertical_lift_1').id]" | ||
/> | ||
</function> | ||
|
||
<function model="stock.picking" name="action_assign"> | ||
<value model="stock.picking" eval="[obj().env.ref('stock_vertical_lift.stock_picking_out_demo_vertical_lift_1').id]"/> | ||
<value | ||
model="stock.picking" | ||
eval="[obj().env.ref('stock_vertical_lift.stock_picking_out_demo_vertical_lift_1').id]" | ||
/> | ||
</function> | ||
|
||
<record id="stock_picking_in_demo_vertical_lift_1" model="stock.picking"> | ||
<field name="picking_type_id" ref="stock.picking_type_in"/> | ||
<field name="picking_type_id" ref="stock.picking_type_in" /> | ||
<field name="origin">Incoming shipment from Vertical Lift (demo)</field> | ||
<field name="partner_id" ref="base.res_partner_1"/> | ||
<field name="date" eval="DateTime.today()"/> | ||
<field name="location_id" ref="stock.stock_location_suppliers"/> | ||
<field name="location_dest_id" ref="stock.stock_location_stock"/> | ||
<field name="move_lines" model="stock.move" eval="[(0, 0, { | ||
<field name="partner_id" ref="base.res_partner_1" /> | ||
<field name="date" eval="DateTime.today()" /> | ||
<field name="location_id" ref="stock.stock_location_suppliers" /> | ||
<field name="location_dest_id" ref="stock.stock_location_stock" /> | ||
<field | ||
name="move_lines" | ||
model="stock.move" | ||
eval="[(0, 0, { | ||
'name': obj().env.ref('stock_vertical_lift.product_running_socks').name, | ||
'product_id': ref('stock_vertical_lift.product_running_socks'), | ||
'product_uom': ref('uom.product_uom_unit'), | ||
'product_uom_qty': 15.0, | ||
'picking_type_id': ref('stock.picking_type_in'), | ||
'location_id': ref('stock.stock_location_suppliers'), | ||
'location_dest_id': ref('stock.stock_location_stock'), | ||
})]"/> | ||
})]" | ||
/> | ||
</record> | ||
|
||
<function model="stock.picking" name="action_confirm"> | ||
<value model="stock.picking" eval="[obj().env.ref('stock_vertical_lift.stock_picking_in_demo_vertical_lift_1').id]"/> | ||
<value | ||
model="stock.picking" | ||
eval="[obj().env.ref('stock_vertical_lift.stock_picking_in_demo_vertical_lift_1').id]" | ||
/> | ||
</function> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,18 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo noupdate="1"> | ||
|
||
<record id="stock_vertical_lift_demo_shuttle_1" model="vertical.lift.shuttle"> | ||
<field name="name">Shuttle 1</field> | ||
<field name="location_id" ref="stock_location_vertical_lift_demo_shuttle_1"/> | ||
<field name="location_id" ref="stock_location_vertical_lift_demo_shuttle_1" /> | ||
<field name="mode">pick</field> | ||
</record> | ||
|
||
<record id="stock_vertical_lift_demo_shuttle_2" model="vertical.lift.shuttle"> | ||
<field name="name">Shuttle 2</field> | ||
<field name="location_id" ref="stock_location_vertical_lift_demo_shuttle_2"/> | ||
<field name="location_id" ref="stock_location_vertical_lift_demo_shuttle_2" /> | ||
<field name="mode">pick</field> | ||
</record> | ||
|
||
<record id="stock_vertical_lift_demo_shuttle_3" model="vertical.lift.shuttle"> | ||
<field name="name">Shuttle 3</field> | ||
<field name="location_id" ref="stock_location_vertical_lift_demo_shuttle_3"/> | ||
<field name="location_id" ref="stock_location_vertical_lift_demo_shuttle_3" /> | ||
<field name="mode">pick</field> | ||
</record> | ||
|
||
</odoo> |
Oops, something went wrong.