259 lines
11 KiB
XML
259 lines
11 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<templates id="template" xml:space="preserve">
|
|
|
|
<t t-name="TactileListWidget">
|
|
<div class='oe_tactlist js_width' t-att-style="'width:' + widget.get_width() + 'px'">
|
|
<div class='oe_tactlist_header'>
|
|
<t t-esc='widget.get_title()' />
|
|
</div>
|
|
|
|
<div class='oe_scrolltable js_height' t-att-style="'height:' + widget.get_height() + 'px'">
|
|
<div class='oe_scrolltable_scroll'>
|
|
<div class='oe_scrolltable_header_container js_innerwidth' t-att-style="'width:' + widget.get_innerwidth() + 'px'">
|
|
<table class='oe_scrolltable_header js_innerwidth' >
|
|
<tbody>
|
|
<tr>
|
|
<t t-foreach="widget.get_collumns()" t-as="col">
|
|
<td t-att-class="col.classes">
|
|
<t t-esc="col.header" />
|
|
</td>
|
|
</t>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<table class='oe_scrolltable_body js_innerwidth' t-att-style="'width:' + widget.get_innerwidth() + 'px'">
|
|
<colgroup>
|
|
<t t-foreach="widget.get_collumns()" t-as="col">
|
|
<col t-att-class="col.classes"></col>
|
|
</t>
|
|
</colgroup>
|
|
<tbody>
|
|
<t t-foreach="widget.get_rows()" t-as="row">
|
|
<tr t-att-class="row.classes">
|
|
<t t-foreach="row.cols" t-as="col">
|
|
<td><t t-esc="col" /></td>
|
|
</t>
|
|
</tr>
|
|
</t>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class='oe_vresizer js_vresizer'>
|
|
<span class='oe_hresizer js_hresizer'>●</span>
|
|
</div>
|
|
</div>
|
|
</t>
|
|
|
|
<t t-name='PickingEditorWidget'>
|
|
<div class='oe_pick_list'>
|
|
<h2><strong><div class='oe_pick_list_header'>
|
|
Operations To Process
|
|
</div></strong></h2>
|
|
<table class='table table-striped'>
|
|
|
|
<thead>
|
|
<tr>
|
|
<th>Product</th>
|
|
<th class='text-center'>Qty</th>
|
|
<th class='text-center'>Rem</th>
|
|
<th class='text-center'>UoM</th>
|
|
<th>Location</th>
|
|
<th>Scan</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<t t-foreach="widget.get_rows()" t-as="row">
|
|
<tr t-att-class="row.classes">
|
|
<td> <t t-esc="row.cols.product" /> </td>
|
|
<td class='text-center'> <t t-esc="row.cols.qty" /> </td>
|
|
<td class='text-center'> <t t-esc="row.cols.rem" /> </td>
|
|
<td class='text-center'> <t t-esc="row.cols.uom" /> </td>
|
|
<td> <t t-esc="row.cols.loc" /> </td>
|
|
<td><span class='btn btn-default js_pack_scan' t-att-op-id='row.cols.id'>➔</span></td>
|
|
</tr>
|
|
</t>
|
|
</tbody>
|
|
|
|
</table>
|
|
</div>
|
|
</t>
|
|
|
|
<t t-name='PackageEditorWidget'>
|
|
<div class='oe_pick_list'>
|
|
<h2><strong><div class='oe_pick_list_header'> <t t-esc="widget.get_header()" /> </div></strong></h2>
|
|
<table class='table table-striped'>
|
|
|
|
<thead>
|
|
<tr>
|
|
<th>Product</th>
|
|
<th class='text-center'>Qty</th>
|
|
<th class='text-center'>UoM</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<t t-foreach="widget.get_rows()" t-as="row">
|
|
<tr t-att-class="row.classes" t-att-op-id="row.att_op_id">
|
|
<td> <t t-esc="row.cols.product" /> </td>
|
|
<td class='qty text-center'> <t t-esc="row.cols.qty" /> </td>
|
|
<td class='text-center'> <t t-esc="row.cols.uom" /> </td>
|
|
</tr>
|
|
</t>
|
|
</tbody>
|
|
|
|
</table>
|
|
</div>
|
|
</t>
|
|
|
|
<t t-name='PackageSelectorWidget'>
|
|
<div class='oe_pick_list'>
|
|
<h2><strong><div class='oe_pick_list_header'><t t-esc="widget.get_header()" /></div></strong></h2>
|
|
<table class='table table-striped'>
|
|
|
|
<thead>
|
|
<tr>
|
|
<th>Package</th> <th></th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<t t-foreach="widget.get_rows()" t-as="row">
|
|
<tr t-att-class="'js_pack_row' + row.classes" t-att-pack-id="row.id">
|
|
<td class='js_pack_select col-md-8'> <t t-esc="row.cols.pack" /> </td>
|
|
<td class='text-right col-md-4'>
|
|
<div class='btn btn-default js_pack_print'>Print</div>
|
|
<div class='btn btn-default js_pack_plus'>Copy</div>
|
|
<div class='btn btn-default js_pack_minus'>Delete</div>
|
|
|
|
</td>
|
|
</tr>
|
|
</t>
|
|
</tbody>
|
|
|
|
</table>
|
|
</div>
|
|
</t>
|
|
<t t-name="PickingSearchResults">
|
|
<h3><span class="label label-info">Search Results</span></h3>
|
|
<t t-if="results.length === 0">
|
|
<div class='alert alert-warning'>
|
|
No picking found.
|
|
</div>
|
|
</t>
|
|
<t t-if="results.length > 0">
|
|
<table class="table table-bordered table-striped">
|
|
<t t-foreach="results" t-as="picking">
|
|
<tr>
|
|
<td>
|
|
<div class="oe_picking" t-att-data-id="picking.id">
|
|
<span class='oe_picking_name'><t t-esc="picking.name" /></span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</t>
|
|
</table>
|
|
</t>
|
|
</t>
|
|
|
|
<t t-name="PickingMenuWidget">
|
|
<div class="row">
|
|
<div class="navbar navbar-inverse navbar-static-top" role="navigation">
|
|
<div class="container">
|
|
<div class="navbar-header navbar-form navbar-right">
|
|
<div class='form-group'>
|
|
<input type='text' class="oe_searchbox form-control" placeholder='Search'/>
|
|
<button type="button" class="btn btn-danger js_pick_quit">Quit</button>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-8 col-md-offset-2">
|
|
<div class="jumbotron">
|
|
<div class="container">
|
|
<h3><span class="oe_title_label label label-info">Pickings</span></h3>
|
|
<div class='oe_picking_not_found alert alert-warning hidden'>
|
|
Scanned picking could not be found
|
|
</div>
|
|
|
|
<div class='oe_picking_search_results'>
|
|
</div>
|
|
|
|
<div class='oe_picking_categories'>
|
|
<p>
|
|
Select the type of picking you want to process.
|
|
</p>
|
|
<table class="table table-striped">
|
|
|
|
<t t-foreach="widget.picking_types" t-as="type">
|
|
<tr>
|
|
<td>
|
|
<div t-att-class="'oe_picking ' + (widget.pickings_by_type[type.id].length === 0 ? 'oe_empty':'js_pick_last') "
|
|
t-att-data-id="type.id">
|
|
|
|
<span><t t-esc="type.complete_name"/></span>
|
|
<t t-if="widget.pickings_by_type[type.id].length > 0">
|
|
<span class='badge pull-right'><t t-esc="widget.pickings_by_type[type.id].length" /> picking(s) </span>
|
|
</t>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</t>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</t>
|
|
|
|
|
|
<t t-name="PickingMainWidget">
|
|
<div class='row'>
|
|
<div class="navbar navbar-inverse navbar-static-top" role="navigation">
|
|
<div class="container">
|
|
<div class="navbar-header">
|
|
<button type="button" class="btn btn-default navbar-btn js_pick_prev">< Previous</button>
|
|
<button type="button" class="btn btn-default navbar-btn js_pick_next">Next ></button>
|
|
|
|
</div>
|
|
<div class="navbar-right">
|
|
<button type="button" class="btn btn-primary navbar-btn js_pick_menu">Menu</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-8 col-md-offset-2">
|
|
<div class="jumbotron">
|
|
<div class="container">
|
|
<div>
|
|
<div class="text-right">
|
|
<button type="button" class='btn btn-danger js_pick_done'> Done </button>
|
|
<button type="button" class='btn btn-info js_pick_print'> Print </button>
|
|
</div>
|
|
<div>
|
|
<h2><span class="oe_pick_app_header label label-info"><t t-esc='widget.get_header()' /></span></h2>
|
|
</div>
|
|
<div class="text-left">
|
|
<button type="button" class='btn btn-default js_pick_pack'> Put in Pack </button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class='oe_placeholder_picking_editor'></div>
|
|
<div class='oe_placeholder_package_editor'></div>
|
|
<div class='oe_placeholder_package_selector'></div>
|
|
<div class='oe_placeholder_menu'></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</t>
|
|
|
|
</templates>
|